ibex icon indicating copy to clipboard operation
ibex copied to clipboard

cpu can't wake up after executing wfi to go into sleep mode

Open zjuwlh opened this issue 6 years ago • 4 comments

Hi ,

When running riscv_debug_instr_test, fo r some seed(SEED=16926 ITERATIONS=25), cpu will execute wfi and go into sleep during non-debug mode, in this case, if the return value of decode_instr is always 0, debug_req isn't asserted in DV test bench, the cpu will always is in sleep mode and can't wake up. does anyone also find this issue? and how to fix in test bench

zjuwlh avatar Nov 12 '20 07:11 zjuwlh

Probably one for @udinator

tomeroberts avatar Nov 12 '20 15:11 tomeroberts

@udinator: Ping!

rswarbrick avatar Apr 05 '21 14:04 rswarbrick

I think @GregAC has fixed this in one of his previous bug-fix PRs (#1266 I think?) - could you confirm?

udinator avatar Apr 09 '21 17:04 udinator

Yes that should have done it, so I'll close this @zjuwlh do let us know if you see a similar failure again with the fix. I haven't been seeing those failures myself in regression runs I've been doing.

GregAC avatar Apr 12 '21 08:04 GregAC