whether any .m file consists of MATLAB function of a transceiver program can be converted into its HDL code for FPGA implementation ? If yes then anyone can please guide me on that?
Show older comments
I have written a MATLAB code in .m format not in SIMULINK. The program consist of a transceiver that uses function like pskmod, ifft, fft, filter, reshape, pskdemod etc. I want to generate HDL code for it. Anyone can please help me out?
Answers (2)
Tim McBrayer
on 10 Jan 2014
0 votes
The HDL Coder documentation contains the list of HDL-supported functions. If the toolbox functions you want to use are not supported, you may need to implement them using functions that are supported.
Bharath Venkataraman
on 10 Jan 2014
0 votes
In order to use the modulator and demodulator, you will need to use the System objects (for example: comm.QPSKModulator). A number of operators like reshape are supported for HDL code generation. The FFT and IFFT will have to be implemented using MATLAB. To see examples of how to implement algorithms using MATLAB, you can type eml_hdl_design_patterns to see some common designs implemented in MATLAB.
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!