Tools - 2024.1 English

AI Engine-ML Kernel and Graph Programming Guide (UG1603)

Document ID
Release Date
2024.1 English

Vitis Integrated Design Environment

The AMD Vitis™ integrated design environment (IDE) can be used to target system programming of AMD devices including Versal devices. It supports development of single and multiple AI Engine kernel applications. The following features are available in the tool.

  • An optimizing C/C++ compiler that compiles the kernels and graph code making all of the necessary connections, placements, and checks to ensure proper functioning on the device.
  • A fast functional simulator that is useful in identifying errors in the design. This simulator is an ideal choice for testing, debugging, and verifying your AI Engine-ML design because of the speed of iteration and the high level of data visibility it provides.
  • A cycle approximate simulator which models the timing and resources of the AI Engine-ML array while using transaction-level SystemC models for the NoC, and DDR memory. This allows for quick performance analysis of your AI Engine-ML applications and accurate estimation of the AI Engine-ML resource use, with cycle-approximate timing information.
  • A powerful debugging environment that works in both simulation and hardware environments. Various views are available, such as variables view, disassembly view, memory view, register view, and pipeline view.

Vitis Command Line Tools

Command line tools are available to build, simulate, and generate output files and reports.

  • The v++ -c --mode aie command compiles kernels and graph code into ELF files that are run on the AI Engine-ML processors.
  • The aiesimulator and x86simulator are tools for cycle approximate simulation and functional simulation, respectively.
  • The cross compiler for Arm® Core is provided for PS code compilation.
  • The Vitis compiler is the system compilation and linking tool for integrating whole system together.
  • The Vitis IDE is available for report viewing and analysis of the output files and reports generated by the command line tools.

The AI Engine Tools and Flows User Guide (UG1076) contains a wealth of information on the design flow and tool usage.