How to convert Simulink model to VHDL code?

17 views (last 30 days)
Hi,
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.

Accepted Answer

Krishna Adi
Krishna Adi on 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:

More Answers (2)

Stalin Samuel
Stalin Samuel on 13 Oct 2016
  • Using HDL Coder you can generate VHDL code from matlab /simulink file
  • For more details on HDL Coder click here
  1 Comment
Ibnul Jaif Farabi
Ibnul Jaif Farabi on 14 Oct 2016
Edited: Ibnul Jaif Farabi on 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?

Sign in to comment.


Bharath Venkataraman
Bharath Venkataraman on 5 Jan 2024
Here is a video that talks about how target algorithms to Microsemi FPGAs using MATLAB and Simulink.

Products

Community Treasure Hunt

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

Start Hunting!