HF RL Explorer

Repair a verified behavior in openhwgroup/cv32e40s.

Repair a verified behavior in openhwgroup/cv32e40s.: a task in OriGent-SFT-Data (Harbor dataset). The PMP CSR state does not use the architectural per-region PMPCFG byte. In cv32e40s cs registers configured with PMP NUM REGIONS=4, a machine-mode write of 0xffffffff to PMPCFG0 (CSR address 0x3a0)…

The task

The PMP CSR state does not use the architectural per-region PMPCFG byte. In cv32e40s_cs_registers configured with PMP_NUM_REGIONS=4, a machine-mode write of 0xffffffff to PMPCFG0 (CSR address 0x3a0) produces csr_pmp_o.cfg[0]=8'h3f: the stored representation is only six bits, so the lock bit does not occupy bit 7 and…

Part of henryen/OriGent-SFT-Data.