Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21613 Discussions

Matlab code to verilog

Altera_Forum
Honored Contributor II
10,132 Views

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
0 Kudos
22 Replies
Altera_Forum
Honored Contributor II
794 Views

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????
0 Kudos
Altera_Forum
Honored Contributor II
794 Views

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.
0 Kudos
Reply