Specifications
1–40 Altera Corporation
October 2007
Creating the Example Design Nios II Hardware Development Tutorial
You can make edits to the count_binary.c program in the IDE and repeat
these two steps to witness your changes executing on the target board. If
you rerun the program, buffered characters from the previous run session
might display in the Console view before the program begins executing.
f For information on running and debugging programs on target
hardware, see the Software Development Tutorial available from the Nios II
IDE help system.
Run the Program on the ISS
In this section you run the count_binary_0 program on the Nios II ISS.
Perform the following steps:
1. Right-click the count_binary_0 project, point to Run As, and then
click Nios II Instruction Set Simulator.
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 ISS starts executing the program, the Console view
displays character I/O output from the program (see Figure 1–22).
The count output appears very slowly because there are delay loops
in the code.
2. Click the Terminate button (the red square) on the toolbar at the
upper-right hand corner of the Console view to terminate the ISS
session.
Figure 1–22. Console View Displaying Instruction Set Simulator Output
You can make edits to the count_binary.c program in the IDE and repeat
these two steps to witness your changes executing on the ISS.