Repair a verified behavior in openhwgroup/cv32e40s.
Repair a verified behavior in openhwgroup/cv32e40s.: a task in OriGent-SFT-Data (Harbor dataset). The CLIC scratch-swap CSRs mscratchcsw and mscratchcswl are implemented as plain storage registers instead of performing the conditional swap operation on mscratch required by the RISC-V CLIC…
The task
The CLIC scratch-swap CSRs mscratchcsw and mscratchcswl are implemented as plain storage registers instead of performing the conditional swap operation on mscratch required by the RISC-V CLIC specification (sections 13.2, Scratch Swap for Multiple Privilege Modes, and 14.1, Scratch Swap for Interrupt Levels).
Part of henryen/OriGent-SFT-Data.