High-Level Synthesis Code Generation
R2026bHigh-Level Synthesis (HLS) libraries are C++ based libraries that provide an event-driven simulation interface. HLS sets up a foundation for hardware software co-design and allows the re-use of a test bench across various levels of a modeling abstraction. It also facilitates concurrent running of these processes.
The MATLAB to HLS workflow is an integration of the high-level synthesis tools with the MATLAB programming environment. HLS supports C/C++ datatypes and fixed-precision datatypes that are efficient for hardware design.
Implement your MATLAB algorithm in hardware by generating HLS code and deploying that code on the hardware. Write the MATLAB algorithm with syntax and functions that are compatible with HLS code generation. If the algorithm uses floating-point data, HDL Coder™ helps you to convert it to a fixed-point algorithm. After you generate HLS code and verify that it matches your original algorithm, deploy the HLS code on your target hardware.
Categories
- Algorithm Design for HLS
Supported MATLAB syntax and functions, best practices
- Data Definition
Define data for HLS code generation
- HLS Code Generation Basics
Generate High-Level Synthesis code from MATLAB code
- Code Generation for MATLAB Classes
Generate HLS code for MATLAB classes
- HLS Code Verification
Verification of generated High-Level Synthesis code using test bench
- Fixed-Point Conversion for HLS
Convert floating-point code to fixed-point code, optimize fixed-point data types
- Speed and Area Optimization for HLS
Improvements through resource sharing and RAM mapping
- HLS Applications
MATLAB algorithms in signal processing, image processing, and communications for High-Level Synthesis code generation



