Step 3: Compile host code - 2025.1 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2025-08-25
Version
2025.1 English

This reference design provides separate host applications to control different partitions. For example, host code in independent_graphs/pr0_gmio/sw can be used to test partition pr0 only in hardware. However, the reference design also provides host code in independent_graphs/sw that controls multiple partitions in a single application.

In this reference design, the merged XCLBIN is used. In this flow, the graph name used in the PS host code for XRT API is prefixed with the partition name, for example:

auto ghdl=xrt::graph(device,uuid,"pr0_gr");//partition name = "pr0", graph name = "gr"

To compile host code for partitions:

cd <TUTORIAL_PATH>/independent_graphs
make host