Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

2.1.8. 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 test bench simulation package descriptor file (.spd). The .spd file is located in the Quartus Prime 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.