Main Content

SystemC Code Generation from MATLAB

Generate SystemC Code from MATLAB® algorithms

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.