SIMULINK -HDL CONVERSION ERROR
2 views (last 30 days)
Show older comments
RAJASHEKAR MAIDA
on 16 Dec 2015
Answered: Bharath Venkataraman
on 16 Dec 2015
I am using MATLAB 2015 A version .I have the following simulink model .
When i run it I have no problem in getting the o/p but as I try to convert it HDL code using Generate HDL
I get the following errors and warnings .
I need to convert this to HDL and test it on SPARTAN 6 fpga board .
0 Comments
Accepted Answer
Tim McBrayer
on 16 Dec 2015
You have picked three blocks that are not supported for HDL code generation, as mentioned in the error messages. In addition you are connecting them with matrices, which is also clearly mentioned as not supported.
You might want to try using the Gamma Corrector block out of the Vision HDL Toolbox instead of the Gamma Correction block from the Computer Vision System Toolbox. This Vision HDL block accepts and generates a pixel stream as opposed to passing the entire image in parallel. This hardware-appropriate interface will also remove the issue of matrix signals from your model.
1 Comment
More Answers (1)
Bharath Venkataraman
on 16 Dec 2015
Vision HDL Toolbox was released in R2015a. You may need to ask your administrator to see if you have access to this Toolbox.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!