Xilinx / Vitis_Libraries

Vitis Libraries
https://docs.xilinx.com/r/en-US/Vitis_Libraries
Apache License 2.0
897 stars 357 forks source link

condition where Vitis HLS tools consistently creates undersized hls stream buffers which lead to deadlock #118

Closed ethansieg closed 2 years ago

ethansieg commented 2 years ago

Vitis HLS synthesis tool consistently infers design that will deadlock due to undersized buffers (the hls data streams buffers produced by the xf::cv::Mat object) in vitis vision library when you have an algorithm which requires splitting data (according to UG1399 p332) to adhere to the single producer single consumer model required by HLS DATAFLOW.

vt-lib-support commented 2 years ago

Hi @ethansieg ,

The feature of providing custom depth to hls::stream formed by the xf::cv::Mat is in works.

vt-lib-support commented 2 years ago

Hi @ethansieg ,

The above said feature has been added in the latest release.