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?

3 Ansichten (letzte 30 Tage)
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
Tim McBrayer am 10 Jan. 2014
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
Bharath Venkataraman am 10 Jan. 2014
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 Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by