Visible to Intel only — GUID: awv1638889111075
Ixiasoft
1. About the Nios® V Embedded Processor
2. Nios® V Processor Hardware System Design with Intel® Quartus® Prime Software and Platform Designer
3. Nios® V Processor Software System Design
4. Nios® V Processor Configuration and Booting Solutions
5. Nios® V Processor - Using the MicroC/TCP-IP Stack
6. Nios® V Processor Debugging, Verifying, and Simulating
7. Nios® V Processor — Remote System Update
8. Nios® V Processor — Using Custom Instruction
9. Nios® V Embedded Processor Design Handbook Archives
10. Document Revision History for the Nios® V Embedded Processor Design Handbook
4.1. Introduction
4.2. Linking Applications
4.3. Nios® V Processor Booting Methods
4.4. Introduction to Nios® V Processor Booting Methods
4.5. Nios® V Processor Booting from Configuration QSPI Flash
4.6. Nios® V Processor Booting from On-Chip Memory (OCRAM)
4.7. Nios® V Processor Booting from Tightly Coupled Memory (TCM)
4.8. Summary of Nios® V Processor Vector Configuration and BSP Settings
4.5.2.1.1. Hardware Design Flow
IP Component Settings
Reset Agent Settings for Nios Processor
Intel® Quartus® Prime Software Settings
4.5.2.1.2. Software Design Flow
4.5.2.1.3. Software Design Flow (SDM Bootloader Project)
4.5.2.1.4. Software Design Flow (User Application Project)
4.5.2.1.5. Programming Files Generation
4.5.2.1.6. QSPI Flash Programming SDM
6.5.1. Prerequisites
6.5.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.5.3. Creating Nios V Processor Software
6.5.4. Generating Memory Initialization File
6.5.5. Generating System Simulation Files
6.5.6. Running Simulation in the QuestaSim Simulator Using Command Line
Visible to Intel only — GUID: awv1638889111075
Ixiasoft
4.5.2.1.1. Hardware Design Flow
The following sections describe a step-by-step method for building a bootable system for a Nios® V processor application copied from configuration QSPI flash to RAM using SDM Bootloader. The example below is built using Intel® Stratix® 10 SX SoC L-Tile.
IP Component Settings
- Create your Nios® V processor project using Intel® Quartus® Prime and Platform Designer.
- Add the Mailbox Client Intel® FPGA IP into your Platform Designer system.
Figure 51. Connections for Nios V Processor ProjectFigure 52. On-Chip Memory (RAM or ROM) Intel FPGA IP Parameter Settings
- Change the On-Chip Memory (RAM or ROM) Intel FPGA IP Parameter Settings according to the memory function. Ensure that you have the following memories in the system.
Memory | Memory Type | Total Memory Size | Memory initialization |
---|---|---|---|
Bootloader ROM | ROM (Read-only) |
6144 bytes or more |
Enable the following settings:
|
Bootloader RAM | RAM (Writable) |
6144 bytes or more |
Leave all settings unchecked. |
User Application RAM | RAM (Writable) |
Depends on your application 4 |
Leave all settings unchecked. |
Reset Agent Settings for Nios Processor
- In the Nios® V processor parameter editor, set the Reset Agent to Bootloader ROM.
Figure 53. Nios® V Processor Parameter Editor Settings
- Click Generate HDL, the Generation dialog box appears.
- Specify output file generation options and then click Generate.
Intel® Quartus® Prime Software Settings
- In the Intel Quartus Prime software, click Assignment > Device > Device and Pin Options > Configuration.
- Set Configuration scheme to Active Serial x4 (can use Configuration Device).
- Set VID mode of operation according to your board design.
- Set the Active serial clock source to 100 MHz Internal Oscillator.
Figure 54. Device and Pin Options
- Click OK to exit the Device and Pin Options window.
- Click OK to exit the Device window.
- Click Start Compilation to compile your project.
4 Your application size varies according to the usage. Set the memory size according to your design.