Nios® V Processor Software Developer Handbook

ID 743810
Date 5/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.6.1.5. Specifying the Default Exception Parameter

The bsp-exception-utils.tcl script provides procedures to configure the BSP setting, hal.enable_instruction_related_exceptions_api when the Nios® V processor is handling instruction-related exceptions.

The script searches the processor subsystem to verify if the Nios® V processor enabled the following features:

  • Memory Protection Unit (MPU)
  • Memory Management Unit (MMU)
  • Advanced exceptions settings:
    • Illegal instruction exception
    • Illegal memory access exception
    • Slave access error exception
    • Division error exception
    • Imprecise illegal memory access exception
    • Extra exception info

If any of the following features is enabled, the script enables the API for registering handlers to service the instruction-related exceptions.