11-17-2020 11:48 PM
Hello,
I have been working with Vivado and Vitis v2020.1. I have developed custom ip core for Zynq7020. My intention is to let the Vitis to generate generic software driver for my ip core and let to publish its base address and instance id into the xparameters.h file. In the time being neither the generic software driver nor the insertion of base address and instance id into the xparameters.h works. Can anybody tell me how to do that or recommend me some document regarding that? Thank you in advance.
11-27-2020 03:16 AM
If your custom IP is connected to the address map of the processor. Then the generic driver should be used.
Vitis/SDK uses HSI API to read the ip cells, and it cross references this against all the drivers in the repo to find a supported driver.
This info is in the MDD file. For example:
https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/gpio/data/gpio.mdd#L30
So, if the generic driver is not used, then I guess the Vitis/SDK is not detecting your custom IP in the address map.
Can you share the XSA?
11-26-2020 11:34 PM - edited 11-26-2020 11:48 PM
Hi @Steven.,
Please check UG1118 and Custom_Driver.
AR#64980 would be helpful too.
11-27-2020 03:16 AM
If your custom IP is connected to the address map of the processor. Then the generic driver should be used.
Vitis/SDK uses HSI API to read the ip cells, and it cross references this against all the drivers in the repo to find a supported driver.
This info is in the MDD file. For example:
https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/gpio/data/gpio.mdd#L30
So, if the generic driver is not used, then I guess the Vitis/SDK is not detecting your custom IP in the address map.
Can you share the XSA?