Skip to main content
QUICK REVIEW

[Paper Review] A Post-Silicon Trace Analysis Approach for System-on-Chip Protocol Debug

Yuting Cao, Hao Zheng|arXiv (Cornell University)|May 6, 2020
VLSI and Analog Circuit TestingComputer Science14 references4 citations
TL;DR

This paper presents an optimized post-silicon trace analysis approach that reconstructs system-level protocol executions from noisy, partially observed silicon traces using formalized system flow specifications in Labeled Petri-nets (LPNs). By introducing ordered protocol execution scenarios and a communication-centric trace signal selection framework, the method improves debug accuracy and efficiency, reducing false positives and enabling root cause localization in complex SoC designs with minimal instrumentation overhead.

ABSTRACT

Reconstructing system-level behavior from silicon traces is a critical problem in post-silicon validation of System-on-Chip designs. Current industrial practice in this area is primarily manual, depending on collaborative insights of the architects, designers, and validators. This paper presents a trace analysis approach that exploits architectural models of the system-level protocols to reconstruct design behavior from partially observed silicon traces in the presence of ambiguous and noisy data. The output of the approach is a set of all potential interpretations of a system's internal executions abstracted to the system-level protocols. To support the trace analysis approach, a companion trace signal selection framework guided by system-level protocols is also presented, and its impacts on the complexity and accuracy of the analysis approach are discussed. That approach and the framework have been evaluated on a multi-core system-on-chip prototype that implements a set of common industrial system-level protocols.

Motivation & Objective

  • To address the challenge of debugging complex, multi-protocol interactions in post-silicon System-on-Chip (SoC) validation where silicon traces are noisy, lossy, and partially observable.
  • To overcome the limitations of prior manual and unranked reconstruction methods that produce thousands of ambiguous protocol scenarios without ordering information.
  • To develop a trace analysis approach that captures ordering relations among concurrent protocol executions for improved root cause localization.
  • To design a communication-centric trace signal selection framework that minimizes instrumentation cost while maximizing analysis accuracy and efficiency.
  • To evaluate the method on a real multi-core SoC prototype implementing industrial-standard system-level protocols.

Proposed method

  • Formalizing system-level protocols as Labeled Petri-nets (LPNs) to model message flows between IP blocks with labeled transitions representing protocol events.
  • Reconstructing all potential protocol execution scenarios from partially observed silicon traces using LPN-based state space exploration with constraints from observed signals.
  • Introducing a new formulation of execution scenarios that explicitly represent interleavings and orderings among concurrent protocol instances.
  • Developing quantitative metrics to rank and qualify the quality of reconstructed scenarios based on consistency with observed data and signal selection.
  • Proposing a trace signal selection framework guided by system-level protocol semantics, prioritizing signals like Cmd, Sid, and Tag based on their impact on analysis complexity and accuracy.
  • Evaluating signal selection strategies (e.g., S2–S4) on a multi-core SoC prototype to analyze trade-offs between trace size, runtime, memory usage, and reconstruction fidelity.

Experimental results

Research questions

  • RQ1How can system-level protocol executions be reconstructed from noisy, partially observed silicon traces with minimal manual effort?
  • RQ2What metrics can be used to rank and qualify the quality of reconstructed protocol execution scenarios in the presence of ambiguity?
  • RQ3How do different trace signal selection strategies impact the complexity and accuracy of post-silicon trace analysis?
  • RQ4What is the role of signal selection (e.g., Cmd, Sid, Tag) in reducing false positives and improving debug efficiency?
  • RQ5Can a communication-centric signal selection framework be designed to minimize instrumentation cost while preserving high-fidelity protocol reconstruction?

Key findings

  • The proposed approach successfully reconstructs all correct protocol execution scenarios with accurate ordering among concurrent flows, even under poor observability conditions.
  • Signal selection S4—excluding branch events—produced the best results by minimizing complexity and avoiding issues related to ambiguous branch tracking.
  • Excluding Cmd or Sid signals severely degrades analysis accuracy, while omitting Tag signals has a moderate negative impact but still allows completion.
  • Finer-grained signal selection (e.g., tracing only unique or shared events) reduced trace size and complexity without sacrificing accuracy, especially when Tag was included.
  • The method achieved high fidelity in reconstructing the correct number of flow instances and their correct orderings across all tested signal selection strategies.
  • The companion trace signal selection framework significantly reduced runtime and memory usage while maintaining high reconstruction accuracy, demonstrating its practical value in real-world SoC debug.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.