ARLGFeb 8, 2021

Feature Engineering for Scalable Application-Level Post-Silicon Debugging

arXiv:2102.04554v11 citations
AI Analysis

This work provides a more efficient and effective method for post-silicon debugging, significantly reducing the time and effort required for hardware engineers to identify and diagnose bugs in complex SoCs.

This paper addresses post-silicon debugging of System-on-Chips (SoCs) by optimizing trace buffer utilization and applying unsupervised learning with engineered features for root-cause diagnosis. Their method achieved 98.96% trace buffer utilization, 94.3% flow specification coverage, diagnosed up to 66.7% more bugs, and reduced diagnosis time by up to 847x compared to manual debugging.

We present systematic and efficient solutions for both observability enhancement and root-cause diagnosis of post-silicon System-on-Chips (SoCs) validation with diverse usage scenarios. We model specification of interacting flows in typical applications for message selection. Our method for message selection optimizes flow specification coverage and trace buffer utilization. We define the diagnosis problem as identifying buggy traces as outliers and bug-free traces as inliers/normal behaviors, for which we use unsupervised learning algorithms for outlier detection. Instead of direct application of machine learning algorithms over trace data using the signals as raw features, we use feature engineering to transform raw features into more sophisticated features using domain specific operations. The engineered features are highly relevant to the diagnosis task and are generic to be applied across any hardware designs. We present debugging and root cause analysis of subtle post-silicon bugs in industry-scale OpenSPARC T2 SoC. We achieve a trace buffer utilization of 98.96\% with a flow specification coverage of 94.3\% (average). Our diagnosis method was able to diagnose up to 66.7\% more bugs and took up to 847$\times$ less diagnosis time as compared to the manual debugging with a diagnosis precision of 0.769.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes