Nios® V Processor Reference Manual

ID 683632
Date 10/15/2025
Public
Document Table of Contents

3.3.9.5.1. ECC Error Status Register

The alt_ecc_status register is a 32-bit read/write register that specifies which ECC sources and error types can cause an ECC error exception. The 32nd bit field of the ECC Error Status register (alt_ecc_status[31]) holds the global ECC exception enable bit. This bit is used to guarantee atomicity regarding the ECC exception handler.

The rest of the bit fields hold individual ECC exception enable bit.
  • If the bit is cleared, the associated ECC error is unable to trigger exception code 19.
  • If the bit is set, the associated ECC error can trigger exception code 19.

When the processor triggers an exception code 19, the global ECC exception enable bit is cleared. The ECC exception handler must re-enable the global ECC exception enable bit before returning to normal execution.

Table 68.  ECC Error Status Register Fields
Bit Field
31 30 29 28 ... 4 3 2 1 0
Global ECC Exception Enable Reserved Uncorrectable Correctable
GPR ECC Exception Enable