Nios® V Processor Software Developer Handbook

ID 743810
Date 1/27/2025
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

9.2.1.2.4. Exception Dispatcher

The exceptions dispatcher checks for a registered instruction-related exception handler.
  • If an instruction-related exception handler is registered, the HAL software exception funnel calls it, then restores context and returns.
  • If no instruction-related exception handler is registered,
    • If processor debug module is enabled, the processor enters Debug Mode using the ebreak instruction. Allowing the debugger to take control.
    • If there is no debug module, the processor enters an infinite loop.
Figure 18. Exception Dispatcher

For more information on registering an instruction-related exception handler, refer to the Instruction-Related Exception Handler chapter.

For more information about the RISCV-based processor EBREAK instruction, refer to the The RISC-V Instruction Set Manual in RISC-V International website.