Repair a verified behavior in openhwgroup/cv32e40s.
Repair a verified behavior in openhwgroup/cv32e40s.: a task in OriGent-SFT-Data (Harbor dataset). When the core is configured with CLIC interrupt support, an MRET executed while mcause.minhv (bit 30) is 1 does not perform a normal return to mepc. Instead it restarts the CLIC hardware-vectoring…
The task
When the core is configured with CLIC interrupt support, an MRET executed while mcause.minhv (bit 30) is 1 does not perform a normal return to mepc. Instead it restarts the CLIC hardware-vectoring sequence: the function pointer is re-fetched from the address held in mepc, and execution jumps to that pointer value…
Part of henryen/OriGent-SFT-Data.