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

1 次查看(过去 30 天)
how to convert MATLAB code in VHDL ? which tool boxes to download?

采纳的回答

Kiran Kintali
Kiran Kintali 2021-12-3
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 个评论
Trushita Chaware
Trushita Chaware 2021-12-7
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.

请先登录,再进行评论。

更多回答(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 2021-12-3
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.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by