Adding Sources - 2022.2 English

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

Document ID
UG1393
Release Date
2022-12-07
Version
2022.2 English

A project consists of many different source files, including C/C++ files and headers for the Writing the Software Application, Developing PL Kernels using C++, compiled Xilinx object (XO) files containing RTL kernels as discussed in Packaging RTL Kernels, or HLS kernels. 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.