Error message "Found unsupported dimensions on matrix type at input port: 0" has occurred while generating HDL(Verilog) Code from matlab algorithm.
2 ビュー (過去 30 日間)
古いコメントを表示
I have been working on a project to produce synthesizable verilog code from matlab code of Lucas-Kanade optical flow algorithm with the help of HDL Coder. Everything was going right, then I got stuck at this problem. I couldn't find a right solution to it anywhere else. I have attached the error screenshot for reference. I couldn't understand what does unsupported dimensions mean ! I've manually checked the dimensions of the matrix and I found no issue with it. It's a 360 * 640 input image matrix of fixed point objects. Could anyone please help me in this aspect. Thanks in advance.
0 件のコメント
回答 (1 件)
Bharath Venkataraman
2022 年 5 月 26 日
編集済み: Bharath Venkataraman
2022 年 5 月 27 日
It would be helpful to see the code (at least at the high level of the testbench and top level design). For conversion to HDL, you need the interfaces to be either single or multiple pixels rather than the entire matrix coming in, since that is how the FPGA/ASIC would get data.
Showing the result of the "Define Input Types" stage would be helpful too.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!