Visible to Intel only — GUID: mnb1678675851593
Ixiasoft
5.1. Migrating Nios® II Processor to Nios® V Processor
5.2. Timer
5.3. Interrupt
5.4. Ethernet Stack
5.5. Bootloader
5.6. Data and Instruction Cache
5.7. Tightly Coupled Memory
5.8. Custom Instructions
5.9. Error Correction Code
5.10. Intel® HAL Settings
5.11. Micrium MicroC/OS-II BSP Settings
5.12. Software Packages
Visible to Intel only — GUID: mnb1678675851593
Ixiasoft
5.6. Data and Instruction Cache
Nios® II/f and Nios® V/g processors support cache.
Cache | Nios® V/g Processor | Nios® II/f Processor |
---|---|---|
Instruction Cache |
|
|
Data Cache |
|
|
Cache Bypass Method | Peripheral Regions |
|
The processors use the peripheral regions to defined non-cacheable transaction for peripherals such as UART, PIO, DMA, and others. Both Nios® II/f and Nios® V/g processors support peripheral regions. Nios® V/g processor supports two separate peripheral regions, and Nios® II/f processor supports only one.
- For Nios® II/f processor (with caches enabled), it is optional to use a peripheral region when using peripherals.
- For Nios® V/g processor, you must place your peripherals in a peripheral region. Failure to do so can cause the processor system to malfunction.
If you do not define the peripherals regions, Platform Designer prompts the following warning message:
No peripheral regions have been defined. If your design contains any peripherals such as UART, PIO, DMA, etc, they must be placed within a peripheral region.
3 Nios® V/g processor requires a minimum allocation of 1KB cache size.
4 You can disable the cache in the Nios® II/f processor.