Forum Discussion

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

Matlab code to verilog

Hi there,

Is there a compiler which can convert Matlab code directly in to VHDL/verilog format so to implement the code directly in to FPGA? I am trying to write codes on MATLAB and would like to convert the code in to verilog format so to make my life easier.:)

thnks

22 Replies

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

    Hi again,

    I managed to make a Adaptive Noise Cancellation Algorithm on matlab. Can I transfer this code on to Simulink as a user define function block and then link my FPGA and transfer the code on to my FPGA????
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No, it will not work.

    To properly achieve what I was saying you will need to program your algorithm using exclusively simulink blocks, with no .m functions.

    You basically need to rethink all your code and make it parallel.