Skip to content

fp_delay_until is ignored when the uppermost bit is set #93

@magnmaeh

Description

@magnmaeh

Minimal reproducing example:

#include <flexpret/flexpret.h>
int main(void) {
    fp_delay_until(0xFFFFFFFF);
    return 0;
}

Running the program should keep the emulator going "forever", but it exits almost immediately because the delay until seems to get ignored. This does not happen for fp_delay_until(0x7FFFFFFFF);. (Where the uppoermost bit is not set.)

From waveforms, it seems that the sleep_du signal does not get set from the delay until instruction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions