User guide

Nios II IDE Help System
New Nios II C/C++ Application (New Project Wizard)
You open this wizard page by expanding Altera Nios II in the New Project wizard,
clicking Nios II C/C++ Application, and then clicking Next.
The Nios II C/C++ Application pages of the New Project wizard allow you to create a new
Nios II C/C++ application project and an associated Nios II system library project.
The first page allows you to specify settings for the Nios II C/C++ application project. The
following controls are available:
Name—Specifies a valid project name for the new project.
Specify Location—When off, the Nios II IDE creates the new project directory in the
default location specified in the New Projects preference page. The name of the
project directory is the project name. Turning on Specify Location allows you to
specify an alternative project location in the Location box.
Note: Project directories cannot be nested. You cannot create a new project
inside the directory of an existing project.
Location—Specifies the base directory where the new project contents will reside.
Select Target Hardware—These options specify the target hardware.
o SOPC Builder System—Specifies the target SOPC Builder system. The SOPC
Builder system file (.ptf) defines the processors and peripherals included in
the SOPC Builder system. Select from the drop-down list of recently used
SOPC Builder systems, or click Browse... to find a specific .ptf file.
o CPU—Specifies the target processor in the SOPC Builder system. If there is
only one processor in the system, the Nios II IDE selects it automatically. If
there are multiple processors, you must select one from the list.
Select Project Template—The Nios II Embedded Design Suite (EDS) offers several
ready-made example designs. You can use these as reference designs, or as the basis
for your own projects. The Nios II IDE copies the design files for the selected template
into your project. Each template provides a readme.txt file that describes the
purpose and usage of the design files. Using Blank Project avoids copying any files
into the new project.
The second page allows you to specify settings for the associated Nios II BSP project. The
following controls are available:
Create a new system library named: <application project name>_syslib
When selected, the Nios II IDE creates a new HAL system library project to accompany
your Nios II C/C++ application project. This is the default action, which is usually
desirable for single-threaded Nios II programs.
Select or create a system library—When selected, you can specify an existing
system library in the Available System Library Projects list, or create a new
system library via the New System Library Project... button. Multiple projects can
use a single system library.
o New System Library Project...—Launches a wizard to create a new system
library.
Related Nios II IDE Help Topics
100