Nios® V Processor Reference Manual

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

3.3.9.3.1. Encountering Single-bit ECC Error

The Nios® V processor ECC error correction corrects single-bit errors only, using the parity bits and the Hamming code. After the processor corrects the single-bit error, the processor continues to operate without any drawbacks. Note that, the correction is temporary within the processor pipeline, it is not written back to the source memories.

To support memory writeback, you can implement the Single-bit & Double-bit ECC Exception Code feature, which allows processor to service the ECC events as an exception.

With that, the processor can execute a custom memory-writeback callback function as the ECC exception handler. The Altera HAL firmware implements similar memory-writeback functions upon a single-bit ECC events.