Main Content
Code Generation with Workflow Advisor
Use Workflow Advisor to generate HDL code from MATLAB® code
You can use the HDL Coder app to launch the Workflow Advisor and generate HDL code and synthesize your MATLAB algorithm on the target device. For an example, see Basic HDL Code Generation and FPGA Synthesis from MATLAB. HDL Workflow Advisor is not available in Simulink® Online™.
Apps
HDL Coder | Generate HDL and High-Level Synthesis (HLS) code from MATLAB code |
Functions
codegen | Generate HDL or High-Level Synthesis (HLS) code from MATLAB code |
coder.config | Create HDL Coder code generation configuration objects |
hdlcoder.CodingStandard | Create HDL coding standard customization object |
hdlsetuptoolpath | Set up system environment to access FPGA synthesis software |
Objects
coder.HdlConfig | HDL codegen configuration object |
Topics
- Workflows in HDL Workflow Advisor
Learn about the HDL Workflow Advisor and various workflows you can choose and platforms you can target.
- HDL Workflow Advisor
Overview of the HDL Workflow Advisor.
- Create and Set Up Your Project
At the MATLAB command line, enter:
- Generate Instantiable Code for Functions
You can use the Generate instantiable code for functions option to generate a VHDL®
entity
, or Verilog® or SystemVerilogmodule
for each function. - Edit Configuration Parameters for HDL Coder
Edit HDL Coder configuration object parameters interactively.