Nios® V Processor Software Developer Handbook

ID 743810
Date 10/06/2025
Public
Document Table of Contents

11.3.2.3. Entering ECC Exception Handler

The ECC handling code checks for a registered ECC exception handler.
  • If no ECC exception handler is registered, the processor enters Debug Mode using the ebreak instruction, allowing the debugger to take control.
  • If an ECC exception handler is registered, the processor calls it.
    • If the ECC exception handler ends with j alt_not_ecc_exception instruction, the processor passes control to the trap handler after restoring t0.
    • If j alt_not_ecc_exception instruction is not found, the processor enters Debug Mode using the ebreak instruction, allowing the debugger to take control.