Errors in HDL conversion

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

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!