SystemC Code Generation from MATLAB
SystemC™ is a C++ library that provides an event-driven simulation interface. SystemC 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 SystemC workflow is an integration of the high-level synthesis (HLS) tools with the MATLAB programming environment. SystemC supports C/C++ datatypes and fixed-precision datatypes that are efficient for hardware design.
Implement your MATLAB algorithm in hardware by generating SystemC code and deploying that code on the hardware. Write the MATLAB algorithm with syntax and functions that are compatible with SystemC code generation. If the algorithm uses floating-point data, HDL Coder™ helps you to convert it to a fixed-point algorithm. After you generate SystemC code and verify that it matches your original algorithm, deploy the SystemC 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 SystemC code from MATLAB code
- Verification
Verification of generated SystemC code using test bench
- Speed and Area Optimization
Improvements through resource sharing and RAM mapping