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

7 ビュー (過去 30 日間)
Trushita Chaware
Trushita Chaware 2021 年 11 月 26 日
コメント済み: Trushita Chaware 2021 年 12 月 7 日
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
Harikrishnan Balachandran Nair 2021 年 11 月 29 日
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.

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by