HF RL Explorer

Repair a verified behavior in openhwgroup/cv32e40x.

Repair a verified behavior in openhwgroup/cv32e40x.: a task in OriGent-SFT-Data (Harbor dataset). The CV32E40X machine trap cause handling truncates exception codes to five bits. The architectural mcause CSR is located at address 0x342: bit 31 is the interrupt flag, bits 5:0 are the exception…

The task

The CV32E40X machine trap cause handling truncates exception codes to five bits. The architectural `mcause` CSR is located at address 0x342: bit 31 is the interrupt flag, bits [5:0] are the exception code, and bits [30:6] must read as zero. The current `Mcause_t.exception_code` field and the trap-cause update path…

Part of henryen/OriGent-SFT-Data.