1. About the Nios® V Embedded Processor
2. Nios® V Processor Hardware System Design with Quartus® Prime Software and Platform Designer
3. Nios® V Processor Software System Design
4. Nios® V Processor Debugging, Verifying, and Simulating
5. Nios® V Processor Configuration and Booting Solutions
6. Finding Nios® V Processor Design Example
7. Nios® V Processor - Using the MicroC/TCP-IP Stack
8. Nios® V Processor — Remote System Update
9. Nios® V Processor — Using Custom Instruction
10. Nios® V Processor – Running TinyML Application
11. Nios® V Processor – Implementing Lockstep Capabilities
12. Nios® V Embedded Processor Design Handbook Archives
13. Document Revision History for the Nios® V Embedded Processor Design Handbook
2.1. Creating Nios® V Processor System Design with Platform Designer
2.2. Clocks and Resets Best Practices
2.3. Designing a Nios® V Processor Memory System
2.4. Assigning a UART Agent for Printing
2.5. Assigning a Default Agent
2.6. Understanding the Design Requirement with JTAG Signals
2.7. Optimizing Platform Designer System Performance
2.8. Integrating Platform Designer System into the Quartus® Prime Project
2.9. Handing Off to an Embedded FPGA Software Developer
4.2.3.2.1. Enabling Signal Tap Logic Analyzer
4.2.3.2.2. Adding Signals for Monitoring and Debugging
4.2.3.2.3. Specifying Trigger Conditions
4.2.3.2.4. Assigning the Acquisition Clock, Sample Depth, and Memory Type, and Buffer Acquisition Mode
4.2.3.2.5. Compiling the Design and Programming the Target Device
4.6.1. Prerequisites
4.6.2. Setting Up and Generating Your Simulation Environment in Platform Designer
4.6.3. Creating Nios V Processor Software
4.6.4. Generating Memory Initialization File
4.6.5. Generating System Simulation Files
4.6.6. Running Simulation in the QuestaSim Simulator Using Command Line
5.1. Introduction
5.2. Linking Applications
5.3. Nios® V Processor Booting Methods
5.4. Introduction to Nios® V Processor Booting Methods
5.5. Nios® V Processor Booting from On-Chip Flash (UFM)
5.6. Nios® V Processor Booting from General Purpose QSPI Flash
5.7. Nios® V Processor Booting from Configuration QSPI Flash
5.8. Nios® V Processor Booting from On-Chip Memory (OCRAM)
5.9. Nios® V Processor Booting from Tightly Coupled Memory (TCM)
5.10. Summary of Nios® V Processor Vector Configuration and BSP Settings
5.11. Reducing Nios® V Processor Booting Time
5.6.1.1. Hardware Design Flow
The following sections describe the steps for building a bootable system for a Nios® V processor, which executes in place from the general purpose QSPI flash.
The following example is built using MAX® 10 FPGA Development Kit.
IP Component Settings
- Create your Nios® V processor project using Quartus® Prime and Platform Designer.
- Add Generic Serial Flash Interface Altera® FPGA IP into your Platform Designer.
Figure 85. Connections for Nios® V Processor ProjectFigure 86. Generic Serial Flash Interface Altera® FPGA IP Parameter Settings
- Change the Device Density (Mb) according to the QSPI flash size.
- To access general purpose QSPI flash, enable Disable dedicated Active Serial Interface and Enable SPI pins interface.
- Change the addressing mode by modifying bit 8 of the Control Register value in the Default Settings parameter section. Changing bit 8 to 0x0 enables 3-byte addressing, or 0x1 enables 4-byte addressing.
Note: The Micron N25Q512A83GSF40F devices (in the Altera MAX® 10 FPGA Development Kit) is at 4-byte addressing mode after power cycle.
- Export the qspi_pins conduit.
Note: You may configure the SPI Clock Baud-rate Register to modify the flash access speed.
For MAX® 10 FPGA Development Kit, Altera recommends you to apply 0x1 (/2) when the Generic Serial Flash Interface IP is connected to 50 MHz system clock. The default 0x10 (/32) divisor results in QSPI clock of 1.56 MHz, which causes a racing condition when XIP from the QSPI. Increasing the QSPI clock (by reducing the divisor) alleviates the issue.
Reset Agent Settings for Nios® V Processor Execute-In-Place from General Purpose QSPI Method
- In the Nios® V processor IP parameter editor, set the Reset Agent to QSPI Flash.
Figure 87. Nios® V Parameter Editor Settings
- Click Generate HDL, the Generation dialog box appears.
- Specify output file generation options and then click Generate.
Quartus® Prime Software Settings
- In the Quartus® Prime software, click Assignment > Device > Device and Pin Options > Configuration.
- Set the Configuration scheme according to your FPGA configuration scheme.
- Click OK to exit the Device and Pin Options window.
- Click OK to exit the Device window
- Assign the GSFI pin assignment to the general purpose QSPI flash. Refer to MAX® 10 FPGA Development Kit User Guide for more information on the board components and their respective MAX® 10 FPGA pin number.
- Click Start Compilation to compile your project.