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 CSR unit reads a CSR while the instruction is in EX and performs a resulting write, if any, in WB. A valid EX-stage CSR instruction is indicated by id ex pipe i.instr valid and id ex pipe…

The task

The CV32E40X CSR unit reads a CSR while the instruction is in EX and performs a resulting write, if any, in WB. A valid EX-stage CSR instruction is indicated by id_ex_pipe_i.instr_valid and id_ex_pipe_i.csr_en; its operation is id_ex_pipe_i.csr_op and its address is id_ex_pipe_i.alu_operand_b[11:0].

Part of henryen/OriGent-SFT-Data.