cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
araongao2015
Explorer
Explorer
3,660 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
u4223374
Advisor
Advisor
3,637 Views
Registered: ‎04-26-2015

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
balkris
Xilinx Employee
Xilinx Employee
3,613 Views
Registered: ‎08-01-2008

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