UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
3,613 Views
Registered: ‎11-01-2015

How can I set the depth of ping pong ram when using config_dataflow

Hi,

 

When I use config_dataflow, by default the pingpong ram is selected, but how can I set the depth of the memory.

can anyone give me some advice?

 

Thanks,

Regards

0 Kudos
2 Replies
Scholar u4223374
Scholar
3,590 Views
Registered: ‎04-26-2015

Re: How can I set the depth of ping pong ram when using config_dataflow

The depth is big enough to hold the whole array that you're passing between functions. If you're passing a 1000 element array, the ping-pong buffer consists of two 1000-element RAMs. If you're passing a 2M-element image, then the ping-pong buffer is two 2M-element RAMs and you've probably run out of space on the chip.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
3,566 Views
Registered: ‎08-01-2008

Re: How can I set the depth of ping pong ram when using config_dataflow

it should be greater than frame size to avoid overflow and processing should be at frame rate.
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos