Error while generating HDL code from Simulink for Canny Edge Detection

2 ビュー (過去 30 日間)
Sushant S
Sushant S 2024 年 1 月 19 日
コメント済み: Sushant S 2024 年 1 月 20 日
Even though I have used HDL compatible blocks from the visionHDl toolbox I'm getting the error saying that 'Pixel Unbuffer' inside the 'frame to pixel' block is not HDL compatible. I fail to understand the issue and I have no clue on how to solve it. Can anyone point out any settings to change or solve this issue?

採用された回答

Kiran Kintali
Kiran Kintali 2024 年 1 月 19 日
For pure pixel in and pixel out based streaming interface DUT, the blocks such as frame to pixel and pixel to frame should be outside the FPGA/ASIC DUT. They are typically in the test bench portion reading the image/video and converting matrix/images to sample/pixels. See a basic HDL Coder example here
In Matrix/Frame based DUT workflows you can pass the matrix/image types directly into DUT and hence there is no need for these blocks in the testbench. See the examples in the IO optimization section here.
With Streaming Interface DUT modeling style you have 100% control on the pixel processing, all scheduling and marshalling of the pixel data is manual. With the Frame based modeling style and code generation you can model at high level of abstraction and use HDL Coder optimizations for HDL code generation.
  1 件のコメント
Sushant S
Sushant S 2024 年 1 月 20 日
It is saying comment out those blocks. So if I do that will it work?

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by