Designing with Versal AI Engine: Graph Programming with AI Engine Kernels (2)

Designing with Versal AI Engine: Graph Programming with AI Engine Kernels (2)

When

19 september 2024 - 20 september 2024     
09:00 - 17:00

Reserve

€2.000,00
 / 20  Training Credits
On request

Where

Core-Vision
Cereslaan 24, 5384 VT, Heesch
Nederland

Event type

Information

Kaart niet beschikbaar

Course Description

This course describes the system design flow and interfaces that can be used for data movement in the Versal™ AI Engine. It demonstrates how to utilize AI Engine APIs and the AI Engine DSP library for faster development.
In addition, advanced features in adaptive data flow (ADF) graph implementation, such as using streams, cascade streams, buffer location constraints, runtime parameterization, and APIs to update and read runtime parameters, are covered. The course also highlights how to utilize the Vitis™ Model Composer tool for AI Engine designs.

The emphasis of this course is on:

  • Implementing a system-level design flow (PS + PL + AIE) and the supported simulation
  • Using an interface for data movement between the PL and AI Engine
  • Utilizing AI Engine APIs for arithmetic operations and advanced MAC intrinsics to implement filters
  • Utilizing the AI Engine DSP library for faster development
  • Applying advanced features for optimizing a system-level design
  • Utilizing the Vitis Model Composer tool for AI Engine designs


What's New for 2023.2

  • System Design Flow module: Split into two modules – "System Design Flow" and "System Design Flow: Models and Methodology"
  • Updated information on external traffic generators in the "System Design Flow" module
  • All labs have been updated to the latest software versions

Level

ACAP 2

Course Duration

2 days

Audience

Software and hardware developers, system architects, and anyone who needs to accelerate their software applications using our devices

Prerequisites

  • Comfort with the C/C++ programming language
  • Software development flow
  • Vitis software for application acceleration development flow

Software Tools

  • Vitis Unified IDE 2023.2

Hardware

  • Architecture: Versal adaptive SoCs

Skills Gained

After completing this comprehensive training, you will have the necessary skills to:

  • Describe system-level application partitioning for AMD Versal devices
  • Describe the data movement between the PS, PL, and AI Engines as well as the clocking specifications
  • Describe and implement a system-level design integrating PS + PL + AI Engines for Versal adaptive SoCs with the Vitis tool flow
  • Describe the supported emulation for a system-level design
  • Describe the Vitis export to Vivado™ flow as well as the AI Engine reset and reload methodology
  • Utilize the AI Engine DSP library for faster development
  • Apply location constraints on kernels and buffers in the AI Engine array
  • Apply runtime parameters in a graph to modify application behavior
  • Debug and analyze a system-level design using Vitis debug and trace
  • Utilize the AI Engine library in Vitis Model Composer for AI Engine development

Course Outline

Day 1

  • Versal Adaptive SoC: Application Partitioning 1 (Review) -  Covers what application partitioning is and how an application can be accelerated by using various compute engines in the Versal device. Also describes how different models of computation (sequential, concurrent, and functional) can be mapped to the Versal adaptive SoC. {Lecture}
  • Versal Adaptive SoC: Application Partitioning 2 - Explains how image and video processing can be targeted for the Versal device by utilizing the different engines (Scalar Engine, Adaptable Engine, and Intelligent Engine). Also describes the AI engine development flow. {Lecture
  • Versal Adaptive SoC: Data Communications 1 - Describes the implementation of AI Engine and programmable logic (PL) kernels and how to implement the functions in the AI Engine that take advantage of low power. {Lecture}
  • Versal Adaptive SoC: Data Communications 2 - Describes the programming model for the implementation of stream interfaces for the AI Engine kernels and PL kernels. Lists the stream data types that are supported by AI Engine and PL kernels. {Lecture, Lab}
  • System Design Flow - Demonstrates the Vitis compiler flow to integrate a compiled AI Engine design graph (libadf.a) with additional kernels implemented in the PL region of the device (including HLS and  RTL kernels) and link them for use on a target platform. These compiled hardware functions can then be called from a host program running in the Arm® processor in the Versal device or on an external x86 processor. {Lecture, Lab}
  • System Design Flow: Models and Methodology - Reviews the system simulation models and illustrates the Vitis export to Vivado flow. Also describes the AI Engine reset and reload methodology. {Lecture, Lab}
  • Introduction to AI Engine APIs for Arithmetic Operations - Describes the Versal AI Engine APIs for arithmetic, comparison, and reduction operations. Also describes the matrix multiplication, FFT, and special multiplication operations. For advanced users, covers how to implement filters using advanced intrinsics functions for various filters, such as non-symmetric FIRs, symmetric FIRs, or half-band decimators. {Lecture}

Day 2

  • Introduction to the AI Engine DSP Library - Provides an overview of the available DSP library, which enables faster development and comes with ready-to-use example designs that help with using the library and tools. {Lecture, Labs}
  • Advanced Graph Input Specifications -  Learn advanced features such as using initialization functions, writing directly using streams from the AI Engine, cascade stream, core location constraints, and buffer location constraints. {Lecture}
  • Advanced Graph Input and Runtime Parameters - Describes how to implement runtime parameterization, which can be used as adaptive feedback and to switch functionality dynamically. {Lecture, Lab}
  • Versal AI Engine Application Debug and Trace - Shows how to debug the AI Engine application running on the Linux® OS and how to debug via hardware emulation that allows simulation of the application. {Lecture}
  • Vitis Model Composer for AI Engine Design - Describes the Vitis Model Composer tool and how to use the libraries available with the tool for AI Engine design development. {Lecture, Lab}

Request

Tickets

€2.000,00

Registration information

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram