MATLAB Answers

How to convert Simulink model to VHDL code?

조회 수: 43(최근 30일)
Ibnul Jaif Farabi
Ibnul Jaif Farabi 13 Oct 2016
답변: Krishna Adi 20 Jan 2021
How can I convert a Simulink model into VHDL code? Is it later possible to implement it in the FPGA? I'll be using Microsemi SmartFusion2 FPGA.


Stalin Samuel
Stalin Samuel 13 Oct 2016
  • Using HDL Coder you can generate VHDL code from matlab /simulink file
  • For more details on HDL Coder click here
  댓글 수: 1
Ibnul Jaif Farabi
Ibnul Jaif Farabi 14 Oct 2016
As different FPGAs have different math blocks, so the code that works on one type of FPGA, might not work in another. So is it possible to define a specific FPGA in HDL Coder?

댓글을 달려면 로그인하십시오.

Krishna Adi
Krishna Adi 20 Jan 2021
Thanks Stalin for answering the question.
Yes, you need HDL coder to generate VHDL code from Simulink model and the generated HDL code can be used for FPGA programming or ASIC prototyping and design.
For more information, please refer the below link:

Community Treasure Hunt

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

Start Hunting!

Translated by