Towards Reliable Systems: A Scalable Approach to AXI4 Transaction Monitoring

Chaoqun Liang, Thomas Benz, Alessandro Ottaviano, Angelo Garofalo, Luca Benini, Davide Rossi

Abstract

As Systems-on-Chip (SoCs) become increasingly central to safety-critical applications in automotive and aerospace sectors, the reliability of on-chip communication protocols is paramount. This paper presents a scalable hardware solution for monitoring AXI4 bus transactions in real-time. By introducing a Transaction Monitoring Unit (TMU) with two distinct implementation variants—the area-optimized "Tiny-Counter" and the high-precision "Full-Counter"—the researchers provide a flexible framework for detecting protocol violations and preventing system-wide deadlocks. Evaluated in 12nm technology and integrated into a RISC-V-based SoC, the design demonstrates high area efficiency and rapid fault detection capabilities.

Introduction

In modern high-performance SoCs, the AXI4 (Advanced eXtensible Interface 4) protocol serves as the backbone for data movement between processors, memory controllers, and peripherals. While AXI4 enables high throughput by supporting multiple "outstanding" transactions, this complexity introduces significant risks. A single subordinate device failing to respond or violating protocol rules can lead to catastrophic system-wide deadlocks or silent data corruption.

Researchers from the University of Bologna and ETH Zurich have addressed this challenge by developing a scalable, real-time hardware monitoring solution designed for deployment in production silicon rather than just pre-silicon simulation.

The AXI4 Reliability Gap

Traditional watchdog timers often lack the granularity required for modern interconnects. Because AXI4 allows many requests to be "in flight" simultaneously, a simple timer cannot easily distinguish which specific transaction caused a hang. Furthermore, existing monitoring tools are often too resource-intensive for area-constrained SoCs or are limited to detecting errors during the design phase. There is a clear need for a "drop-in" hardware component that can monitor live traffic, isolate faults, and initiate recovery without significantly impacting the chip's area or power budget.

The Transaction Monitoring Unit (TMU) Architecture

The proposed TMU is designed to sit between the AXI4 interconnect and a subordinate device, acting as a transparent sentinel. Its architecture relies on several key innovations to maintain scalability:

  • ID Remapping: AXI4 IDs can be wide and sparse, which is expensive to track in hardware. The TMU compresses these into a narrower internal index, significantly reducing the memory footprint required for tracking.
  • Outstanding Transaction Table (OTT): This 2D structure manages the state of all concurrent requests. It ensures that the TMU respects AXI4’s strict ordering requirements, particularly for write data interleaving and response valid signals.
  • Adaptive Time-Budgeting: To avoid "false positives" during periods of high bus congestion, the TMU dynamically adjusts its timeout limits based on burst lengths and current traffic patterns. This ensures that legitimate delays are not mistaken for hardware failures.

Implementation Variants: Tiny-Counter vs. Full-Counter

Recognizing that different SoC components have different reliability needs, the authors developed two versions of the TMU:

  1. Tiny-Counter (Tc): This variant is optimized for area. It utilizes a single counter per transaction and detects faults only after a global timeout expires. It is ideal for non-critical peripherals where area savings are prioritized over detection speed.
  2. Full-Counter (Fc): This granular version tracks six distinct phases of a transaction, including the Address Handshake, Data Transfer, and Response Monitoring. This phase-level visibility allows the system to pinpoint exactly where a transaction failed, enabling near-instant detection and detailed debugging logs.

Evaluation and Results

The design was synthesized using GlobalFoundries 12nm (GF12) CMOS technology and integrated into the Cheshire platform, a Linux-capable SoC featuring the 64-bit RISC-V CVA6 core.

Area Efficiency

The TMU demonstrates remarkable scalability. In 12nm technology, a unit tracking 16–32 outstanding transactions occupies a footprint of only 1330–2616 µm² for the Tiny-Counter and 3452–6787 µm² for the Full-Counter. By utilizing clock prescalers to increment counters less frequently, the researchers achieved additional area savings of up to 39%.

Performance and Recovery

Functional testing was conducted using an RGMII Ethernet peripheral. Under injected fault conditions, the Full-Counter variant detected errors in as little as 10–20 cycles. In contrast, the Tiny-Counter variant required the full expiration of the transaction budget (approximately 320 cycles). Once a fault is detected, the TMU can "sever" the connection to prevent error propagation, trigger a hardware reset of the faulty subordinate, and alert the processor via an interrupt.

Conclusion and Future Work

The TMU provides a robust, scalable mechanism for enhancing SoC reliability. By offering a trade-off between area overhead and detection granularity, it allows architects to tailor protection to the criticality of each sub-system.

Future research will focus on expanding the TMU to monitor "manager" (host) failures and refining the software-based recovery routines necessary to restore application state after a hardware reset. As SoCs continue to scale in complexity, such modular and efficient monitoring solutions will be essential for the next generation of safety-critical electronics.

Summary updated

BibTeX
@inproceedings{liang2025towards,
  author = {Chaoqun Liang and Thomas Benz and Alessandro Ottaviano and Angelo Garofalo and Luca Benini and Davide Rossi},
  title = {{Towards Reliable Systems: A Scalable Approach to AXI4 Transaction Monitoring}},
  booktitle = {DATE},
  year = {2025},
  doi = {10.23919/date64628.2025.10992911},
}
Figure