Submitted by Ding Xiaoliang dingsm@gmail.com
The interrupt mechanism seems work well in edge triggered interrupt environment, for level triggered interrupts, it should keep triggering interrupt until the interrupt source has been cleared.
I don't think this is quite correct. The interrupt I believe only needs to be raised once (report_interrupt complains about repeatedly raising the same interrupt). However as you propose there should be a separate raising and clearing function.<br> <br> This will be fixed in the next release
or1ksim_interrupt_set and or1ksim_interrupt_clear added to the interface in Or1ksim 0.3.0rc3.