Nios® V Processor Software Developer Handbook

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

11.3.2.2.2. Writeback Correctable Data

Once the corrected data is written back to the source memory, the ECC handling code performs the following tasks:
  • Restore t0 register value from Machine Scratch (mscratch) register
  • Re-enable ECC exception by setting alt_ecc_status.global_ecc_exception_enable.
  • Exits by issuing an MRET instruction