AR# 51763

Zynq-7000 - How do I know the IRQ ID# of F2P_IRQ when I connect interrupt signals from PL to PS?

Description

I am connecting three interrupt signals from PL to PS IRQ_F2P[15:8].

The Port tab in XPS shows the IRQ bits as follows:
 
IRQ_F2P[2:0]

MHS setting:
 
 PORT IRQ_F2P = GPIO_SW_IP2INTC_Irpt & LEDs_4Bits_IP2INTC_Irpt & axi_timer_0_Interrupt

Table 7-3 in TRM states:
 
IRQF2P[15:8] is ID#91:84.

Where can I see how the three interrupt signals are connected to IRQF2P[15:8]?

Solution

After exporting to SDK, you can check the IRQ ID# in the parameters.h file.
 
In this case, the interrupt signals are assigned as below:

#define XPAR_FABRIC_GPIO_SW_IP2INTC_IRPT_INTR 91
#define XPAR_FABRIC_LEDS_4BITS_IP2INTC_IRPT_INTR 90
#define XPAR_FABRIC_AXI_TIMER_0_INTERRUPT_INTR 89


The connection between PL and PS is as below.
 
PL     PS
IRQ_F2P[0] - IRQ_F2P[15] ID#91
IRQ_F2P[1:0] - IRQ_F2P[15:14] ID#91:90
IRQ_F2P[2:0] - IRQ_F2P[15:13] ID#91:89
.
.
.

AR# 51763
Date 10/02/2014
Status Active
Type General Article
Devices
Tools