Specifications

Determining the Cause of Interrupt and Instruction-Related Exceptions
For more information, refer to the "Determining the Cause of Interrupt and Instruction-Related
Exceptions" chapter of the Nios II Classic Processor Reference Handbook.
link/iga1409256728501/iga1409336670098
Programming Model
For more information, refer to the "Programming Model" chapter of the Nios II Classic Processor
Reference Handbook.
llink/iga1409256728501/iga1409267699502
Creating a Simple BSP
You create a BSP with default settings using the Nios II Board Support Package wizard. To start the
wizard, on the File menu, point to New and click Nios II Board Support Package. The Nios II Board
Support Package wizard enables you to specify the following BSP parameters:
The name
The underlying hardware design
The location
The operating system and version
You can select the operating system only at the time you create the BSP. To change operating systems, you
must create a new BSP by using the Additional arguments to the nios2-bsp script.
If you intend to run the project in the Nios II ModelSim
simulation environment, use the Additional
arguments parameter to specify the location of the testbench simulation package descriptor file (.spd).
The .spd file is located in the Quartus II project directory. Specify the path as follows: --set
QUARTUS_PROJECT_DIR=<relative path>.
Note:
Altera recommends that you use a relative path name, to ensure that the location of your project is
independent of the installation directory.
After you have created the BSP, you have the following options for GUI-based BSP editing:
To access and modify basic BSP properties, right-click the BSP project, click Properties > Nios II BSP
Properties.
To modify parameters and settings in detail using the Nios II BSP Editor, refer to Using the BSP Editor.
Related Information
Using the BSP Editor on page 2-14
For more information on how to modify parameters and settings in detail using the Nios II BSP Editor.
Nios II Software Build Tools
For more information about nios2-bsp command arguments.
Makefiles and the Nios II SBT for Eclipse
The Nios II SBT for Eclipse creates and manages the makefiles for Nios II software projects. When you
create a project, the Nios II SBT creates a makefile based on the source content you specify and the
parameters and settings you select. When you modify the project in Eclipse, the Nios II SBT updates the
makefile to match.
NII5V2
2015.05.14
Creating a Simple BSP
2-11
Getting Started with the Graphical User Interface
Altera Corporation
Send Feedback