cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
louislxw
Participant
Participant
4,715 Views
Registered: ‎10-23-2013

How to Add User's IP and Device Driver to zc702 board?

Hi,

 

I am working on the project of hardware implementation of AVS encoding engine based on zc702 board.

 

Now I have finished the DCT module in PL, and I want to do the entropy coding in PS. So there is a problem, how to use AXI interface to connect the user-defined IP (DCT module) with the PS? I can hardly find any reference on it except for the example of adding peripheral to control SW and LED (may it is too easy).

 

Thank you!

0 Kudos
4 Replies
muzaffer
Teacher
Teacher
4,712 Views
Registered: ‎03-31-2012

You have to make an AXI slave out of your DCT module. How you map the DCT modules input/output to AXI depends on your design. Does it read its input from dram? Maybe you can even have it write its output to dram and use a GPIO on PL to signal an interrupt to PS or have PS poll that signal to decide when DCT is finished. Then PS can read the result from the dram too. Depends on how DCT is micro-architecture is done.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
louislxw
Participant
Participant
4,689 Views
Registered: ‎10-23-2013

Hi muzaffer,

 

Is there any reference or spec on how to configure the AXI interfaces?

0 Kudos
muzaffer
Teacher
Teacher
4,687 Views
Registered: ‎03-31-2012

You can read this document: http://www.xilinx.com/support/documentation/ip_documentation/axi_ref_guide/latest/ug761_axi_reference_guide.pdf

Basically you have to develop an AXI slave and attach it to one of the master ports on the zynq pl interface.

 

You can also check out these ARs:

http://www.xilinx.com/support/answers/56609.htm

http://www.xilinx.com/support/answers/37425.htm

 

the first one is supposed to refer to the second but the link is broken.

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
louisli
Observer
Observer
4,193 Views
Registered: ‎05-21-2014

Hi muzaffer,

 

Followed by the AR# 56609, I have encountered a problem in the 18th tip -- "Add/Create custom IP code sources to Vivado project". 

 

It also can be viewed in AR# 37425. How to import the provided IP cores into the EDK? Besides, how to use the costomized IP cores instead of the downloaded IP cores?

 

Thank you!

Louis

0 Kudos