AN 717: Nios II Gen2 Hardware Development Tutorial

ID 683615
Date 9/22/2014
Public
Document Table of Contents

1.5.6.1. 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.

Note: 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:
    1. Click the output symbol LEDG[7..0] to select it.
    2. On your keyboard, press Delete.
  8. To save the completed .bdf, click Save on the File menu.