11-02-2017 07:58 PM
11-02-2017 08:45 PM
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).
11-05-2017 06:52 PM
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.