MATLAB Answers

Errors in HDL conversion

1 view (last 30 days)
Madhu on 14 May 2012
Hi I am using MATLAB 2011b and i am trying to generate HDL code out of many example models but i am getting as error as "Frame Based Models are not supported for HDL code generation"
Please help me to get out of this problem.
Thank You

Accepted Answer

Tim McBrayer
Tim McBrayer on 14 May 2012
This is a limitation of Simulink HDL Coder. You can not reasonably synthesize a device that takes a frame of data at a time as an input. Even a small image frame will contain many more bits of input than any FPGA has pins. Also, the hardware resource requirements for processing a frame at a time an a FPGA are extreme.
You will need to convert your Simulink design into a form that provides a serial bit-stream to your DUT. If you look at the Simulink HDL Coder examples, you can find examples of this in the Sobel Edge Detection example, and also in the Image Reconstruction example.
  1 Comment
Madhu on 15 May 2012
Thank you Tim.

Sign in to comment.

More Answers (0)



Community Treasure Hunt

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

Start Hunting!