The design contains 3 partitions in directories partition_reload_diff_graph/pr0_gmio, partition_reload_diff_graph/pr1_rtp and partition_reload_diff_graph/pr2_perf. The graph code can be found in aie directories in the partitions. Another different graph for the same partition can be found in partition_reload_diff_graph/pr0_gmio/aie2 and partition_reload_diff_graph/pr1_rtp/aie2.
The host code for running each partition seperately can be found in sw directories in the partitions. And the partition_reload_diff_graph/sw directory contains host code for controlling multiple partitions.
To build design ready for HW, run the following command:
cd <TUTORIAL_PATH>/partition_reload_diff_graph
make package
Boot with sd_card.img and change the working directory to /run/media/mmcblk0p1. Run applications to control the separate partitions:
./host0.exe pr0.xclbin pr0_2.xclbin
./host1.exe pl.xclbin pr1.xclbin pr1_2.xclbin
./host2.exe pl.xclbin pr2.xclbin
Following host application executes and reloads multiple partitions with different graphs:
./host.exe pl.xclbin pr0.xclbin pr0_2.xclbin pr1.xclbin pr1_2.xclbin pr2.xclbin