UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 19303

6.2 EDK - LibGen - xintc_intr.c:122: 'XPAR_INTC_SINGLE_DEVICE_ID' undeclared

Description

Keywords: Intc, single, device, ID, undeclared

Urgency: Standard

General Description:
When compiling my libraries with LibGen, the following error occurs:

"xintc_intc.c: In function 'XIntc_ViodInterruptHandler':
xintc_intr.c:122: 'XPAR_INTC_SINGLE_DEVICE_ID' undeclared (first use in this
function)
xintc_intr.c:122: (Each undeclared indentifier is reported only once
xintc_intr.c:122: for each function it appears in.) issued:"

Solution

1

As of EDK 6.2 SP1, LibGen does not support multiple Interrupt Controllers. If your design contains multiple IntC's, the easiest work around for your customer is to add a define to the EXTRA_COMPILER_FLAGS of the driver/library parameters in XPS.

The extra define would look like:

"-DXPAR_INTC_SINGLE_DEVICE_ID=0".

2

This problem is fixed in the latest 6.2 EDK Service Pack, available at:
http://www.xilinx.com/ise/embedded/edk.htm.
The first service pack containing the fix is EDK 6.2 Service Pack 2.
AR# 19303
Date Created 04/08/2004
Last Updated 04/28/2006
Status Archive
Type General Article