123
●
alt_sys_init.c:
an initialization file that initializes the devices in the system.
●
Hello_world_0.elf:
an executable and linked format file for the application located in
hello_world_0 folder under the Debug directory.
7
7
.
.
5
5
B
B
u
u
i
i
l
l
d
d
a
a
n
n
d
d
R
R
u
u
n
n
t
t
h
h
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
In this section you will build and run the program.
To build the program, right-click the
hello_world_0
project in the Nios II C/C++ Projects tab and
select
Build Project
. The
Build Project
dialog box appears and the IDE begins compiling the
project. When compilation completes, a message ‘Build complete’ will appear in the Console tab, as
shown in
Figure 7-57
.
Figure 7-57 Nios II IDE hello_world_0 Build Completed
Note: If there appears in the console tab, an error, “
region onchip_memory2 is
full(hello_world_0.elf section .text). Region needs to be XXX bytes larger.
” , please right-click
hello_world_0
, select
System Library Properties
menu, then pop a window. In the
System Library
Properties
window, select
Small C Library
, then click
OK
to close the window. Rebuild the project.
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 ...