Digital Signal Processing Reference
In-Depth Information
Open the Nios II IDE software. For the default installation, the software icon
can be found under
Start
All Programs
Altera
Nios II EDS 7.1
Nios
II 7.1 IDE
.
You should be prompted to
Select a Workspace
. If the dialog box in Figure
16.1 does not appear, then select
File
Switch Workspace…
. The workspace
is a cache for information about all projects associated with a given Nios II
processor design. Enter the full pathname of the Quartus II project directory
you created above (the directory to which
DVD
\booksoft_fe\de2\chap16 was
copied) followed by the subdirectory
\software
as shown in Figure 16.1. Click
OK
to select the default location and continue.
Figure 16.1
Setting the Nios II IDE workspace to the Nios II reference design software directory.
To create a new project, select
File
New
Project…
. The
New Project
wizard will begin. On the first dialog box, select
Nios II C/C++ Application
and click
Next
to continue.
In the next dialog box, fill in the requested information as shown in Figure
16.2. The name of the project is
rpds_software
, the
SOPC Builder System
should point to the
nios32.ptf
file in the project directory you copied from the
DVD, and the
Project Template
should be set to
Blank Project
. If the
workspace was correctly set to your project directory as detailed above, then
the default location will be correct and
Specify Location
should be unchecked.
However, if the workspace is set to some other directory, then select
Specify
Location
and enter
c:\
your_project_directory
\software
in the
Location
field.
Click
Next
to continue.
In the final dialog box, select the option
Create a new system library named:
rpds_software_syslib
. Click
Finish
to create and open the project. When the
New Project
dialog box disappears, click on the
Workbench
icon on the
Welcome
page in the main IDE window if the main project view does not
appear automatically.