-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi,
There's a problem when I try to debug with nax.
If an interrupt occurs while cpu is halted, it should be holded.
And if there's an EXECUTE request from Debug Module, the pipeline will run for one step, but it will trigger the isFireing signal of decoded stage of Frontend pipeline. And the interrupt will be handled by mistake.
In risc-v debug spec, all the interrupt should be masked.
The result is the MIE register will be pulled down, if there's no program to write it for this problem. And the interrupt will not be handled forever.
I think it's a bug that should be fixed. I'll make a PR if you think it's definitely a problem.
Thank for you help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

