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 visualizaciones (últimos 30 días)
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?

Respuestas (2)

Tim McBrayer
Tim McBrayer el 10 de En. de 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 el 10 de En. de 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.

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by