Main Content

HLS Code Generation Basics

R2026b
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.

Tools

Workflow AdvisorGenerate synthesizable HLS code and test benches from MATLAB code (Since R2022a)

Functions

codegenGenerate HDL or High-Level Synthesis (HLS) code from MATLAB code
coder.configCreate HDL Coder code generation configuration objects
hdlsetuphlstoolpathSet up system environment to access High-Level Synthesis (HLS) software (Since R2022a)
convertToHlsConfigConvert coder.HdlConfig object to coder.HlsConfig object (Since R2026b)
mlhdlc_demo_setupCopy demo example files to the current or specified directory (Since R2026b)

Objects

coder.HlsConfigHLS code generation configuration object configuration object (Since R2026b)

Topics

Featured Examples