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.

 采纳的回答

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:

更多回答(2 个)

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

1 个评论

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?

请先登录,再进行评论。

Here is a video that talks about how target algorithms to Microsemi FPGAs using MATLAB and Simulink.

类别

Community Treasure Hunt

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

Start Hunting!

Translated by