A newer version of this document is available. Customers should click here to go to the newest version.
3.3.6.3. Vectored Mode
The Vectored Mode is designed to provide low-latency and vectored interrupts for RISC-V systems. Vectored Mode in RISC-V systems efficiently manages traps by directing the processor to the appropriate trap handler using a vector table. The trap controller uses the base address contained in the BASE field of mtvec register, to determine the address of the handler based on the Interrupt and Exception Code field from the mcause register. This method enables quick and precise redirection to the correct handler, improving flexibility and reaction time while managing various traps.
The Vectored Mode supports interrupt pre-emption based on privilege mode, i.e., Machine, Supervisor, and User mode. Since the Nios® V processor only supports Machine mode (M-mode), Vectored Mode does not support interrupt pre-emption based on privilege mode.