Step 3: Compile Host Code - Step 3: Compile Host Code - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2026-03-27
Version
2025.2 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.

This reference design uses the merged XCLBIN. In this flow, the partition name prefixes the graph name used in the PS host code for XRT API, 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