Visible to Intel only — GUID: ubg1638455505213
Ixiasoft
1. About the Nios® V Embedded Processor
2. Nios® V Processor Hardware System Design with Intel® 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
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 Configuration QSPI Flash
4.6. Nios V Processor Booting from On-Chip Memory (OCRAM)
4.7. Summary of Nios® V Processor Vector Configuration and BSP Settings
6.4.1. Prerequisites
6.4.2. Setting Up and Generating Your Simulation Environment in Platform Designer
6.4.3. Creating Nios V Processor Software
6.4.4. Generating Memory Initialization File
6.4.5. Generating System Simulation Files
6.4.6. Running Simulation in the QuestaSim Simulator Using Command Line
Visible to Intel only — GUID: ubg1638455505213
Ixiasoft
4.4.1.1. alt_load()
You can enable the alt_load() function in the HAL code using the BSP Editor.
When used in the execute-in-place boot flow, the alt_load() function performs the following tasks:
- Operates as a mini boot copier that copies the memory sections to RAM based on the BSP settings.
- Copies data sections (.rodata, .rwdata, .exceptions) to RAM but not the code sections (.text).The code section (.text) section is a read-only section and remains in the booting flash memory region. This partitioning helps to minimize the RAM usage but may limit the code execution performance because accesses to flash memory are slower than accesses to the on-chip RAM.
The following table lists the BSP Editor settings and functions:
BSP Editor Setting | Function |
---|---|
hal.linker.enable_alt_load | Enables alt_load() function. |
hal.linker.enable_alt_load_copy_rodata | alt_load() copies .rodata section to RAM. |
hal.linker.enable_alt_load_copy_rwdata | alt_load() copies .rwdata section to RAM. |
hal.linker.enable_alt_load_copy_exceptions | alt_load() copies .exceptions section to RAM. |