You can import an HLS function into your Vitis Model Composer design using the xmcImportFunction
command. Importing C/C++ Code as Custom Blocks describes this. You can
simulate the block along with other blocks available in the Model Composer HLS
library.
You can generate HLS code from a system comprising one or more imported HLS function blocks and other HLS blocks from the library. (Except for the HLS Kernel block.) Vitis Model Composer can also import HLS kernels. This section describes HLS Kernels and how it is different from an HLS function.