Nios® V Embedded Processor Design Handbook

ID 726952
Date 7/16/2025
Public

Visible to Intel only — GUID: ujr1734591702263

Ixiasoft

Document Table of Contents

2.1.1.3.5. Traps, Exceptions, and Interrupts Tab

Table 15.  Traps, Exceptions, and Interrupts Tab when Enable Core Level Interrupt Controller is Turned Off
Traps, Exceptions, and Interrupts Tab Description
Reset Agent
  • The memory hosting the reset vector (the Nios® V processor reset address) where the reset code resides.
  • You can select any memory module connected to the Nios® V processor instruction master and supported by a Nios® V processor boot flow as the reset agent.
Reset Offset
  • Specifies the offset of the reset vector relative to the chosen reset agent's base address.
  • Platform Designer automatically provides a default value for the reset offset.
Enable Core Level Interrupt Controller (CLIC)
  • Enable CLIC to support pre-emptive interrupts and configurable interrupt trigger condition.
  • When enabled, you can configure the number of platform interrupts, set trigger conditions, and designate some of the interrupts as pre-emptive.
Interrupt Mode Specify the interrupt types as Direct, or Vectored
Shadow Register Files Enable shadow register to reduce context switching upon interrupt.
Table 16.  Traps, Exceptions and Interrupts when Enable Core Level Interrupt Controller is Turned On
Traps, Exceptions, and Interrupts Descriptions
Reset Agent
  • The memory hosting the reset vector (the Nios® V processor reset address) where the reset code resides.
  • You can select any memory module connected to the Nios® V processor instruction master and supported by a Nios® V processor boot flow as the reset agent.
Reset Offset
  • Specifies the offset of the reset vector relative to the chosen reset agent's base address.
  • Platform Designer automatically provides a default value for the reset offset.
Enable Core Level Interrupt Controller (CLIC)
  • Enable CLIC to support pre-emptive interrupts and configurable interrupt trigger condition.
  • When enabled, you can configure the number of platform interrupts, set trigger conditions, and designate some of the interrupts as pre-emptive.
Interrupt Mode
  • Specify the interrupt types as Direct, Vectored, or CLIC.
Shadow Register Files
  • Enable shadow register to reduce context switching upon interrupt.
  • Offers two approaches:
    • Number of CLIC interrupt levels
    • Number of CLIC interrupt levels - 1: This option is useful when you want the number of register file copies to fit in an exact number of M20K or M9K blocks.
  • Enable the Nios® V processor to use shadow register files which reduce context switching overhead upon interrupt.

For more information about shadow register files, refer to the Nios® V Processor Reference Manual.

Number of Platform interrupt sources
  • Specifies the number of platform interrupt between 16 to 2048.
Note: CLIC supports up to 2064 interrupt inputs, and the first 16 interrupt inputs are also connected to the basic interrupt controller.
CLIC Vector Table Alignment
  • Automatically determined based on the number of platform interrupt sources.
  • If you use an alignment that is below the recommended value, the CLIC increases logic complexity by adding an extra adder to perform vectoring calculations.
  • If you use an alignment that is below the recommended value, this results in increased logic complexity in the CLIC.
Number of Interrupt Levels
  • Specifies the number of interrupt levels with an additional level 0 for application code. Interrupts of a higher level can interrupt (pre-empt) a running handler for a lower-level interrupt.
  • With non-zero interrupt levels as the only options for interrupts, the application code is always at the lowest level 0.
    Note: Run-time configuration of an interrupt's level and priority is done in a single 8-bit register. If the number of interrupt levels is 256, it is not possible to configure the interrupt priority at run-time. Otherwise, the maximum number of configurable priorities is 256 / (number of interrupt levels - 1).
Number of Interrupt Priorities per level
  • Specifies the number of interrupt priorities, which the CLIC uses to determine the order in which non pre-empting interrupt handlers are called.
    Note: Concatenation of binary values of the selected interrupt level and selected interrupt priority must be less than 8 bits.
Configurable interrupt polarity
  • Allows you to configure interrupt polarity during runtime.
  • Default polarity is positive polarity.
Support edge triggered interrupts
  • Allows you to configure interrupt trigger condition during runtime, i.e. high-level triggered or positive-edge triggered (when interrupt polarity is positive in Configurable interrupt polarity).
  • Default trigger condition is level triggered interrupt.
Note: Platform Designer provides an Absolute option, which allows you to specify an absolute address in Reset Offset. Use this option when the memory storing the reset vector is located outside the processor system and subsystems.