Adding Sources - 2022.1 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
Release Date
2022.1 English

A project consists of many different source files, including C/C++ files and headers for the Host Programming, C/C++ Kernels, compiled Xilinx object (XO) files containing RTL kernels as discussed in RTL Kernels, or HLS kernels as described in Compiling Kernels with Vitis HLS. You can add these source files as needed to support your application.

Each individual project within a system project requires its own source and data files. The host application code (host.cpp) is added to the ./src folder in the processor application project, and the kernel code (kernel.cpp), or the compiled kernel.xo files are added to the ./src folder of the kernel application project. You can add these files using the Import Sources command as explained in the next section.