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.
Mathworks provide HDL coder (about $10,000 per licence or something).
But be aware that Matlab -> HDL is not a simple process as only a subset of matlab can be coverted.
It may not be what you want but, if you can design your system with Simulink, you can find corresponding blocks at Xilinx Blockset in Simulink. System Generator for DSP is usable tool while designing a system. It seems like Simulink however it is synthesizable, optimized because System Generator get Xilinx blocks together.
thank you. among these two converter which one is the easiest one for my purpose? My matlab code has many real values rand functions . mathematical complex functions etc.For this conversion which one is suitable in these two?
If your purpose is just generating VHDL code, MATLAB HDL Coder is suitable. However, it generates lots of files, and most of time result is not suitable for FPGA bitstream generation.
SystemGenerator is nice tool, it allows you to design your system with IPCores like designing in Simulink.
If you knew IP CoreGen, SystemGenerator allows you to connect IPCores like Simulink blocks.
There are lots of IPCore blocks,such as filter, fft, multiplier, dds, cordic, divider, etc..., Also you can write your own mini MATLAB code such as blocks and connect this block with ready-to-use IPCores.
But, Matlab codes should be as simple as possible to get fine results. Synthesizer tries to solve your code and if it is complex, your design becomes slower and uses high resources.
SystemGenerator convert your design into HDL, NGC or bitstream as you want. Find out tutorials of SystemGenerator, read it.
MATLAB HDL coder isn't a good solution for big and aimed-to-synthesized designs but, SystemGenerator is created for this purpose.
If you can't convert your solution into IPCores, try to make your design simpler or try to understand the blocks. Anyway, you can get some results with SystemGenerator.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.