2.2.1. Building Hardware Design in Platform Designer Overview
2.2.2. Building Hardware Design in Platform Designer — Manual Instantiation
2.2.3. Building Hardware Design in Platform Designer — Board-Aware Flow
2.2.4. Building Hardware Design in Platform Designer — Configurable Example Design
2.2.5. Building Software Design with Ashling* RiscFree* IDE for Altera® FPGAs
2.2.2.2.1. Adding Nios® V/m Processor IP
2.2.2.2.2. Adding On-Chip Memory II (RAM or ROM) IP
2.2.2.2.3. Adding JTAG UART IP
2.2.2.2.4. Adding Reset Release IP
2.2.2.2.5. Connect Interfaces and Signals
2.2.2.2.6. Clear System Warnings and Errors
2.2.2.2.7. Configuring the Reset Vector of the Nios® V Processor
2.2.2.2.8. Saving and Generating System HDL
2.2.3.2.1. Adding Nios® V/m Processor IP
2.2.3.2.2. Adding On-Chip Memory (RAM or ROM) IP
2.2.3.2.3. Adding JTAG UART IP
2.2.3.2.4. Adding System ID Peripheral IP
2.2.3.2.5. Adding Reset Release IP
2.2.3.2.6. Connect Interfaces and Signals
2.2.3.2.7. Clear System Warnings and Errors
2.2.3.2.8. Saving and Generating System HDL
2.2.5.1. Creating a Board Support Package
Board Support Package (BSP) provides a software runtime environment for embedded systems, such as Nios® V/m processor systems. Platform Designer includes the BSP Editor tool, to generate and configure BSP contents.
- In the Quartus® Prime software, go to Tools > Platform Designer .
- In the Platform Designer window, go to File > New BSP.
- The Create New BSP window appears.
- For BSP setting file, create a BSP file (settings.bsp) in <Working directory>/software/bsp/settings.bsp.
- For System file (qsys or sopcinfo), select the Nios® V/m processor Platform Designer system (niosv_top.qsys).
- For Quartus project, select the example design Quartus Project File (niosv_top.qpf).
- For Revision, select niosv_top.
- For CPU name, select intel_niosv_m_0.
- For Operating system, select Altera HAL.
- Click Create to create the BSP file.
Figure 67. Create New BSP window
- The BSP Editor tab appears.
- You do not need to modify further. This example design uses the default BSP settings.
- Click Generate BSP to generate the BSP file.
Figure 68. BSP Editor Tab
- The BSP Editor generates the BSP files in <Working directory>/software/bsp folder.
Figure 69. Generated BSP FilesAlternatively, you can generate the BSP files using CLI.
- Search Nios® V Command Shell in the Start Menu and launch it.
- Launch the Nios® V Command Shell.
$ niosv-shell
- Execute the command below to generate a BSP folder.
$ niosv-bsp -c -p=niosv_top.qpf -s=niosv_top.qsys -t=hal <Working directory>/software/bsp/settings.bsp