Installation¶
Prerequisites¶
To use the test harness, up-to-date installations of the following softwares are needed:
- Vitis tools (https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vitis.html)
- Xilinx Runtime (https://www.xilinx.com/products/design-tools/vitis/xrt.html#gettingstarted)
- Versal common image for Vitis embedded platforms (https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms.html)
Installation Instructions¶
Clone this repository:
git clone https://github.com/Xilinx/AI-Engine-Test-Harness.git cd AI-Engine-Test-Harness/ git checkout -b your-branch-name origin/2023.1
Download the prebuilt test harness XSA:
cd Test_Harness/bin source download.sh
Caution
The prebuilt XSA can only be used with the 2023.1 version of the Vitis tools. To build and test your AI Engine graph using other version of Vitis, you must first rebuild the XSA with the corresponding version of the Vitis tools, as described in the section below.
Rebuilding from Source¶
The prebuilt test harness XSA can optionally be rebuilt from source as follows:
cd Test_Harness/test_harness
source <path to Vitis installation>/settings64.sh
make xsa