How can I convert MATLAB Code to VHDL Code?

I have a MATLAB Code. Is it possible to convert into VHDL Code?

 採用された回答

TAB
TAB 2013 年 3 月 8 日

0 投票

Yes, Using HDL Coder toolbox.

6 件のコメント

Sabarinathan Vadivelu
Sabarinathan Vadivelu 2013 年 3 月 8 日
Yes, I have HDL Coder toolbox. But It was found in Simulink only. I cant find it in MATLAB. Is there any specific procedures?
TAB
TAB 2013 年 3 月 8 日
Sabarinathan Vadivelu
Sabarinathan Vadivelu 2013 年 3 月 8 日
I can't find that option in MATLAB R2011a, File > New > Code Generation Project > HDL Coder in MATLAB R2011a. Is it available only on the latest version?
TAB
TAB 2013 年 3 月 8 日
I am not sure about it. Can you check whether it is installed in your computer or not by running command
>> ver
Sabarinathan Vadivelu
Sabarinathan Vadivelu 2013 年 3 月 8 日
Yes I have Simulink HDL Coder installed on my system.
TAB
TAB 2013 年 3 月 8 日
編集済み: TAB 2013 年 3 月 8 日
Simulink HDL Coder 2.1 is not integrated into the MATLAB Coder. The command line version of the tool is makehdl.
Please search makehdl in matlab documentation.

サインインしてコメントする。

その他の回答 (3 件)

Tim McBrayer
Tim McBrayer 2013 年 3 月 11 日

0 投票

Native MATLAB code generation was introduced in release R2012a, with HDL Coder 3.0.
Simulink HDL Coder was only available in release R2011a. With R2011a, you will need to place your MATLAB code, manually converted to a suitable fixed-point representation, into Simulink's MATLAB Function block.
Kiran Kintali
Kiran Kintali 2020 年 4 月 19 日

0 投票

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.
HDL Coder provides a workflow advisor that automates the programming of Xilinx®, Microsemi®, and Intel® FPGAs. You can control HDL architecture (49:42) and implementation, highlight critical paths, and generate hardware resource utilization estimates. HDL Coder provides traceability between your Simulink model and the generated Verilog and VHDL code, enabling code verification for high-integrity applications adhering to DO-254 and other standards.
Release Timelines:
Simulink to HDL (R2006b) (also includes support for Stateflow and MATLAB function block)
MATLAB to HDL (R2012a) (also includes automated fixed-point conversion for MATLAB before HDL code generation)
Simscape to HDL (R2018b) (linear and switched linear models)

1 件のコメント

samira sorayaasa
samira sorayaasa 2021 年 8 月 4 日
how about the moselsim and xillinx version?doesthe free one of modelsim work?how about xilinx 13.4?
which one is necessary?or both?

サインインしてコメントする。

Bharath Venkataraman
Bharath Venkataraman 2024 年 1 月 5 日

0 投票

This page talks to HDL code generation from MATLAB and includes topics like verification and deployment.

カテゴリ

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by