Step 3: Using XSIM Waveform GUI and QEMU - 2023.2 English

Vitis Tutorials: AI Engine

Document ID
Release Date
2023.2 English

A great benefit of having a waveform viewer showing live data is so you can see how the signals interact with each other. This includes the programming of the AI Engine and device traffic to/from the DDR memory, traffic to/from the PL kernels, as well as seeing RTP data being written to the AI Engine.

  1. Click the Run All button (run all).

  2. Click back to the terminal where ./ was launched. The QEMU instance has begun booting and when you see the following messages QEMU has finished launching.

    versal-rootfs-common-20222 login: root (automatic login)
    [   53.752390] audit: type=1006 audit(1666762798.812:2): pid=585 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   53.753038] audit: type=1300 audit(1666762798.812:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffc55ea440 a2=1 a3=ffff94b186b0 items=0 ppid=1 pid=585 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   53.753819] audit: type=1327 audit(1666762798.812:2): proctitle="(systemd)"
                                                                                                                                   	 ^root@versal-rootfs-common-20222:~# mount /dev/mmcblk0p1 /mnt
    root@versal-rootfs-common-20222:~# cd /mnt
    root@versal-rootfs-common-20222:/mnt#  ls
    BOOT.BIN          a.xclbin          data              host.exe
    Image             boot.scr
  3. Hit Enter a few times to clear these messages, and you should see this prompt.

    Type in the following commands to launch the tutorial application.

    ./host.exe a.xclbin

    NOTE: This might take some time to complete because hardware emulation is collecting profiling data as well as value change dump (VCD) data.

  4. Navigate back to the XSIM Waveform GUI and notice that signals are toggling. Scroll up and down to see all the signals that are starting to display data.

  5. Pause the execution of the design when you see all signals in the view stop toggling.