HF RL Explorer

Repair a verified behavior in openhwgroup/cvw.

Repair a verified behavior in openhwgroup/cvw.: a task in OriGent-SFT-Data (Harbor dataset). On RV64, the machine and supervisor trap-vector CSRs, mtvec and stvec, mishandle WARL normalization for vectored trap entries. Each CSR has BASE in bits 63:2 and MODE in bits 1:0 . A write must preserve…

The task

On RV64, the machine and supervisor trap-vector CSRs, mtvec and stvec, mishandle WARL normalization for vectored trap entries. Each CSR has BASE in bits [63:2] and MODE in bits [1:0]. A write must preserve MODE bit 0, clear MODE bit 1, and select BASE masking using MODE bit 0. When MODE bit 0 is 0, preserve…

Part of henryen/OriGent-SFT-Data.