Vitis Model Composer lets you import
Vitis™ HLS library functions and user C/C++
code as custom blocks to use in your algorithm for
both simulation and code generation.
The Library Import feature is a MATLAB function, xmcImportFunction
,
which lets you specify the required source files and automatically creates an associated
block that can be added into a model in
Simulink®
.
This lab primarily has two parts:
- In Step 1, you are introduced to the
xmcImportFunction
function, and walk through an example. - In Step 2, you will learn about the Vitis Model Composer feature that enables you to create custom blocks with function templates
For more details and information about other Model Composer features, see the Vitis Model Composer User Guide (UG1483).