Course Description
This course describes the AMD Versal™ AI Engine architecture, how to program the AI Engines (single kernel programming and multiple
kernel programming using data flow graphs), the data communications between the PL and AI Engines, and how to analyze the kernel
program using various debugger features.
The emphasis of this course is on:
▪ Describing the AI Engine (AIE) architecture
▪ Illustrating the Versal AI Engine tool flow
▪ Designing with single AI Engine kernels using the Vitis™ unified software platform
▪ Designing with multiple AI Engine kernels using data flow graphs with the Vitis Unified IDE
▪ Reviewing the data movement between AI Engines, between AI Engines via memory and DMA, and between AI Engines to
programmable logic (PL)
▪ Analyzing and debugging kernel performance
▪ Describing the AIE-ML architecture
▪ Illustrating the programming model for the AIE-ML
What’s New for 2024.1
▪ Versal Adaptive SoC – Application Mapping and Partitioning
module: Updated with the system design planning flow
▪ Versal AI Engine Tool Flow module: Updated with Vivado and
Vitis flows
▪ All the labs have been updated to the latest software versions
Level – ACAP 2
Course Details
▪ 2 days ILT /19
Course Part Number – AIE-ARCH
Who Should Attend? – Software and hardware developers, system architects, and anyone who needs to accelerate their software
applications using devices
Prerequisites
▪ Comfort with the C/C++ programming language
▪ Software development flow
▪ Vitis software for application acceleration development flow
Software Tools
▪ Vitis unified IDE 2024.1
Hardware
▪ Architecture: Versal adaptive SoCs
After completing this comprehensive training, you will have the
necessary skills to:
▪ Describe the AMD Versal adaptive SoC architecture at a highlevel
▪ Describe the various engines in the Versal device and the motivation behind the AI Engine
▪ Describe the architecture of the AI Engine
▪ Describe the memory access structure for the AI Engine
▪ Describe the full application acceleration flow with the AMD Vitis Unified IDE
▪ Enumerate the toolchain for Versal AI Engine programming
▪ Explain what AI Engine APIs are
▪ Program a single AI Engine kernel using the Vitis tool
▪ Program multiple AI Engine kernels using adaptive data flow (ADF) graphs
▪ Describe the architecture of the AIE-ML
▪ Describe the programming model for the AIE-ML
Course Outline
Day 1
Versal Adaptive SoC Architecture
▪ Overview of the AMD Versal Adaptive SoC Architecture
Provides an overview of the Versal architecture at a high level and describes the various compute domains in the Versal device,
such as the processor system, programmable logic, and AI Engines. Also describes how the AI Engine in the Versal device
meets many dynamic market needs. {Lecture}
Versal AI Engine (AIE) Architecture
▪ Versal AI Engine Architecture
Introduces the architecture of the AI Engine and its components. {Lecture}
▪ AI Engine Interfaces
Describes the AI Engine interfaces that are available, including the memory, lock, core debug, cascaded stream, and AXI-Stream
interfaces. {Lecture}
▪ Versal AI Engine Memory and Data Movement
Describes the memory module architecture for the AI Engine and how memory can be accessed by the AI Engines in the AI Engine
arrays. {Lecture}
Design Analysis
▪ Versal Adaptive SoC: Application Mapping and Partitioning
Covers the system design methodology and describes how different models of computation (sequential, concurrent, and functional) can be mapped to the Versal adaptive SoC. Also describes what application partitioning is and how an application can be accelerated by using the various compute domains in the Versal device. {Lecture}
Vitis Tool Flow
▪ Versal AI Engine Tool Flow
Reviews the Vitis tool flow for the AI Engine and demonstrates the full application acceleration flow for the Vitis platform. {Lecture,
Labs}
The Programming Model
▪ Scalar and Vector Data Types
Provides an AI Engine functional overview and identifies the supported vector data types and high-width registers for allowing
single-instruction multiple-data (SIMD) instructions. {Lecture}
▪ AI Engine APIs
Describes what AI Engine APIs are, the three types of vector manipulation operations using AI Engine APIs (load and store,
element conversion, and lane insertion/extraction), multiplication
functions, and application-specific functions. {Lecture}
▪ IO Buffers and Streaming Data APIs
Discusses the input/output buffers and streaming data APIs and reviews the various buffer operations for kernels. {Lecture}
Design Analysis
▪ Analyzing AI Engine Design Reports Using the Vitis Unified IDE
Describes the different reports generated by the tool and how to view the reports that help to optimize and debug AI Engine
kernels using the Analysis view in the Vitis Unified IDE. {Lecture}
The Programming Model
▪ The Programming Model: Single Kernel
Reviews the AI Engine kernel programming flow for programming and building a single kernel. Also illustrates the steps to create,
compile, simulate, and debug a single kernel program using the Vitis Unified IDE. {Lecture, Lab}
Day 2
The Programming Model
▪ The Programming Model: Single Kernel Using Vector Data Types
Illustrates Versal AI Engine kernel programming in detail, reviewing the scalar kernel code and comparing with vector kernel
code that utilizes AI Engine APIs and vector data types. {Lab}
▪ The Programming Model: Introduction to the Adaptive Data Flow (ADF) Graph
Provides the basics of the data flow graph model and graph input specifications for AI Engine programming. Also reviews graph
input specifications, such as the number of platforms and ports. {Lecture}
▪ The Programming Model: Multiple Kernels Using Graphs
Describes the ADF graph in detail and demonstrates the steps to create a graph and set the runtime ratio and graph control APIs
from the main application program. {Lecture, Lab}
Versal AI Engine (AIE-ML) Architecture
▪ Introduction to the AIE-ML Architecture
Introduces the architecture of the AIE-ML at different levels, such as the array, tiles, and components. {Lecture}
▪ AIE-ML Memory Tiles and Programming
Describes the memory tiles in the AIE-ML architecture and illustrates AI Engine-ML programming using both shared buffers
and external buffers with the AIE-ML. {Lecture, Lab}
PDF Version Designing with Versal AI Engine Architecture and Design Flow – 1