High-Level Synthesis Code Generation from MATLAB
High-Level Synthesis (HLS) libraries are C++ based libraries that provides 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
- MATLAB Algorithm Design
Supported MATLAB syntax and functions, best practices
- Fixed-Point Conversion
Convert floating-point code to fixed-point code, optimize fixed-point data types
- Code Generation
Generate High-Level Synthesis code from MATLAB code
- Verification
Verification of generated High-Level Synthesis code using test bench
- Speed and Area Optimization
Improvements through resource sharing and RAM mapping