Error message "Found unsupported dimensions on matrix type at input port: 0" has occurred while generating HDL(Verilog) Code from matlab algorithm.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Bharath Venkataraman
le 26 Mai 2022
Modifié(e) : Bharath Venkataraman
le 27 Mai 2022
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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!