Steps - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2024-03-05
Version
2023.2 English

Step 1: Copy test case from Buffer AIE.

Follow instructions in Buffer-Based AI Engine Kernels. But, run all make commands with ARCH=aie-ml. For example:

To build AIE graph, run:

make aie ARCH=aie-ml

To run aiesimulator, run:

make aiesim ARCH=aie-ml

To run HW emulation, run:

make run_hw_emu ARCH=aie-ml

After Linux has booted, run the following commands at the Linux prompt. To exit QEMU press Ctrl+A and then press x. (this is only for HW cosim):

./host.exe a.xclbin

To build system design targeting HW flow, run:

make package TARGET=hw ARCH=aie-ml

To run in hardware, after booting Linux, run the following commands at the Linux prompt. (login with user name:petalinux, password:petalinux. run sudo su with password:petalinux before running following commands):

cd /run/media/mm*1
./host.exe a.xclbin

Step 2: Copy test case from Buffer AIE mix types.

Follow instructions in Buffer-Based AI Engine Kernels with Mixed Data Types. But, run all make commands with ARCH=aie-ml. See run commands in step 1.

Step 3: Copy test case from Pktstream AIE.

Follow instructions in Packet Stream-Based AI Engine Kernels. But, run all make commands with ARCH=aie-ml. See run commands in step 1.