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.
Minimal reproducing example:
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_dusignal does not get set from the delay until instruction.