I am building simple Vivado IP Integrator designs with AXI INTC blocks with external ports connected via the CONCAT IP. However, when exported to SDK and build a BSP, the BSP fails during Libgen with the following error:
ERROR:EDK - xget_handle PARENT : A NULL handle was provided
ERROR:EDK - intc () - expected integer but got ""
ERROR:EDK:3416 - Error(s) while running TCL procedure generate().
make: *** [microblaze_1/lib/libxil.a] Error 2
make: Target `all' not remade because of errors.
How can this be fixed?
To work around this issue, open the XML file in the SDK hardware platform in a text editor, as shown in the image below:
Then, navigate to the declaration of the external interrupt port and change all references of:
Once this is done for all the external ports connected to the AXI INTC, save the XML and rebuild the BSP.