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 Coder | Generate HDL code from MATLAB code |
codegen | Generate HDL 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 |
coder.HdlConfig | HDL codegen configuration object |
Workflows in HDL Workflow Advisor
Learn about the HDL Workflow Advisor and various workflows you can choose and platforms you can target.
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® module
for each function.