Abstract
The current over-provisioned heterogeneous multicores require effective run-time optimization strategies, and the run-time power monitoring subsystem is paramount for their success. Several state-of-the-art methodologies address the design of a run-time power monitoring infrastructure for generic computing platforms. However, the power model's training requires time-consuming gate-level simulations that, coupled with the ever-increasing complexity of the modern heterogeneous platforms, dramatically hinder the usability of such solutions. This paper introduces Blink, a scalable framework for the fast and automated design of run-time power monitoring infrastructures targeting computing platforms implemented on FPGA. Blink optimizes the time-to-solution to deliver the run-time power monitoring infrastructure by replacing traditional methodologies' gate-level simulations and power trace computations with behavioral simulations and direct power trace measurements. Applying Blink to multiple designs mixing a set of HLS-generated accelerators from a state-of-the-art benchmark suite demonstrates an average time-to-solution speedup of 18 times without affecting the quality of the run-time power estimates.
Introduction
To maximize energy efficiency, modern heterogeneous multi-core systems require real-time power monitoring to enable dynamic adjustments to workloads and clock speeds. However, creating these hardware monitors is a significant bottleneck in the design cycle. Traditional State-of-the-Art (SOTA) methods rely on gate-level simulations, requiring designers to simulate entire post-route netlists to calculate power draw. As chip complexity grows, these simulations become prohibitively slow, often taking weeks and clashing with industry time-to-market deadlines.
The Blink Framework
Blink fundamentally changes the data gathering process for training power models by adopting a hybrid simulation-measurement approach. Instead of relying purely on software simulations, it utilizes the speed of the target hardware itself.
Methodology Overview
- Behavioral Simulation: Blink uses behavioral RTL simulation rather than gate-level simulation. This provides necessary signal switching activity data significantly faster.
- Direct FPGA Measurement: Power traces are measured directly from the FPGA using an oscilloscope while the design runs, bypassing the need for complex power calculations.
- Temporal Alignment: A hardware trigger pin synchronizes the software simulation logs with physical oscilloscope readings.
- Linear Regression Modeling: These synchronized data streams train a low-overhead linear regression model correlating signal activity to total power draw.
Experimental Evaluation
The framework was evaluated using ten design configurations (A1–A10) featuring various clusters of hardware accelerators. These accelerators were generated via High-Level Synthesis (HLS) from the CHStone benchmark suite, including AES, Blowfish, GSM, and MIPS modules. This variety demonstrates the framework's versatility across different computational workloads.
Key Results
Blink demonstrates that design speed does not have to come at the cost of accuracy or overhead:
- Significant Speedup: Blink achieved an average 18.12x total speedup in time-to-solution. The data extraction phase alone saw improvements of over 150x by avoiding massive Value Change Dump (VCD) files.
- High Accuracy: Power estimates maintained a Root-Mean-Square Error (RMSE) of less than 5% (averaging 4.2%), matching the quality of traditional, slower methods.
- Low Resource Overhead: The resulting monitors are lean, consuming less than 3% of the FPGA's logic resources (LUTs and FFs) with negligible power impact.
Conclusion
Blink proves that the FPGA itself is the most efficient "simulator" for power modeling. By replacing sluggish gate-level simulations with direct measurements and behavioral modeling, designers can implement accurate power tracking in hours rather than weeks. Future work will extend this framework to more complex systems, including RISC-V based SoCs and specialized cryptography accelerators.
Summary updated