cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
724 Views
Registered: ‎04-06-2016

how to use a picture to equalize itself?

I design to use a framebuffer to store the picture after the picture coming in the IP.Simluation is successful but the IP core does not work in the hardware. 

0 Kudos
2 Replies
Highlighted
Mentor
Mentor
707 Views
Registered: ‎04-26-2015

Re: how to use a picture to equalize itself?

The problem is that for the approach you're using, you need to buffer the whole image on-chip. The image is 1920x1080, so you need to make the stream that's storing it (img_7) at least 2,073,600 elements long. You can do this with the STREAM pragma:

 

#pragma HLS STREAM variable=img_7.data_stream depth=2097152

(note: it's often wise to make the stream a bit bigger than it technically has to be)

 

However, once you do this you'll find another problem: an 8-bit stream that long requires 1024 BRAM_18K blocks. This will not fit in any chip smaller than a Zynq 7100 or Kintex 355T (or any of the Virtex 7 line).

Highlighted
Observer
Observer
663 Views
Registered: ‎04-06-2016

Re: how to use a picture to equalize itself?

I try in this way .HLS report the utilization of BRAM is 92%,but when I implement hardware in Vivado ,error is happened.The report is the utilization of LUTRAM and LUT is exceed.As the follow picture.

 

20171106104920118.bmp
0 Kudos