hello,
I'm Hanako Altera, and I provide technical support for Altera® FPGA products at Macnica.
This time, I will introduce how to set the Nios® II boot program in the FPGA's on-chip memory.
There are two methods depending on the FPGA device series!
Use the built-in RAM as boot memory.
Target devices: Stratix®, Arria®, Cyclone®, MAX® 10
The operation flow is roughly like this.
- Creating on-chip ROM for booting (can be omitted if shared with on-chip RAM for execution memory)
- Specifying the boot memory for Nios® II
- Convert boot program to HEX file with Nios ® II SBT
- Add qip file for initial value memory to Quartus ® Prime project, compile, SOF/POF generation
Please see the document below for details.
Nios® II - Booting procedure from on-chip memory
Use UFM as boot memory
Target device: MAX ® 10
To boot Nios ® II with MAX ® 10 UFM, we use a free IP called“Altera On-Chip Flash”.
The operation flow is roughly like this.
- Add On-Chip Flash to the Qsys (now Platform Designer) system and specify it as boot memory for Nios® II.
- Change Configuration Mode and Compile in Quartus ® Prime
- Nios ® II SBT converts BSP Editor setting and generation, boot program to HEX file
- Conversion of programming files, programming
Read more in this technical article.
Boot Nios® II with UFM in MAX® 10
Related article
Nios® II - Booting procedure from on-chip memory
Let's try booting Nios® II with MAX® 10's UFM [Part 1]
Let's try booting Nios® II with MAX® 10's UFM [Part 2]
Blinking an LED with Nios® II on an FPGA! (Hardware Edition)
Blinking an LED with Nios® II on an FPGA! (Software Edition)
Related FAQ
Can the Compact MAX® 10 device be pre-configured for M9K memory?
Can Nios® II operate only on the on-chip memory embedded in the FPGA?