11-07-2016 11:06 AM
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.
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.
thanks in advance.
11-07-2016 08:17 PM
11-09-2016 09:27 AM - edited 11-09-2016 09:28 AM
Can you try this configuration in INTC IP?