How to convert Simulink model to VHDL code?

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

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)

  • Using HDL Coder you can generate VHDL code from matlab /simulink file
  • For more details on HDL Coder click here

1 Comment

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.

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!