cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
263 Views
Registered: ‎01-16-2020

sending data(images) from PS to PL using AXI

hi every:

I am working on a project with Zynq® UltraScale+ ZCU104 board.

I want to send images from PS to PL, and do the computation in PL. In the end, send the image classification result back to PS.

I can only build the block which can send data from PL to PS (using AXI DMA). But I don't know how to finish the PS-to-PL part.

 

If you have any idea about how to alter the design, please let me know.

Thank you everyone.

My block design as below (the orange block is my custom IP):

Annotation 2020-08-06 231836.jpg
0 Kudos
2 Replies
Highlighted
Moderator
Moderator
126 Views
Registered: ‎11-09-2015

HI @pingyu 

You can also you the AXI DMA to read from the PS memory to get the image in the PL


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Tags (1)
0 Kudos
Highlighted
Scholar
Scholar
111 Views
Registered: ‎03-28-2016

@pingyu 

As @florentw mentioned, you can use the AXI DMA to read and write data to the DDR.  The AXI DMA has two channels.  One for reading from DDR (MM2S).  One for writing to DDR (S2MM).  In your design, open the AXI DMA to reconfigure it.  Enable the Read channel (MM2S).  From there the AXI DMA will provide a new port that you can connect to the the S_AXIS port on your IP.

Ted Booth | Tech. Lead FPGA Design Engineer | DesignLinx Solutions
https://www.designlinxhs.com
0 Kudos