Enabling Mixed criticality applications for the Versal AI-Engines
Abstract: Adaptive Systems-on-Chips (SoCs) are increasingly being used in mixed criticality systems (MCSs), such as in autonomous driving, aviation and medical systems. In this context, AMD has proposed the Versal SoC, which has a heterogeneous architecture including, among other components, an Artificial Intelligence Engine (AIE), which is a 2D array of processors and memory tiles designed for AI and signal processing workloads. While this AIE offers significant potential for accelerating real-time data processing tasks, this has not yet been explored in the context of MCSs since individual tasks with different criticality levels cannot be dynamically assigned to tiles due to the static mapping of dataflow graphs and tasks. In this work, we propose a dynamic task dispatching infrastructure that enables task switching on the AIE at runtime. Based on this infrastructure, we present an MCS design that dynamically assigns tasks of different criticality to a pool of AIE tiles, depending on the criticality mode of the system. Our approach overcomes the limitations of static dataflow graph mappings and, for the first time, exploits the parallel processing capabilities of the AIE for MCSs. We also present a comprehensive timing analysis of the overhead introduced by the task dispatcher infrastructure, focusing on control logic, context switching and data copy operations. This shows that these operations have low variance and are negligible compared to the overall execution time, demonstrating that our infrastructure is suitable for MCSs. Finally, we evaluate the proposed infrastructure using an autonomous driving workload with tasks that have variable execution times and different criticality levels. In this case study, we maximized AIE utilization, reducing idle time by 65.5 %, while measuring an execution time overhead of less than 0.002 %, and doubling the throughput of low-criticality tasks.
Paper Prompts
Sign up for free to create and run prompts on this paper.
Explain it Like I'm 14
What this paper is about (in simple terms)
Imagine a busy kitchen with many cooks (small processors) working on different dishes (tasks). Some dishes are life-or-death important (like a medicine meal for someone with allergies), while others are nice-to-have (like dessert). In emergencies, the most important dishes must be finished on time, even if that means pausing or delaying the less important ones.
This paper shows how to run that kitchen inside a special chip from AMD called Versal, which has an “AI Engine” (AIE) made of many tiny processors in a grid. The authors design a smart “dispatcher” that decides, in real time, which cook should work on which dish, so that urgent work always gets done on time while still keeping the cooks as busy as possible.
What questions the authors asked
In easy words, the paper asks:
- How can we make a chip with many tiny processors flexibly switch between urgent (high‑critical) and non‑urgent (low‑critical) tasks while keeping timing predictable?
- Can we do this directly inside the AI Engine—without relying on other parts of the chip that might add delays—so we can trust the timing?
- How much extra time (overhead) does this flexible scheduling add, and is it small enough for real-time systems like self-driving cars or medical devices?
How they approached it (with simple analogies)
The Versal AIE is like an apartment building with many identical rooms (tiles). Normally, each room is assigned one resident forever (a “static map”), which makes changing plans hard. Also, once someone in a room starts a task, you can’t interrupt them mid-way (no preemption).
The authors built:
- A “dispatcher” (like a head chef) on one room (tile) that:
- Keeps track of incoming tasks with their deadlines and importance.
- Maintains “to-do lists” (task queues) and delivery routes (data buffers).
- Assigns tasks to any free room that can do them.
- Sends fast messages—like doorbells—with two levels of urgency (high and low priority), plus control messages.
- A “criticality-aware” strategy:
- In normal (low-criticality) mode, the dispatcher lets low-importance tasks use more rooms so the building stays busy.
- If an urgent task might miss its deadline (the system detects the “laxity” or slack time is running out), it switches to high-criticality mode, stops giving shared rooms to low-importance tasks, and moves those rooms to the urgent tasks as soon as current work finishes.
Key ideas explained with everyday language:
- Static mapping vs. dynamic dispatch: Instead of renting each room forever to one person (static), the dispatcher assigns rooms on the fly depending on who needs them most right now.
- Laxity (slack time): Think of a bus schedule—if you must arrive by 10:00 and it takes 20 minutes, you need to start by 9:40. That buffer (10:00 minus 20 minutes) is your “laxity.” If your slack is about to run out, the dispatcher switches modes to protect the urgent job.
- No preemption: You can’t kick someone out mid-shower. If a room is busy with a low-priority task, you must wait until that task finishes before reassigning the room.
- Overhead: The extra time spent on switching modes, copying data to the right room, and sending start signals—like the time between ringing a bell and someone opening the door.
What they measured and how
To be sure the system is safe and predictable, they measured where time goes:
- They used the AIE’s built-in cycle counter (like a stopwatch) to record:
- The time for a single dispatcher loop.
- The time to copy task data between memories (this grows with buffer size).
- The time to send a start message.
- The small delay before a worker starts after receiving the message.
- Plus the worst-case wait for a currently running low-priority task to finish (because tasks can’t be interrupted).
They combined these pieces to compute the worst-case “switching overhead”—the maximum extra time needed when switching from low- to high-criticality mode. They found this overhead is very small and varies very little—good for real-time guarantees.
What they found (the main results)
In a case study inspired by autonomous driving, they tested:
- A high-priority task: a particle filter (used for estimating a vehicle’s position), which sometimes takes longer depending on how many “particles” it uses (600–1024).
- A low-priority task: an FFT (a signal processing step), which runs very often but is less critical.
- Only three AIE tiles (rooms) available for computing.
- Task deadlines similar to real sensors: particle filter every 45 ms; FFT every 0.15 ms.
Here are the main takeaways:
- The dispatcher kept the urgent tasks on time by switching into high-criticality mode only when needed (based on slack time).
- Compared to a fixed setup (static mapping), their approach:
- Reduced idle (wasted) time on the processors by about 65.5%.
- Doubled how many low-priority tasks got done, without harming the urgent tasks.
- The extra switching and control time (overhead) was tiny—reported as well under 0.01% of the overall time window in their tests and negligible compared to task runtimes—so it doesn’t hurt real-time performance.
Why this matters
Many modern systems—like self-driving cars, drones, and medical devices—need to handle tasks with different importance levels at the same time. They must guarantee that critical tasks always meet their deadlines, while still using leftover time to do more.
This work shows a practical, efficient way to do that on a powerful AI-focused chip (the AMD Versal AIE):
- It avoids relying on other shared parts of the system that might add unpredictable delays.
- It uses the chip’s many small processors more effectively by assigning work on the fly.
- It makes it easier to run mixed-criticality applications safely and efficiently on the same hardware.
In short, the paper delivers a smart, low-overhead “traffic controller” inside the AI Engine that keeps urgent tasks safe while squeezing more useful work out of the hardware. This could help future cars, drones, and medical devices be both safer and more efficient.
Practical Applications
Immediate Applications
The following opportunities can be executed on current AMD Versal AIE-based platforms using the paper’s dispatcher, notification channels, and criticality-aware allocation strategy. They exploit measured low, predictable overhead (<0.002%) and demonstrated utilization gains (65.5% idle-time reduction) without relying on preemption or DPR.
- Automotive perception and sensor-fusion on domain controllers (sector: automotive)
- Use the dispatcher to dynamically share AIE tiles between high-criticality state estimation (e.g., particle filters for localization) and low-criticality signal processing (e.g., FFT-based preprocessing or logging) while guaranteeing deadlines under mode switches.
- Likely workflow: implement kernels for high/low criticality, define EET/WCET, integrate the dispatcher tile and notification streams, deploy with AMD Vitis AIE toolchain.
- Dependencies/assumptions: Versal AIE hardware; accurate EET/WCET profiling; two-mode criticality policy; certification plan for ISO 26262.
- Industrial robotics motion control (sector: robotics/industrial automation)
- Allocate tiles preferentially to safety loops (e.g., servo control, collision avoidance) in high-criticality mode; reuse tiles for trajectory optimization and predictive maintenance analytics in low-criticality mode.
- Tools/products: a “Motion-Aware AIE Runtime” that packages the dispatcher and tiling patterns for PLC/robot controllers.
- Dependencies: deterministic sensor ingress design; tile-local buffer planning to avoid lock contention; compliance with IEC 61508/ISO 10218.
- Avionics payload vs flight-critical processing (sector: aerospace)
- Guarantee flight-control and navigation tasks while opportunistically running payload DSP (e.g., SAR/EO/IR enhancement) on spare AIE tiles; dynamic reallocation on exceedance of optimistic WCET.
- Tools/workflow: timing harness using AIE cycle counters for flight-test evidence; strict buffer bank mapping to bound copy times.
- Dependencies: DO-178C/ARP4754A certification evidence; PS/NoC isolation maintained (control remains inside AIE as in the paper).
- Medical imaging and monitoring (sector: healthcare)
- Prioritize real-time acquisition and beamforming (safety/efficacy-critical) over non-critical enhancement/reconstruction or compression on portable ultrasound or monitoring devices using AIE tiles as a shared pool.
- Product concept: “AIE Mixed-Criticality Ultrasound Engine” with predefined kernels and a dispatcher profile tuned to typical frame rates and buffer sizes.
- Dependencies: device risk classification; data-proven WCET bounds; HIPAA/GDPR-compliant data flows if networked.
- 5G/6G baseband with QoS tiers (sector: telecommunications)
- Map URLLC PHY tasks to high-criticality mode and dynamically reclaim tiles from eMBB/mMTC processing when URLLC load spikes; apply laxity-based switching to safeguard URLLC deadlines.
- Workflow: per-slice EET/WCET calibration; dispatcher policies per QoS class; stream routing tuned for low-latency notifications.
- Dependencies: Versal-based DU/AIE availability; system-level QoS coordination with PS/PL and fronthaul.
- Defense/SDR/EW processing (sector: defense/SDR)
- Ensure time-critical modulation/demodulation and detection chains meet deadlines while running opportunistic spectrum analytics on remaining tiles; switch on detection events.
- Tools: dispatcher integrated into SDR frameworks; pre-verified timing envelopes for common waveforms.
- Dependencies: export/security constraints; strict control of external data ingress to avoid NoC contention.
- Real-time edge AI appliances (sector: edge computing/IoT)
- On an AIE-powered edge box, prioritize safety-relevant analytics (e.g., intrusion detection, equipment anomaly alerts) and backfill with batch analytics or logging when margins permit.
- Product/workflow: “AIE Mixed-Critical Edge Runtime” with a template DAG of kernels and a provisioning UI exposing criticality modes and WCET budgets.
- Dependencies: input data rates known; device thermal/power budgets; on-device profiling pipeline.
- Academic research and teaching (sector: academia)
- Use the dispatcher design and timing methodology to teach mixed-criticality scheduling on accelerators; benchmark new policies (beyond laxity) on a reproducible AIE testbed.
- Tools: reusable dispatcher tile, packet-stream notification channels, and measurement scripts with DDR trace capture.
- Dependencies: access to Versal boards; Vitis AIE tool versions; student-friendly docs.
- AIE dispatcher runtime library and design pattern (sector: software/tools)
- Package the dispatcher, notification channels, task queues, and buffer-bank mapping strategies as a reusable runtime for AIE, with examples (e.g., PF+FFT) and a WCET/EET measurement harness.
- Workflow: “define kernels → characterize EET/WCET → configure dispatcher thresholds and O_switch → deploy and validate with traces.”
- Dependencies: AMD Vitis/AI Engine API; adherence to power-of-two buffer sizing; maintained stream topology.
- Policy/assurance templates for mixed-critical accelerators (sector: policy/compliance)
- Provide evidence templates showing freedom-from-interference on AIE (no use of PS/NoC for control, bounded streams, measured O_switch), to support safety cases in regulated domains.
- Tools: checklists for buffer lock separation, stream-latency budgets, and dispatcher loop bounds.
- Dependencies: regulator acceptance; toolchain version control and traceability.
Long-Term Applications
These opportunities require further R&D, scaling, or ecosystem maturation (e.g., certified toolchains, automated WCET analysis, larger deployments).
- Certification-ready mixed-criticality framework for Versal AIE (sector: automotive/aerospace/medical)
- Formalize WCET bounds, prove stream and buffer-lock timing, and qualify tooling to support ISO 26262 ASIL-D/DO-178C Class A/IEC 62304 deployments.
- Dependencies: qualified compilers/runtimes; formal analysis tools; long-run stability studies.
- Multi-dispatcher, large-array scaling and fault tolerance (sector: high-performance embedded)
- Distribute control across multiple dispatcher tiles for hundreds of AIE tiles; add health monitoring, failover, and safe degradation policies.
- Dependencies: hierarchical notification topology; consensus or leader election within AIE constraints; verification of worst-case path latencies.
- Cross-accelerator mixed-critical orchestration (sector: heterogeneous computing)
- Generalize the dispatcher concept to coordinate AIE, PL accelerators, and GPUs, achieving end-to-end mixed-critical chains (e.g., camera → PL prefilter → AIE DSP → GPU DNN) with bounded timing.
- Dependencies: cross-fabric QoS; inter-subsystem notification primitives; shared WCET/EET models.
- Hybrid DPR + dispatcher with timing safeguards (sector: reconfigurable computing)
- Combine the dispatcher with time-bounded partial reconfiguration of kernels for mode changes or task set updates, using reserved NoC windows and reconfiguration budgets.
- Dependencies: deterministic DPR support in toolchain/hardware; PS/NoC isolation mechanisms; runtime schedulability analyses including reconfig costs.
- Automated mapping and memory-bank placement optimizer (sector: EDA tools)
- Build tools that given kernels and task periods automatically: assign tiles, place buffers across memory banks to minimize lock contention, and synthesize notification routes with verified latency.
- Dependencies: static analysis hooks into Vitis AIE; accurate hardware models; design-space exploration engines.
- Predictive criticality-mode management (sector: AI/controls)
- Apply online predictors to forecast EET exceedances and preemptively switch modes or redistribute tiles to reduce deadline risk while maximizing low-critical throughput.
- Dependencies: telemetry and model training; safe AI policies; fallback to conservative thresholds.
- Integration into ROS 2 and AUTOSAR Adaptive (sector: software ecosystems)
- Provide an AIE mixed-criticality executor for ROS 2 nodes or an Adaptive Platform service that exposes tile pools and mode control to applications through standardized interfaces.
- Dependencies: DDS QoS alignment; safety-compliant middleware; mapping from node priorities to dispatcher policies.
- Standardization and guidance for mixed-critical accelerators (sector: policy/standards)
- Contribute to guidelines within industry consortia for using array accelerators in MCS, defining evidence requirements for isolation, scheduling, and timing on accelerator fabrics.
- Dependencies: industry/regulatory engagement; multi-vendor applicability.
- Domain-specific product lines (sector: multiple)
- Automotive: AIE-based safety coprocessor modules for central compute, with certified dispatcher runtime.
- Telecom: AIE DU cards for baseband with URLLC-first dispatcher policies.
- Medical: AIE imaging blades with guaranteed scan-time loops and opportunistic enhancement.
- Dependencies: supply chain for Versal; domain certifications; integration with existing OEM stacks.
Assumptions and dependencies common across applications:
- Availability of AMD Versal devices with AIE and Vitis AI Engine toolchain; reliance on AIE tile stream interfaces, DMA, and memory lock semantics as described.
- Accurate per-kernel EET/WCET characterization and stable operating conditions (e.g., 1.25 GHz, thermal limits).
- Non-preemptive kernels; the method requires dispatch-time reallocation and bounded O_switch, not preemption.
- Two-mode criticality is assumed in the paper; more modes can be explored but need extended analysis.
- Buffer sizes and placement (power-of-two sizing, separate banks for parallel tasks) must follow the paper’s guidance to keep copy latencies bounded.
- External I/O and PS/NoC interactions must be architected to avoid timing interference if strict MCS guarantees are required.
Glossary
- Adaptive Systems-on-Chips (SoCs): Integrated chips that combine multiple processing and acceleration resources and can be configured for different applications and workloads. Example: "Adaptive Systems-on-Chips (SoCs) are increasingly being used in mixed criticality systems (MCSs)"
- Artificial Intelligence Engine (AIE): AMD/Xilinx’s 2D array of specialized processors and memories for AI and signal processing within Versal devices. Example: "an Artificial Intelligence Engine (AIE), which is a 2D array of processors and memory tiles"
- AXI4-Stream: A unidirectional streaming protocol from the AMBA AXI4 family used for high-throughput, low-latency data transfer. Example: "The tile interconnect module handles AXI4-Stream and memory mapped AXI4 input/output traffic."
- Bitstream prefetching: Pre-loading FPGA configuration data (bitstreams) to reduce reconfiguration latency. Example: "by combining bitstream prefetching and reservation"
- Cascade stream: A dedicated, very wide data path connecting neighboring AIE tiles for low-latency forwarding. Example: "a 384-bit cascade stream"
- Context switch: Reallocation of processing resources from one task set to another (e.g., between criticality levels) at runtime. Example: "performs a context switch, blocking the execution of low-criticality tasks (green) on Tile 2."
- Criticality mode: The system’s operating level that determines timing assumptions and resource allocation based on task assurance needs. Example: "depending on the criticality mode of the system."
- Criticality-aware resource allocation strategy: A scheduling policy that prioritizes and reallocates resources based on task criticality to meet deadlines. Example: "we propose a criticality-aware resource allocation strategy"
- Dataflow graph: An application model where computation nodes (kernels) and data channels are mapped onto hardware, often statically. Example: "applications are expressed as dataflow graphs, where nodes, called 'kernels' within AMD environment, are mapped onto individual tiles."
- Direct Memory Access (DMA): Hardware support enabling data movement between memories or peripherals without CPU intervention. Example: "a dedicated Direct Memory Access (DMA) controller"
- Dynamic partial reconfiguration (DPR): Reprogramming a portion of an FPGA at runtime without disturbing the rest of the system. Example: "applying dynamic partial reconfiguration (DPR) of the AIE"
- Dynamic task dispatching infrastructure: A runtime mechanism to assign tasks to compute tiles dynamically rather than via fixed mappings. Example: "we propose a dynamic task dispatching infrastructure"
- First-In First-Output (FIFO): A queueing buffer where elements are read in the order they were written. Example: "the stream First-In First-Output (FIFO) buffers store individual queue elements."
- Heterogeneous architecture: A computing platform integrating different types of processors/accelerators and interconnects on a single device. Example: "integrating distributed computing platforms into a single heterogeneous architecture"
- Hypervisor-driven architectures: System designs that use a hypervisor to partition and manage resources for multiple domains or criticality levels. Example: "They mainly base on hypervisor-driven architectures that treat accelerators as peripherals for task offloading"
- Implicit deadlines: A real-time task model where each task’s deadline equals its period. Example: "we assume implicit deadlines, i.e., ."
- Kernel preemption: The ability to interrupt and switch out a running kernel; its absence complicates real-time scheduling. Example: "the processor does not allow kernel preemption."
- Laxity: The amount of time a task can be delayed without missing its deadline (deadline minus execution time). Example: "laxity-based context switch mechanism"
- LiDAR: Light Detection and Ranging; a sensor modality producing point clouds for perception tasks. Example: "LiDAR preprocessing pipeline"
- Memory locks: Hardware-enforced mechanisms that serialize access to shared buffers/memory regions to ensure consistency. Example: "Every buffer access is handled by memory locks, which enforce strict access ordering between producers and consumers and prevent concurrent access."
- Memory mapped AXI4: The memory-mapped variant of the AXI4 protocol used for register and memory access. Example: "AXI4-Stream and memory mapped AXI4 input/output traffic."
- Mixed Criticality Systems (MCSs): Systems where tasks with different assurance or safety levels share resources while meeting timing guarantees for higher criticalities. Example: "Mixed Criticality Systems (MCSs) address these challenges"
- Network-on-Chip (NoC): An on-chip interconnect network that links system components with high bandwidth and scalability. Example: "Versal is a heterogeneous architecture comprising a Processing System (PS), Programmable Logic (PL), Network-on-Chip (NoC), and Artificial Intelligent Engines (AIE)"
- Packet streams: Streamed, packetized messages over on-chip links used here for low-latency notifications. Example: "The notification channels are implemented using packet streams"
- Particle filter: A probabilistic state-estimation algorithm using weighted samples (particles), often with variable runtime. Example: "Particle filters estimate the pose of an object based on sensor data"
- Processing System (PS): The CPU subsystem in Versal that manages control and coordination tasks. Example: "Versal is a heterogeneous architecture comprising a Processing System (PS), Programmable Logic (PL), Network-on-Chip (NoC), and Artificial Intelligent Engines (AIE)"
- Programmable Logic (PL): The FPGA fabric in Versal devices used to implement custom hardware accelerators and interfaces. Example: "Versal is a heterogeneous architecture comprising a Processing System (PS), Programmable Logic (PL), Network-on-Chip (NoC), and Artificial Intelligent Engines (AIE)"
- Profiling and tracing logic: On-chip hardware that records runtime events for performance measurement and analysis. Example: "Each AIE tile provides dedicated profiling and tracing logic that enables runtime analysis."
- SIMD: Single Instruction, Multiple Data; a parallelism style where one instruction operates on multiple data elements. Example: "Each tile contains a SIMD VLIW processor"
- Stream mergers: Hardware components that combine multiple input streams into a single stream for scalable connectivity. Example: "The streams from each task source are combined via stream mergers (shown as triangles in Figure \ref{fig:taskQueue})"
- Stream interfaces: On-chip streaming connections supporting non-blocking reads and low-latency data transfer. Example: "Unlike memory-mapped connections, stream interfaces support non-blocking read access"
- Throughput: The amount of work completed per unit time; often used to measure system performance. Example: "doubling the throughput of low-criticality tasks."
- Versal SoC: AMD/Xilinx’s heterogeneous System-on-Chip family integrating PS, PL, AIE, and NoC. Example: "the Versal SoC platform from AMD/Xilinx."
- VLIW: Very Long Instruction Word; an architecture that encodes multiple operations in a single wide instruction issued in parallel. Example: "Each tile contains a SIMD VLIW processor"
- Worst-Case Execution Time (WCET): The upper bound on the time a task may take to execute, used for real-time guarantees. Example: "improving Worst-Case Execution Time (WCET) predictability"






