HF RL Explorer

Repair a verified behavior in sysprog21/rv32emu.

Repair a verified behavior in sysprog21/rv32emu.: a task in OriGent-SFT-Data (Harbor dataset). When an RV32 guest executes a 32-bit EBREAK instruction with mtvec programmed for direct trap-vector mode, the emulator starts executing the machine trap handler at an address four bytes after the…

The task

When an RV32 guest executes a 32-bit EBREAK instruction with mtvec programmed for direct trap-vector mode, the emulator starts executing the machine trap handler at an address four bytes after the word-aligned mtvec base. The first instruction of the handler is therefore skipped.

Part of henryen/OriGent-SFT-Data.