Clear Filters
Clear Filters

How do I generate standalone VHDL or Verilog code with HDL Coder?

30 views (last 30 days)
How can I generate platform-independent standalone VHDL or Verilog code with HDL Coder, without invoking synthesis and implementation in an HDL tool?
I found no "Generate Code Only" option, similar to the one that exists in Simulink Coder for C/C++ code.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Jul 2024 at 0:00
Edited: MathWorks Support Team on 17 Jul 2024 at 16:34
In a Simulink model, you have the following additional ways to generate HDL code only, without compiling any code:
  • You can use the "Generate HDL Code" button in Simulink Toolstrip:
  • Or the "Generate HDL for Subsystem" option from the HDL Coder Block context menu:
You can also use the following settings in the "Workflow Advisor" tool:
  • Workflow: "Generic ASIC/FPGA"
  • Synthesis tool: "No synthesis tool available on system path" or "No synthesis tool specified"
From MATLAB:
From Simulink:

    More Answers (0)

    Categories

    Find more on Code Generation in Help Center and File Exchange

    Products


    Release

    R2021b

    Community Treasure Hunt

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

    Start Hunting!