Chapter 1: Nios II Hardware Development
1–25
Creating the Design Example
May 2011
Altera Corporation
Nios II Hardware Development Tutorial
■
Compile the Quartus II project.
■
Verify timing.
f
For further information about using the Quartus II software, refer to
, and the
Quartus II Software Interactive
Tutorial
section of the Altera website.
Instantiate the Qsys System Module in the Quartus II Project
Qsys outputs a design entity called the system module. The tutorial design example
uses the block diagram method of design entry, so you instantiate a system module
symbol
first_nios2_system
into the
.bdf
.
1
How you instantiate the system module depends on the design entry method of the
overall Quartus II project. For example, if you were using Verilog HDL for design
entry, you would instantiate the Verilog module
first_nios2_system
defined in the file
first_nios2_system.v
.
To instantiate the system module in the
.bdf
, perform the following steps:
1. Double-click in the empty space to the right of the input and output wires. The
Symbol
dialog box appears.
2. Under
Libraries
, expand
Project
.
3. Click
first_nios2_system
. The
Symbol
dialog box displays the first_nios2_system
symbol.
4. Click
OK
. You return to the
.bdf
schematic. The first_nios2_system symbol tracks
with your mouse pointer.
5. Position the symbol so the pins on the symbol align with the wires on the
schematic.
6. Click to anchor the symbol in place.
7. If your target board does not have LEDs that the Nios II system can drive, you
must delete the
LEDG[7..0]
pins. To delete the pins, perform the following steps:
a. Click the output symbol
LEDG[7..0]
to select it.
b. On your keyboard, press Delete.
8. To save the completed
.bdf
, click
Save
on the File menu.