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.
Содержание De0-Nano
Страница 1: ...1 ...
Страница 4: ...4 9 3 Revision History 155 9 4 Copyright Statement 155 ...
Страница 44: ...44 Figure 6 5 Browse to find the location Figure 6 6 There is no need to test the driver ...
Страница 90: ...90 Figure 7 14 Add NIOS II Processor ...
Страница 91: ...91 Figure 7 15 Nios II Processor 9 Click Finish to return to main window as shown in Figure 7 16 ...
Страница 93: ...93 Figure 7 17 Rename the CPU 1 Figure 7 18 Rename the CPU 2 ...
Страница 98: ...98 Figure 7 23 Add On Chip Memory ...
Страница 100: ...100 Figure 7 25 Update Total memory size ...
Страница 102: ...102 Figure 7 28 Update CPU settings ...
Страница 104: ...104 Figure 7 30 Add PIO ...
Страница 106: ...106 Figure 7 32 PIO 21 Rename pio_0 to pio_led as shown in Figure 7 33 Figure 7 33 Rename PIO ...
Страница 113: ...113 Figure 7 43 Input verilog Text Figure 7 44 Open DE0_NANO_SOPC v ...
Страница 146: ...146 Figure 8 16 Display Progress and Result Information for the SDRAM Demonstration ...
Страница 150: ...150 Figure 9 3 Select Devices Page ...
Страница 151: ...151 Figure 9 4 Convert Programming Files Page ...