Debug Mode
ConceptDebug Mode is a special execution state entered by a RISC-V core (such as Ibex) in response to external debug requests. Because instruction-set simulator (ISS) golden models cannot model traps caused by external stimulus, verifying Debug Mode entry and associated CSR updates in the Ibex end-to-end RTL/ISS co-simulation flow relies on a runtime handshaking mechanism provided by the RISCV-DV instruction generator. The handshake lets the running core report status information to the testbench during execution, with the Ibex testbench using the signature address `0x8ffffffc`. Trace comparison is adapted so that only the final register values at end of test are compared, since the ISS trace log does not contain execution information for code that runs in the debug ROM or interrupt handlers.
WIKI
Overview
In the Ibex core verification flow, Debug Mode is a privileged execution state entered by the core when it receives an external debug request. Verifying correct entry into Debug Mode, and verifying that the appropriate Control and Status Registers (CSRs) are updated, is a distinct concern from normal instruction-level correctness checking.
The RISC-V Debug Specification exists precisely because hardware debug needs a common architecture across diverse implementations, and Debug Mode is the architectural vehicle by which a RISC-V core transitions into that debug-specific execution context.
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →