128
5. Select
Run
>
Resume
to resume execution.
When debugging a project in the Nios II IDE, you can pause, stop or single step the program, set
breakpoints, examine variables, and perform many other common debugging tasks.
Note: To return to the Nios II C/C++ project perspective from the debug perspective, click the two
arrows >> in the top right corner of the GUI.
7
7
.
.
9
9
C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
e
e
S
S
y
y
s
s
t
t
e
e
m
m
L
L
i
i
b
b
r
r
a
a
r
r
y
y
In this section you will learn how to configure some advanced options in the Nios II IDE. By
performing the following steps, you can change all the available settings:
1. In the Nios II IDE, right-click
hello_world_0
and select
System Library Properties
. The
Properties
for hello_world_0_syslib
dialog box opens.
2. Click
System Library
in the tree on the left side. The
System Library
page contains settings
related to how the program interacts with the underlying hardware. The settings have names that
correspond to the targeted NIOS II hardware.
3. In the
Linker Script
box, observe which memory has been assigned for
Program
memory(.text)
,
Read-only data memory(.rodata)
,
Read/write data memory(.rwdata)
,
Heap
memory, and Stack memory
, see
Figure 7-61
. These settings determine which memory is used to
store the compiled executable program. You can also specify which interface you want to use for
stdio , stdin, and stderr. You can also add and configure an RTOS for your application and configure
build options to support C++, reduced device drivers, etc.
4. Select
onchip_memory2
for all the memory options in the
Linker Script
box, as shown in
Figure 7-61.
Summary of Contents for De0-Nano
Page 1: ...1 ...
Page 4: ...4 9 3 Revision History 155 9 4 Copyright Statement 155 ...
Page 44: ...44 Figure 6 5 Browse to find the location Figure 6 6 There is no need to test the driver ...
Page 90: ...90 Figure 7 14 Add NIOS II Processor ...
Page 93: ...93 Figure 7 17 Rename the CPU 1 Figure 7 18 Rename the CPU 2 ...
Page 98: ...98 Figure 7 23 Add On Chip Memory ...
Page 100: ...100 Figure 7 25 Update Total memory size ...
Page 102: ...102 Figure 7 28 Update CPU settings ...
Page 104: ...104 Figure 7 30 Add PIO ...
Page 106: ...106 Figure 7 32 PIO 21 Rename pio_0 to pio_led as shown in Figure 7 33 Figure 7 33 Rename PIO ...
Page 113: ...113 Figure 7 43 Input verilog Text Figure 7 44 Open DE0_NANO_SOPC v ...
Page 146: ...146 Figure 8 16 Display Progress and Result Information for the SDRAM Demonstration ...
Page 150: ...150 Figure 9 3 Select Devices Page ...
Page 151: ...151 Figure 9 4 Convert Programming Files Page ...