In this brief demo we will discuss how to write your interrupt handler to support nested interrupts on the Microblaze.

Design files:

The design files for this demo can be downloaded here:


Hardware:

Here two AXI timers are used to generated the interrupts.
To build the hardware, launch Vivado 2018.1, and source the TCL script below from the TCL console in Vivado:
  • source data/all.tcl

Software:

The software is built using XSCT commands to build the SDK workspace. This will be ran from the TCL command in the previous step.
The code can be explored at repo\sw_apps\nested_ex\src\nested_ex.c in particular the tmrctr_1_handler on line 91

Related Links