Visible to Intel only — GUID: qtz1738427134923
Ixiasoft
Visible to Intel only — GUID: qtz1738427134923
Ixiasoft
3.3.8. RISC-V based Debug Module
The Nios® V/m processor architecture supports a RISC-V based debug module that provides on-chip emulation features to control the processor remotely from a host PC. PC-based software debugging tools communicate with the debug module and provide facilities, such as the following features:
- Reset Nios® V processor core and timer module
- Download programs to memory
- Start and stop execution
- Set software breakpoints and watchpoints
- Analyze registers and memory
You can interact with the Debug Host (e.g., laptop), which is running a debugger (e.g., gdb). The debugger communicates with a Debug Translator (e.g., OpenOCD) to communicate with Debug Transport Hardware (e.g., Intel FPGA Download Cable). The Debug Transport Hardware connects the Debug Host to the Nios V processor’s Debug Transport Module (DTM). The DTM provides access to the Debug Module (DM) using the Debug Module Interface (DMI).
Every Nios® V processor has a single hart, which is controlled by a single DM. DMs provide reset/halt control of the Nios® V processor. Abstract commands provide access to GPRs. Additional registers are accessible through abstract commands or the Program Buffer. In addition to register access, the Program Buffer also allows the debugger to execute arbitrary instructions and access memory.