Edit And Re-Run The Program; Hello_World_0 Program Output - Terasic De0-Nano User Manual

Table of Contents

Advertisement

After a successful compilation, right-click the hello_world_0 project, select Run As > NIOS II
Hardware. The IDE will download the program to the target FPGA development board and begin
execution. When the target hardware begins executing the program, the message 'Hello from Nios
II!' will appear in the NIOS II IDE Console tab, as shown in
Figure 7-58
for an example.
Figure 7-58 Hello_World_0 Program Output
Now you have created, compiled, and run your first software program based on NIOS II. And you
can perform additional operations such as configuring the system properties, editing and re-building
the application, and debugging the source code.
7
.
6
E
d
i
t
a
n
d
R
e
-
R
u
n
t
h
e
P
r
o
g
r
a
m
7
.
6
E
d
i
t
a
n
d
R
e
-
R
u
n
t
h
e
P
r
o
g
r
a
m
You can modify the hello_world.c program file in the IDE, build it, and re-run the program to
observe your changes, as it executes on the target board. In this section you will add code that will
make the green LEDs, on the DE0-Nano board, blink.
Perform the following steps to modify and re-run the program:
1. In the hello_world.c file, add the text shown in blue in the example below:
#include <stdio.h>
124

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the De0-Nano and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF