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 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
2.1. Creating Nios® V Processor System Design with Platform Designer
2.2. Integrating Platform Designer System into the Quartus® Prime Project
2.3. Designing a Nios® V Processor Memory System
2.4. Clocks and Resets Best Practices
2.5. Assigning a Default Agent
2.6. Assigning a UART Agent for Printing
2.7. JTAG Signals
2.8. Optimizing Platform Designer System Performance
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 On-Chip Flash (UFM)
4.6. Nios® V Processor Booting from General Purpose QSPI Flash
4.7. Nios® V Processor Booting from Configuration QSPI Flash
4.8. Nios® V Processor Booting from On-Chip Memory (OCRAM)
4.9. Nios® V Processor Booting from Tightly Coupled Memory (TCM)
4.10. Summary of Nios® V Processor Vector Configuration and BSP Settings
4.11. Reducing Nios® V Processor Booting Time
6.2.3.2.1. Enabling Signal Tap Logic Analyzer
6.2.3.2.2. Adding Signals for Monitoring and Debugging
6.2.3.2.3. Specifying Trigger Conditions
6.2.3.2.4. Assigning the Acquisition Clock, Sample Depth, and Memory Type, and Buffer Acquisition Mode
6.2.3.2.5. Compiling the Design and Programming the Target Device
6.6.1. Prerequisites
6.6.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.6.3. Creating Nios V Processor Software
6.6.4. Generating Memory Initialization File
6.6.5. Generating System Simulation Files
6.6.6. Running Simulation in the QuestaSim Simulator Using Command Line
4.7.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 Bootloader via GSFI. The following example is built using Arria® 10 SoC Development Kit.
IP Component Settings
- Create your Nios® V processor project using Quartus® Prime and Platform Designer.
- Add the Generic Serial Flash Interface Altera® FPGA IP is into your Platform Designer system.
Figure 114. Connections for Nios® V Processor ProjectFigure 115. Generic Serial Flash Interface Altera® FPGA IP Parameter Settings
- Change the Device Density (Mb) according to the QSPI flash size.
- 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: Refer to Intel Supported Configuration Devices tab > Intel Supported Third Party Configuration Devices in Device Configuration Support Center to check the byte addressing mode supported for each flash device in each Altera FPGA device.
For example, Arria® 10 devices when used with Micron flash devices support the 4-byte addressing mode.
Reset Agent Settings for Nios® V Processor Boot-copier Method
- In the Nios® V processor parameter editor, set the Reset Agent to QSPI Flash.
Note: Your SOF image size influences your reset offset configuration. The reset offset is the start of the address of the HEX file in QSPI flash and it must point to a location after the SOF image. If the SOF image space and the reset offset location overlap, Quartus® Prime software displays and overlap error. You can determine the minimum reset offset by using the configuration bitstream size from the device datasheet.
For example, the uncompressed configuration bitstream size for Arria® 10 GX 660 is 252,959,072 bits (31,619,884 bytes). If the SOF image starts at address 0x0, the SOF image can extend up to address 0x1E27FFF (0x1E27B2C). In this case, the minimum reset offset you can select is 0x2000000.
Figure 116. 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 Intel Quartus Prime software, click Assignment > Device > Device and Pin Options > Configuration .
- Set Configuration scheme to Active Serial x4 (can use Configuration Device).
- Set the Active serial clock source to 100 MHz Internal Oscillator.
Figure 117. 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.