cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
1,570 Views
Registered: ‎09-29-2016

system.hdf and xparameters.h definitions for User IP that contain IP sub cores

If I have a block design, within Vivado 2018.1, that contains IP cores such as the Xilinx AXI Video Direct Memory Access (VDMA) then it is listed in system.hdf  and definitions for it appear in xparameters.h,  i.e. xparameters.h states the number of VDMA instances and lists definitions for each instance of the VDMA.

 

However I am creating a User IP that contains a VDMA IP core (instatiated in VHDL code).  This User IP core is then added in my top level block design.

 

What do I have to do when designing and packaging my User IP, such that when my top level block design is built and exported to Xilinx SDK the xparameters.h file includes definitions for the instance of the VDMA that is within the User IP core?

 

Thanks

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
1,505 Views
Registered: ‎09-12-2007

The parameters in xparameters.h file are created via the tcl file in the drivers data folder.

Have you a custom driver? Have you the tcl file created in the data folder? If not, then you can use the GPIO driver in SDK install as reference.

Note: the tcl uses hsi api to extract info from HDF:
https://www.xilinx.com/support/answers/64980.html
0 Kudos