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 codegenconfiguration object | 
Topics
- Workflows in HDL Workflow AdvisorLearn about the HDL Workflow Advisor and various workflows you can choose and platforms you can target. 
- HDL Workflow AdvisorOverview of the HDL Workflow Advisor. 
- Create and Set Up Your ProjectAt the MATLAB command line, enter: 
- Generate Instantiable Code for FunctionsYou can use the Generate instantiable code for functions option to generate a VHDL® entity, or Verilog® or SystemVerilogmodulefor each function.
- Edit Configuration Parameters for HDL CoderEdit HDL Coder configuration object parameters interactively. 



