.m to HDL
1 ビュー (過去 30 日間)
I programmed an .m file using only the functions that could be used for code generation.
What is the link between the .m file (that is correctly programmed) and HDL code? What is the step I should do in between? If you have a link that could help, I would really appreciate it too alongside your answer.
Waiting for your reply.
回答 (1 件)
Tim McBrayer 2012 年 3 月 7 日
The basic answer is that you need to have HDL Coder installed. With the recent release of R2012a, HDL Coder now supports HDL code generation directly from untimed MATLAB code. With releases prior to R2012a MATLAB code must be brought into Simulink HDL Coder via the MATLAB function block. The product page for HDL Coder is located at http://www.mathworks.com/products/hdl-coder/?s_cid=HP_FP_SL_simhdl. If you already have HDL Coder installed, the product documentation is the best place to start.