how to convert matlab code in VHDL ? which tool boxes to download?

3 visualizzazioni (ultimi 30 giorni)
how to convert MATLAB code in VHDL ? which tool boxes to download?

Risposta accettata

Kiran Kintali
Kiran Kintali il 3 Dic 2021
You need to partition the MATLAB code into design and testbench files and create a HDL Coder project.
Try a sample MATLAB to HDL example
mlhdlc_demo_setup('heq')
  1 Commento
Trushita Chaware
Trushita Chaware il 7 Dic 2021
Yes Thanks. For using HDL coder, do weneed to write function for executing?
Also it is asking for some compiler to download and visit to site http://www.mathworks.com/support/compilers.html.
Is it? and which compiler I should download.

Accedi per commentare.

Più risposte (2)

Harikrishnan Balachandran Nair
Hi,
You can use the HDLCoder toolbox to convert your Matlab Code to required HDL Code.
HDL CoderTM generates portable, synthesizable Verilog® and VHDL® code from MATLAB® functions, Simulink® models, and Stateflow® charts. The generated HDL code can be used for FPGA programming or ASIC prototyping and design.

Trushita Chaware
Trushita Chaware il 3 Dic 2021
Yes Thanks. For using HDL coder, do weneed to write function for executing?
Also it is asking for some compiler to download and visit to site http://www.mathworks.com/support/compilers.html.
Is it? and which compiler I should download.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by