Specifications
Altera Corporation 1–39
October 2007
Nios II Hardware Development Tutorial Creating the Example Design
Run the Program on Target Hardware
In this section you download the program to target hardware and execute
it.
1 If you do not have a target board, skip ahead to “Run the
Program on the ISS” on page 1–40. To proceed, you must have
completed the steps in “Download Hardware Design to Target
FPGA” on page 1–33.
To download the software executable to the target board, perform the
following steps:
1. Right-click the count_binary_0 project, point to Run As, and then
click Nios II Hardware. The IDE downloads the program to the
FPGA on the target board and starts execution.
1 If you get a dialog box warning that the IDE needs to finish
indexing the altera.components project before you can
proceed, wait a few seconds for it to finish. The source code
is indexed for debug purposes.
When the target hardware starts executing the program, the Console
view displays character I/O output (see Figure 1–21). If you
connected LEDs to the Nios II system in “Integrate the SOPC Builder
System into the Quartus II Project” on page 1–28, then the LEDs blink
in a binary counting pattern.
2. Click Terminate (the red square) on the toolbar at the upper-right
hand corner of the Console view to terminate the run session. When
you click Terminate, the IDE disconnects from the target hardware
and leaves the Nios II processor running.
Figure 1–21. Console View Displaying Nios II Hardware Output