Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

convert matlab code to hdl code

Status
Not open for further replies.

suga

Member level 2
Joined
Jan 23, 2012
Messages
49
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
chennai
Activity points
1,596
hi
I wants to know flow step of converting Matlab Code to VHDL Code
 

Most FPGA vendors provide a synthesis tool for doing just this. Actel used to provide Synplify DSP, although it is now called synphony. I believe Xilinx and Altera have an equivalent. It actually works as a bolt-on to Matlab rather than an integrated FPGA tool look here for the Actel page. http://www.actel.com/products/solutions/dsp/default.aspx
 

Converting matlab to HDL is not a simple task. mathworks provide HDL coder for simulink, and the major vendors provide simulink toolkits for a similar job. But it is NOT just a case of taking your matlab, press "convert" and compile. You need to ensure your Matlab is written in a hardware friendly mannor. It is a huge job, and not simple.
 

As mentioned above, it is not straight-forward process. It does not convert any fancy Matlab function but some simple structure such as a state machine.
If you are not familiar with FPGAs or HDLs, it will be better to design using Simulink with FPGA vendor provided toolboxes such as DSP Builder and System Generator.
 

Hi suga

I can possibly convert your design from MATLAB to VHDL. First I will hand code an equivalent C model and then automatically generate VHDL with my own high-level synthesis tool.

PM me if you are interested in discussing this matter further.

Best regards,
the_penetrator

---------- Post added at 16:54 ---------- Previous post was at 16:52 ----------

@chipseller: The solution you suggest is basically using Synopsys Synphony Model Compiler as packaged within an Actel offering.

Actel doesnot have a sufficiently good high-level synthesis technolgy, they never did. They do have mature DSP/design tools.

the_penetrator
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top