Repair a verified behavior in openhwgroup/cv32e40p.
Repair a verified behavior in openhwgroup/cv32e40p.: a task in OriGent-SFT-Data (Harbor dataset). The CSR interrupt-pending logic incorrectly combines pending interrupt requests with their per-source enable bits. In particular, when the timer interrupt request line is asserted while mie.MTIE is 0…
The task
The CSR interrupt-pending logic incorrectly combines pending interrupt requests with their per-source enable bits. In particular, when the timer interrupt request line is asserted while mie.MTIE is 0, a read of mip returns 0 for mip.MTIP instead of reporting the timer interrupt as pending. The pending bits in mip…
Part of henryen/OriGent-SFT-Data.