Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
750 Views

how to convert Simulink model to VHDL, ,Matlab function using VHDL

Hope all is well, i am just wondering if any one has ever converted simulink model to VHDL codes, or has ever been able to write a matlab function using VHDL rather than c or c++

0 Kudos
3 Replies
Highlighted
Valued Contributor III
17 Views

Tools like DSPBuilder(Altera) or sysgen(Xilinx) hdl coder(Mathworks) do the conversion and not anybody can do that. 

Writing hdl for matlab function is not supported by matlab.
0 Kudos
Highlighted
Valued Contributor III
17 Views

using HDL coder you can write M code in a similar style to HDL - but then why not just write the HDL? 

 

Converting simulink models to HDL is non trivial because only a subset of the simulink blocks are supported for code generation, and you will have compilation and timing problems if you do not create the simulink models in the correct way.
0 Kudos
Highlighted
Valued Contributor III
17 Views

Thanks Guys for the reply,

0 Kudos