cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
4,511 Views
Registered: ‎06-14-2012

Interrupts missing in xparameter.h file

On Vivado/SDK 15.2, on a project I've been developing with for several months with no problems I was fiddling with the parameters of the AXI Interrupt controller and after a successful Vivado build, when the BSP regenerated, xparameters.h was missing the interrupt definitions:

 

#define XPAR_INTC_SINGLE_BASEADDR 0x41200000
#define XPAR_INTC_SINGLE_HIGHADDR 0x4120FFFF
#define XPAR_INTC_SINGLE_DEVICE_ID XPAR_MICROBLAZE_0_AXI_INTC_DEVICE_ID
#define XPAR_MICROBLAZE_0_AXI_INTC_TYPE 0
#define XPAR_UART_COMM_IP2INTC_IRPT_MASK 0X000001

 

---- xparameters identical to here, new xparameters missing items below which always had been there------------------------

 

#define XPAR_MICROBLAZE_0_AXI_INTC_UART_COMM_IP2INTC_IRPT_INTR 0
#define XPAR_NPILCD_0_LCD_IRPT_MASK 0X000002
#define XPAR_MICROBLAZE_0_AXI_INTC_NPILCD_0_LCD_IRPT_INTR 1
#define XPAR_AXI_ETHERNET_0_ETH_BUF_INTERRUPT_MASK 0X000004
#define XPAR_MICROBLAZE_0_AXI_INTC_AXI_ETHERNET_0_ETH_BUF_INTERRUPT_INTR 2
#define XPAR_FPANEL_1_FP_IRPT_MASK 0X000008
#define XPAR_MICROBLAZE_0_AXI_INTC_FPANEL_1_FP_IRPT_INTR 3
#define XPAR_RTC_TMP_I2C_IIC2INTC_IRPT_MASK 0X000010
#define XPAR_MICROBLAZE_0_AXI_INTC_RTC_TMP_I2C_IIC2INTC_IRPT_INTR 4

etc.... for all interrupts

 

Since then I've restored my previous AXI_INTC configuration and rebuilt the vivado project, deleted the bsp and rebuilt it, deleted the hardware definition and rebuilt it, deleted my entire Vivado project and restored it from a copy that had never been played with and no matter what I do, xparameters.h is missing the interrupt definitions. I can't even figure out where this problem lives. It's not in the .hdf file, since I'm using a clean one that yields a perfect xparameters.h on another engineers system. 

 

Does anyone have any ideas how to correct this? I'm losing precious time fighting the tools.

RANT ON---

Since switching to Vivado from good old ISE 14.3 I spend more time fighting tools and way less time engineering product.

Had to say it.

RANT OFF---

thanks in advance.

0 Kudos
Reply
3 Replies
Xilinx Employee
Xilinx Employee
4,483 Views
Registered: ‎08-01-2008

check this ARs
https://www.xilinx.com/support/answers/60837.html
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Reply
Visitor
Visitor
4,465 Views
Registered: ‎07-31-2016

Could you post a screenshot of the interrupt connections on your block diagram?
0 Kudos
Reply
Moderator
Moderator
4,445 Views
Registered: ‎07-31-2012

Hi,

 

Can you try this configuration in INTC IP?

  • Under the Basic tab, change Interrupt Output Connection to "Bus" from the dropdown 
  • Regenerate block output products

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply