Site Search

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.

Article header library 119109 pic01 4


Target devices: Stratix®, Arria®, Cyclone®, MAX® 10

The operation flow is roughly like this.

  1. Creating on-chip ROM for booting (can be omitted if shared with on-chip RAM for execution memory)
  2. Specifying the boot memory for Nios® II
  3. Convert boot program to HEX file with Nios ® II SBT
  4. 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

Article header library 119109 pic02 1


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.

  1. Add On-Chip Flash to the Qsys (now Platform Designer) system and specify it as boot memory for Nios® II.
  2. Change Configuration Mode and Compile in Quartus ® Prime
  3. Nios ® II SBT converts BSP Editor setting and generation, boot program to HEX file
  4. 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?