Nios® V Processor Software Developer Handbook

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

11.3.2.1. ECC Handling System Structure

The ECC handling system consists of the following components:
  • ECC handling code

  • ECC exception handler

The ECC handling system works as an extension to the trap handling system in the Chapter Trap Handling. Upon any traps (exception or interrupt), the processor executes the ECC handling system first, followed by the trap handling system.

The following files provides the HAL API for the ECC handling system:
  • <Project directory>\software\bsp\HAL\inc\sys\alt_ecc_exception.h

  • <Project directory>\software\bsp\HAL\src\alt_ecc_exception.c

  • <Project directory>\software\bsp\HAL\src\alt_ecc_exception_entry.S
Figure 27. HAL ECC Handling System with Trap Handling System