Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Convert m file to verilog/vhdl?

Hi Guys,

Is there any way to convert Matlab .m code to verilog or vhdl? Does DSP builder only compile simulink file?

Thanks

Jerry

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    its not even as simple as that.

    M code is inherently procedural, like C. VHDL/verilog are description languages and are parallel languages. If you want to convert from simulink to HDL code you have to design your algorithm appropriatly, usually with the involvement of a hardware engineer.