cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
131 Views
Registered: ‎03-16-2020

How to use generic software driver for custom ip core?

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. 

2 Replies
Highlighted
Moderator
Moderator
47 Views
Registered: ‎03-25-2019

Hi @Steven.,

Please check UG1118 and Custom_Driver.
AR#64980 would be helpful too.

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Highlighted
Moderator
Moderator
32 Views
Registered: ‎09-12-2007

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?

 

0 Kudos