Skip to main content
QUICK REVIEW

[Paper Review] Pecker: Bug Localization Framework for Sequential Designs via Causal Chain Reconstruction

J. F. Tang, Jianan Mu|arXiv (Cornell University)|Mar 3, 2026
Software Testing and Debugging TechniquesComputer Science0 citations
TL;DR

Pecker reconstructs the causal chain in sequential hardware designs using Estimated Minimal Propagation Cycles and trace pruning to localize bugs, outperforming state-of-the-art SBFL baselines on HDL benchmarks.

ABSTRACT

Debugging represents a time-consuming and labor-intensive task in hardware design, with bug localization constituting a substantial portion of this process. While spectrum-based bug localization techniques have achieved remarkable success in software domains and shown promise for hardware description languages, their effectiveness severely degrades in sequential designs. Unlike software programs, hardware designs exhibit intrinsic temporal characteristics that create fundamental challenges: timing misalignment between bug activation and observation, and progressive error propagation through state elements that obscures the root cause. To address these limitations, we propose Pecker, a novel bug localization framework that reconstructs the broken causal chain in sequential designs. Our approach introduces two key innovations: temporal backtracking using Estimated Minimal Propagation Cycles to identify potential activation cycles, strategic trace pruning to eliminate state pollution effects. We evaluate Pecker on comprehensive benchmarks comprising both combinational and sequential circuits. Experimental results demonstrate that Pecker effectively localizes 51%/80%/85% bugs within Top-1/3/5 ranks respectively, significantly outperforming state-of-the-art techniques. Notably, Pecker maintains robust performance across circuit complexities while existing methods exhibit severe degradation on sequential designs.

Motivation & Objective

  • Motivate and address the challenges of bug localization in sequential hardware designs where timing and state propagation obscure root causes.
  • Introduce a temporal backtracking approach using Estimated Minimal Propagation Cycles (EMPC) to identify potential bug activation cycles.
  • Mitigate state pollution through strategic trace pruning and a dual suspiciousness scoring scheme.
  • Evaluate Pecker against established hardware bug localization benchmarks and baselines to demonstrate robustness across circuit complexities.

Proposed method

  • Construct a Program Dependency Graph (PDG) tailored for HDLs that models temporal data flow across registers.
  • Compute Estimated Minimal Propagation Cycles (EMPC) by backward-propagating delays from observed failures to infer latest possible activation cycles.
  • For each candidate statement, prune the trace after its activation cycle to remove state-pollution noise.
  • Apply a dual suspiciousness scoring using Activation-Execution-Failure (aef) and inverse Activation-Execution-Pass (1/aep) to rank statements.

Experimental results

Research questions

  • RQ1How can fault propagation latency be estimated in sequential hardware designs to connect activations to observations?
  • RQ2Can trace pruning mitigate state pollution and improve fault localization accuracy in HDL bugs?
  • RQ3How does a latency-aware, backtracking localization compare to existing SBFL-based hardware bug localization methods on sequential circuits?

Key findings

  • Pecker localizes 51%/80%/85% of bugs within Top-1/Top-3/Top-5 ranks respectively on the benchmark suite.
  • Pecker achieves an average Mean First Rank (MFR) of 9.0, outperforming baselines in overall accuracy.
  • EMPC-based activation-cycle estimation aligns with ground-truth activation cycles with an average match ratio of 88%.
  • Trace truncation (noise pruning) improves Top-1/3/5 accuracy across the benchmarks, with full truncation yielding the best overall performance.
  • Ablation studies show that removing activation localization or noisy trace pruning degrades performance, underscoring their essential roles.

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.