
3 Use Instructions for RDS
3.5 On-chip Debug
IPUG546-1.1E
13(17)
Figure 3-9 Debug Configurations
In the "Startup" tab, check "Reset and Hold" option to stop the program
before executing the first instruction. Enter load in the parameter box below
this option to download the compilation results of the embedded project
into the ILM before on-chip debug.
In "Runtime Options", check "Set breakpoint at". Enter a label, such as
main in the input box. It can set a breakpoint at the beginning of the main
function. Check "Resume", and it will start the continuous operation directly
after entering on-chip debug.
When entering on-chip debug, it automatically goes to the debug view
and an area will be displayed, as shown in Figure 3-10. This area is the
operation area for on-chip debug. Some shortcut buttons for debug are
shown in the red box. From left to right, they mean restart DEBUG,
continue to run, suspend, end, disconnect, link to one process, step into,
step over, step return, and instruction stepping mode; in this mode, each
time it runs a risc - v assembly instruction, otherwise each time it runs a C
statement.
Note!
Содержание RISCV
Страница 1: ...Gowin FPGA Development Board RISCV Programming Quick Start Guide IPUG546 1 1E 11 11 2022 ...
Страница 24: ......