Chapter 1: Nios II Hardware Development
1–31
Creating the Design Example
May 2011
Altera Corporation
Nios II Hardware Development Tutorial
11. Click
Add
to include
hw_dev_tutorial.sdc
in the project.
12. Turn on
Enable multicorner timing analysis during compilation
.
13. Click
OK
.
To compile the Quartus II project, perform the following steps:
1. On the Processing menu, click
Start Compilation
. The Tasks window and
percentage and time counters in the lower-right corner display progress. The
compilation process can take several minutes. When compilation completes, a
dialog box displays the message "Full Compilation was successful."
2. Click
OK
. The Quartus II software displays the
Compilation Report
tab.
3. Expand the
TimeQuest Timing Analyzer
category in the compilation report.
4. Click
Multicorner Timing Analysis Summary
.
5. Verify that the
Worst-case Slack
values are positive numbers for
Setup
,
Hold
,
Recovery
, and
Removal
. If any of these values are negative, the design might not
operate properly in hardware. To meet timing, adjust Quartus II assignments to
optimize fitting, or reduce the oscillator frequency driving the FPGA.
f
For more information about meeting timing requirements in the Quartus II software,
refer to the
Volume 1: Design and Synthesis
of the
Quartus II Handbook
.
Congratulations! You have finished integrating the Nios II system into the Quartus II
project. You are ready to download the
.sof
to the target board.
Download the Hardware Design to the Target FPGA
In this section you download the
.sof
to the target board. Perform the following steps:
1. Connect the board to the host computer with the download cable, and apply
power to the board.
2. On the Tools menu in the Quartus II software, click
Programmer
. The Quartus II
Programmer appears and automatically displays the appropriate configuration
file (
nios2_quartus2_project.sof
3. Click
Hardware Setup
in the upper left corner of the Quartus II Programmer to
verify your download cable settings. The
Hardware Setup
dialog box appears.
4. Select the appropriate download cable in the
Currently selected hardware
list. If
the appropriate download cable does not appear in the list, you must first install
drivers for the cable.
Figure 1–19. Quartus II Programmer