Nios® V Embedded Processor Design Handbook

ID 726952
Date 1/27/2025
Public
Document Table of Contents

4.6.1. Nios® V Processor Application Executes-In-Place from General Purpose QSPI Flash

The execute-in-place (XIP) option is suitable for Nios® V processor application, when only a limited amount of on-chip memory is available to the processor.

The alt_load() function operates as a mini boot copier that initializes and copies the writable memory sections only to OCRAM or external RAM. The code section (.text), which is a read-only section, remains in the general purpose QSPI flash memory region. Retaining the read-only section in general purpose QSPI minimizes RAM usage but may limit the code execution performance.

The Nios® V processor application is programmed into the general purpose QSPI flash. The Nios® V processor reset the agent points to the general purpose QSPI flash to allow code execution after the system resets.

Figure 55.  Nios® V Processor Application Executes-In-Place from General Purpose QSPI Flash