opentitan
opentitan copied to clipboard
[hw,dma,rtl] Set interrupt only when transition to done / error
Previously, clearing the DONE or ERROR interrupt before clearing STATUS.done would raise the same interrupt a second time, which could bring FW out of sync.
With this change, the DONE and ERROR interrupt are only sent once when transitioning into the DONE or ERROR state.
/cc @neeraj-rv @sameo
Thats true indeed, lets AND the .d signal to it
This PR is not necessary anymore because we switched to status-type interrupts.