Main Content
Code Generation
Generate High-Level Synthesis code from MATLAB® code
You can generate High-Level Synthesis (HLS) code from MATLAB code by using the HDL Coder™ app. The HDL Workflow Advisor generates HLS code and synthesize the generated code by using the synthesis tools.
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 |
hdlsetuphlstoolpath | Set up system environment to access High-Level Synthesis (HLS) software (Since R2022a) |
Objects
coder.HdlConfig | HDL codegen configuration object |
Model Settings
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:
- MATLAB to HLS Code Generation Options
Describes MATLAB to HLS workflow.
- HLS Code Generation Report
High-Level Synthesis (HLS) code generation report.
- Call Custom HLS Code from the Generated HLS Code
Integrate C/C++ code with MATLAB code intended for code generation.