Step 5: Sync Scalar - 2022.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

This step demonstrates:

  • The Array RTP update for AI Engine kernels

  • Asynchronous read of Array RTP for AI Engine kernels

  • C++ version of XRT API to control PL kernels

  • C++ version of XRT API to control graph execution

The example design is similar to Asynchronous Update of Scalar RTP for PL inside a Graph, and Array RTP Update for AI Engine Kernel, except that the AI Engine kernel has an asynchronous output, and the PL kernel inside the graph is pulled out of the graph. The example shows how to perform asynchronous reads of array RTP by the ADF API and the XRT API. The PL kernels and graph execution are controlled by the C++ version of the XRT API. This differs from the previous steps which used the OpenCL API or the C version of the XRT API.

The system to be implemented is as follows:

missing image

Note: The default working directory in this step is “step5”, unless explicitly specified otherwise.