A newer version of this document is available. Customers should click here to go to the newest version.
4.5.2. Nios® V Processor Application Execute-In-Place from UFM
The Execute-In-Place from UFM solution is suitable for Nios® V processor applications which require limited on-chip memory usage. The alt_load() function operates as a mini boot copier that copies the data sections (.rodata, .rwdata, or .exceptions) from boot memory to RAM based on the BSP settings. The code section (.text), which is a read only section, remains in the MAX® 10 On-chip Flash memory region. This setup minimizes the RAM usage but may limit the code execution performance as access to the flash memory is slower than the on-chip RAM.
The Nios® V processor application is programmed into the UFM sector. The Nios® V processor's reset vector points to the UFM base address to execute code from the UFM after the system resets.