Nios® V Processor Software Developer Handbook

ID 743810
Date 4/07/2025
Public
Document Table of Contents

9.2.3.2. How the Software Works

Before implementing the CLIC, it is required to limit the alignment of mtvec to 64-byte boundaries for processor system. Alternatively, assign the .exception linker section to a memory region that fulfils the following conditions:
  • Start address is more than 0x40, and
  • Start address is a multiple of 0x10.
For example, 0x40, 0x50, 0x60 and etc are suitable starting addresses.
Figure 23. Exception Linker Section for CLIC

The Altera HAL firmware does not support CLIC mode, even though Platform Designer has selected CLIC as the preferred Interrupt Mode. For more information, refer to the Core-Local Interrupt Controller (CLIC) RISC-V Privileged Architecture Extensions.