Blink: Fast Automated Design of Run-Time Power Monitors on FPGA-Based Computing Platforms

Andrea Galimberti, Michele Piccoli, Davide Zoni · DOI

Abstract

Real-time power monitoring is a critical requirement for maximizing energy efficiency in modern heterogeneous computing systems and AI accelerators. However, traditional methodologies for designing these monitors rely on gate-level simulations that are prohibitively slow, creating a significant bottleneck in the hardware design cycle. This paper introduces Blink, an automated framework that accelerates the creation of run-time power monitors by replacing slow gate-level simulations with a hybrid approach of fast behavioral simulation and direct physical power measurements. Experimental results on an AMD Artix-7 FPGA using the CHStone benchmark suite demonstrate that Blink achieves an average 18.12x speedup in design time with a Root Mean Square Error (RMSE) of less than 5% and minimal hardware overhead.

Introduction

To optimize power consumption in multi-core systems and specialized accelerators, system controllers must have access to real-time power data. Building accurate power models for these systems typically requires correlating hardware switching activity with power consumption. The current State-of-the-Art (SOTA) flow relies on gate-level simulations to generate Value Change Dump (VCD) files, which track every logic gate and wire. While accurate, this process is computationally expensive; generating power traces for complex designs can take days or weeks, forcing a compromise between development speed and model fidelity.

Blink shifts the paradigm from exhaustive simulation to a hybrid simulation-measurement approach. The framework identifies that high-fidelity gate-level detail is not strictly necessary for training effective linear regression power models. Instead, Blink bifurcates the data collection process into two parallel, high-speed paths:

1. Behavioral Simulation

Rather than simulating the post-route netlist at the gate level, Blink utilizes behavioral simulation of the Register Transfer Level (RTL). This provides the necessary switching activity statistics (signal transitions) at a fraction of the time required by gate-level alternatives.

2. Direct Physical Measurement

To obtain ground-truth power data, Blink bypasses the "Power Extraction" phase of traditional flows. The design is flashed onto a physical FPGA, and actual power consumption is measured using an oscilloscope. This physical measurement is orders of magnitude faster than calculating power from a VCD file.

3. Temporal Alignment

A primary challenge in hybrid modeling is synchronizing virtual simulation data with physical oscilloscope traces. Blink solves this by implementing a hardware trigger pin. This trigger ensures that the switching activity recorded in the simulation maps perfectly to the power spikes observed on the oscilloscope, allowing for accurate model training via linear regression.

Experimental Setup

The framework was evaluated using a benchmarking platform on an AMD Artix-7 100 FPGA (NewAE CW305). Power measurements were captured using a PicoScope 5244D oscilloscope. The test suite included several High-Level Synthesis (HLS) accelerators from the CHStone benchmark suite, representing diverse workloads:

  • AES & Blowfish: Cryptographic encryption.
  • GSM: Telecommunications processing.
  • MIPS: General-purpose processor architecture.

Key Results

Blink demonstrates that physical measurement paired with behavioral statistics is a superior alternative to high-fidelity simulation for power monitor design.

  • Design Acceleration: Blink achieved an average 18.12x speedup in total time-to-solution. In specific instances, the data extraction phase alone was over 150x faster than SOTA methods. A design process that previously required 18 days can now be completed in less than 24 hours.
  • Model Accuracy: Despite the move away from gate-level simulation, the resulting monitors maintained high precision, with an RMSE of less than 5% across all benchmarks.
  • Resource Efficiency: The generated hardware monitors are lightweight, consuming less than 3% of additional FPGA area (LUTs/FFs) and contributing negligible power overhead.

Conclusion and Future Work

Blink successfully addresses the "chicken and egg" problem of power monitor design by leveraging the speed of physical hardware. By proving that behavioral data is sufficient for accurate modeling when synchronized with real-world measurements, Blink removes a major barrier to energy-aware hardware design. Future research will focus on extending this framework to more complex systems, including RISC-V based Systems-on-Chip (SoCs) and advanced cryptographic accelerators, to evaluate the scalability of the hybrid approach in larger design spaces.

Summary updated

BibTeX
@misc{galimberti2024blink,
  author = {Andrea Galimberti and Michele Piccoli and Davide Zoni},
  title = {{Blink: Fast Automated Design of Run-Time Power Monitors on FPGA-Based Computing Platforms}},
  year = {2024},
  eprint = {2407.21367},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.21367},
}
Figure