Examples - Examples - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English
kernel = vfs.hlsKernel(
    input_files="<path-to-your-kernel>.cpp",
    hls_function="sum_of_four",
)

# Multiple sources and include paths
kernel = vfs.hlsKernel(
    input_files=["top.cpp", "helpers.cpp"],
    hls_function="top",
    include_paths=["include", "lib/include"],
)