Control and Status Register
ConceptA Control and Status Register (CSR) is a special-purpose register in the RISC-V Instruction Set Architecture that controls and holds architectural processor state. CSRs are modeled by Instruction Set Simulators and are widely used as a coverage signal in coverage-guided hardware fuzzing, where transitions in CSRs indicate new processor states. The CSR-transition coverage metric was introduced by ProcessorFuzz and adopted in other hardware fuzzers including DIFUZZRTL, Cascade, and the FPGA-accelerated Lyra framework. Ibex provides a dedicated formal-friendly CSR register-model verification testbench that uses a C++ reference model linked via DPI.
WIKI
Overview
A Control and Status Register (CSR) is a register that serves a special purpose in the RISC-V Instruction Set Architecture (ISA). CSRs are responsible for controlling and holding the state of the processor. A documented example is mtvec, the Machine Trap-Vector Base-Address CSR, which stores the address of the trap or interrupt handler. CSRs are part of an Instruction Set Simulator (ISS) in the sense that an ISS must model the architectural state defined by the CSRs of the target ISA.
Example CSRs
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →