Setting up the environment - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
Release Date
2023.2 English

First, set up the environment for integrating the subsystem with the custom platform and validating the design using the hardware emulation and hardware as follows:

  1. Set up your PLATFORM_REPO_PATHS environment variable based upon where you created the custom platform during Step 2. For example, if the custom platform is created in the path <vck190_custom_path>/export/vck190_custom/, the PLATFORM_REPO_PATHS should be set accordingly.

  2. Change the BASE_PLATFORM in the Makefile to point to the custom .xpfm file created in the <vck190_custom_path>/export/vck190_custom/ directory.

    For example: BASE_PLATFORM = ${PLATFORM_REPO_PATHS}/vck190_custom.xpfm

  3. Make sure your ROOTFS and IMAGE are still pointing to the xilinx-versal-common-v2023.2 directory.

    Note : The $PLATFORM_REPO_PATHS now points to the custom platform and it does not contain the rootfs.ext4 and Image files as pointed in the Makefile.

Note that all other commands in the Makefile remain the same. Only the platform needs to be changed for re-targeting the design using custom platform.