Create an AI Engine and PL System Design - 2024.1 English

Vitis Tutorials: Vitis Platform Creation (XD101)

Document ID
XD101
Release Date
2024-06-19
Version
2024.1 English
  1. Create an AI Engine system design application on the custom platform.

    1. Select File -> New -> Application Project.

    2. Go through the welcome page and click Next.

    3. On the Platform page, select the vck190_custom_dfx platform in the platform list, and click Next.

    4. Set application name plaie, target processor psv_cortexa72_SMP. Click Next.

    5. Input Sysroot path, RootFS path, and Kernel Image. Click Next.

    6. Select template AI Engine System Design Examples -> AI Engine, PL and PS System Design. Click Finish.

  2. Build the AI Engine system design application for hardware emulation.

    1. Select plaie_system project.

    2. Click the drop down of Build hammer icon on tool bar, select Hardware-HW. Alternatively, this step can be done by selecting Active Build Configuration to Emulation HW and clicking build icon.

  3. Build the AI Engine system design application for hardware.

    • Select the plaie_system project.

    • Click the drop-down of Build hammer icon on tool bar, select Hardware. Alternatively, this step can be done by selecting Active Build Configuration to Hardware and clicking build icon.

    • If a dialogue box opens to ask whether to clean the project, select Don’t clean.

  4. After a successful build, an sd_card.img file is generated in the plaie_system/Hardware/package and plaie_system/Hardware/package_no_aie_debug directories. They include all files in sd_card directory in the first FAT32 partition and contents of rootfs.ext4 in second EXT4 partition. The differences are the sd_card.img in package directory has a package parameter enable_aie_debug=1. It is used for debugging. The one in package_no_aie_debug can work for free running.