Nios® V Processor Software Developer Handbook

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

9.3.5. Hardware Exception Handler

The exception dispatcher lets you handle hardware exceptions, such as the load address misaligned exceptions. The hardware exception handler is a custom handler. Your software registers the hardware exception handler with the HAL at startup time.

For more information about enabling hardware exception handlers, refer to Settings Managed by Nios V Processor Board Support Package Editor section.

Note: The hal.enable_instruction_related_exceptions_api setting must be enabled in the BSP in order for you to register an hardware exception handler.