Templates - Templates - 2026.1 English - UG1399

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2026-06-23
Version
2026.1 English

Vitis HLS supports the use of templates in C++ for synthesis. Vitis HLS does not support templates for the top-level function. Refer to Vitis-HLS-Introductory-Examples/Modeling on GitHub for an example of these concepts.

Important: The top-level function cannot be a template.