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?
Ältere Kommentare anzeigen
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?
Antworten (2)
Tim McBrayer
am 10 Jan. 2014
0 Stimmen
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
am 10 Jan. 2014
0 Stimmen
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.
Kategorien
Mehr zu Code Generation finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!