Nios® V Processor Software Developer Handbook

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

11.3.2.3.1. Writing ECC Exception Handler

The prototype for an ECC exception handler is as follows:
void ecc_handler(void)

The ECC Handling Code calls the ECC exception handler without any arguments, and no return value is expected.

You may end the handler with j alt_not_ecc_exception instruction to return to normal execution. If not, the processor enters Debug Mode using ebreak instruction.