SIMULINK -HDL CONVERSION ERROR

2 views (last 30 days)
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 .

Accepted Answer

Tim McBrayer
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
RAJASHEKAR MAIDA
RAJASHEKAR MAIDA on 16 Dec 2015
Edited: RAJASHEKAR MAIDA on 16 Dec 2015
Hi Tim , I have both 2013b and 2015a versions but , I didn't find any library " Vision HDL Toolbox", I found only "Computer Vision System Toolbox" in both the versions .

Sign in to comment.

More Answers (1)

Bharath Venkataraman
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.

Community Treasure Hunt

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

Start Hunting!