cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Newbie
Newbie
281 Views
Registered: ‎06-04-2020

IP using hls::Filter2D with DMA does not seem to work

Hi,

I made an IP using hls::video realising a 2d convolution with a filter, it works fine in testbench and C/RTL co-simulation.

In vivado I linked it to a dma for img_in, img_out (axi stream) for sending and receiving data.

But when I tried the whole setup on Vitis, the output buffer data are not replaced with correct data from the IP, I tried with a fifo in place of my IP and everything worked flawlessly.

I have been stuck on this problem for days now without being able find a solution.

All the code are attached to this post.

 

The HLS code for the IP is compressed just to be uploaded here.

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
188 Views
Registered: ‎11-21-2018

Hi @CYStundent 

Are you using the hls video library? It is already deprecated and replaced with the Vitis Vision library: 

https://github.com/Xilinx/Vitis_Libraries/tree/master/vision

My advice would be to update your design to use the Vitis vision library. 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos