Visible to Intel only — GUID: hla1675067311739
Ixiasoft
Visible to Intel only — GUID: hla1675067311739
Ixiasoft
4.3.10.5. Hardware/Software Interface
The Nios® V processor debug module is based on the RISC-V Debug specification. It supports the same Debug Module registers documented in the specification. Each register has a fixed address as specified in the RISC-V Debug Support specification. Debugger can determine the register implementation status by writing or reading from the Debug Module registers. Unimplemented registers return 0 when read.
Debugger can check the status of the system by reading Debug Module Status (dmstatus) register. Debug Module Status register is read-only and provides status of the Debug Module and the selected harts.
You can access a specific hart by writing to the hartsel field in dmcontrol. Other fields in dmcontrol specify the action a debugger can take.
Halt Summary 0 (haltsum0) register reflects the status of a hart (halted/not halted). The LSB of this register can reflect whether hart is halted or not. Other bits is always 0. This is a read-only register of the debugger.