Run on Hardware - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
Release Date
2023.2 English

To run the design in hardware, re-run the following “make” steps with TARGET=hw and other applicable options (see the make steps above)

make kernels     TARGET=hw
make xsa         TARGET=hw
make application TARGET=hw
make package     TARGET=hw

this can also be done is a single step as follows:

make build TARGET=hw

Now follow Steps 1-9 to run the fir_hls_xrt.elf executable on your VCK190 board.

Step 1. Ensure your board is powered OFF.

Step 2. Use an SD card writer (such as balenaEtcher) to flash the sd_card.img file onto an SD card.

Step 3. Plug the flashed SD card into the top slot of the VCK190 board.

Step 4. Set the switch SW1 Mode[3:0]=1110 = OFF OFF OFF ON.

Step 5. Connect your computer to the VCK190 board using the included USB cable.

Step 6. Open a TeraTerm terminal and select the correct COM port. Set the port settings to the following:

Port: <COMMXX>
Speed: 115200
Data: 8 bit
Parity: none
Stop Bits: 1 bit
Flow control: none
Transmit delay: 0 msec/char 0 msec/line

Step 7. Power ON the board.

Step 8. Wait until you see the root@versal-rootfs-common-2023_2 Linux command prompt. Press enter a few times to get past any xinit errors.

Step 9. Run the following commands into the TeraTerm terminal:

mount /dev/mmcblk0p1 /mnt
cd /mnt
./fir_hls_xrt.elf a.xclbin

After execution completes and the testcase passes data integrity check, ‘TEST PASSED’ should appear on the terminal.