Running a design

Versal AI Core Series VCK190 Evaluation Kit

Release Date
2021-03-11

For the two designs that you have download via the PetaLinux BSP for the VCK190 board here are the instructions to run them once you have prepared the SD card.

Set up a terminal session between a PC COM port and the serial port on the evaluation board. See below. Determine which COM to use to access the USB serial port on the VCK190 board. Make sure that the VCK190 board is powered on and a micro micro USB cable is connected between VCK190 board and host PC. This ensures that the USB-to-serial bridge is enumerated by the PC host.

Using Tera Term connect to the first Serial Connection, below is an example

Click OK and and the Tera Term window will pop up. In the Setup change the serial port speed to 115200, this will match the speed of the UART on the VCK190.

Power up the board you will see the boot messages from the Versal ACAP 1910.2 and you will see a Linux Prompt in the Terminal Window. Log in with root as the user and the password. There is an AI Engine example that you can run.

The AI engine with PL example demonstrates how to use AI engine for scalar computation, and use PL for data movement. In this example, to run the matrix multiplication on AI engine, we use standard matrix multiplication algorithm.The user can change the matrix size and the number of cores utilized at compile-time. The expected matrix size must be a multiple of 50 (number of cores used) with the minimum and maximum value as 100x100 and 800x800 respectively. Please note that this example is intended to be a proof of concept only. There can be other ways of implementation, which can leverage more of the AIE resource and hence can result in better performance figures.

Complete documentation on the example is at: https://github.com/Xilinx/plnx-aie-examples

  1. root@xilinx-vck190-2020_1:~# cd /lib/firmware/aie

  2. root@xilinx-vck190-2020_1:/lib/firmware/aie# aie-matrix-multiplication

Set up a terminal session between a PC COM port and the serial port on the evaluation board. See below. Determine which COM to use to access the USB serial port on the VCK190 board. Make sure that the VCK190 board is powered on and a micro USB cable is connected between VCK190 board and host PC. This ensures that the USB-to-serial bridge is enumerated by the PC host.

Using Teraterm connect to the first Serial Connection, below is an example

Click OK and and the Tera Term window will pop up. In the Setup change the serial port speed to 115200, this will match the speed of the UART on the VCK190.

Power up the board you will see the boot messages from the Versal ACAP 1910.2. At the end you will see the following.