Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Trace2PatchLR: Reproducible RTL Bug Localization and Template-Guided Repair for Verilog Debug

View through CrossRef
Register-transfer level (RTL) debug dominates the turnaround time of modern chip development: after simulation or formal verification reports a failure, engineers must localize the faulty RTL statement and craft a repair that restores functional correctness. This work presents a fully reproducible study of automated RTL bug localization and template-guided repair on RTLMutBench, a benchmark of 1,050 single-bug Verilog modules spanning combinational datapath logic, sequential counters, and finite-state machines. Each design includes a deterministic test suite with statement-level coverage and a reference fix. We evaluate spectrum-based fault localization (Tarantula and Ochiai), static slicing, and a lightweight learning-to-rank model (Trace2PatchLR) that combines coverage statistics, slicing membership, and lexical features. On the held-out test split, Trace2PatchLR attains 94.3% Top-1 localization accuracy and 0.965 mean reciprocal rank, outperforming Ochiai (76.2% Top-1, 0.839 MRR) and Tarantula (81.9% Top-1, 0.881 MRR). We then connect localization to repair via a template-guided patch search space derived from common RTL mistake patterns. The resulting Trace2PatchRepair fixes 95.2% of failing designs within 12 candidate patches (median 2 attempts), compared to 86.7% for OchiaiRepair and 28.6% for RandomRepair. All results, tables, and figures in this manuscript are generated from the released dataset generator and experiment scripts under a fixed random seed.
Title: Trace2PatchLR: Reproducible RTL Bug Localization and Template-Guided Repair for Verilog Debug
Description:
Register-transfer level (RTL) debug dominates the turnaround time of modern chip development: after simulation or formal verification reports a failure, engineers must localize the faulty RTL statement and craft a repair that restores functional correctness.
This work presents a fully reproducible study of automated RTL bug localization and template-guided repair on RTLMutBench, a benchmark of 1,050 single-bug Verilog modules spanning combinational datapath logic, sequential counters, and finite-state machines.
Each design includes a deterministic test suite with statement-level coverage and a reference fix.
We evaluate spectrum-based fault localization (Tarantula and Ochiai), static slicing, and a lightweight learning-to-rank model (Trace2PatchLR) that combines coverage statistics, slicing membership, and lexical features.
On the held-out test split, Trace2PatchLR attains 94.
3% Top-1 localization accuracy and 0.
965 mean reciprocal rank, outperforming Ochiai (76.
2% Top-1, 0.
839 MRR) and Tarantula (81.
9% Top-1, 0.
881 MRR).
We then connect localization to repair via a template-guided patch search space derived from common RTL mistake patterns.
The resulting Trace2PatchRepair fixes 95.
2% of failing designs within 12 candidate patches (median 2 attempts), compared to 86.
7% for OchiaiRepair and 28.
6% for RandomRepair.
All results, tables, and figures in this manuscript are generated from the released dataset generator and experiment scripts under a fixed random seed.

Related Results

کشمير مخالف نسل پرستی کی تعريف
کشمير مخالف نسل پرستی کی تعريف
<p dir="rtl">کشمير مخالف نسل پرستی ک ی تعريف</p><p dir="rtl">منجانب: ب نيش احمد I ترجمہ: ڈاکٹر فہد احمد</p><p dir="rtl">کشمير مخا لف نسل پرس تی در اصل...
کشمير مخالف نسل پرستی کی تعريف
کشمير مخالف نسل پرستی کی تعريف
<p dir="rtl">کشمير مخالف نسل پرستی ک ی تعريف</p><p dir="rtl">منجانب: ب نيش احمد I ترجمہ: ڈاکٹر فہد احمد</p><p dir="rtl">کشمير مخا لف نسل پرس تی در اصل...
Bug Report Summarization by Using Swarm Intelligence Approaches
Bug Report Summarization by Using Swarm Intelligence Approaches
Background: Bug reports are considered as a reference document, during the maintenance phase of the software development process. The developer's counsel them at whatever point the...
Fructose intake and its association with relative telomere length: an exploratory study among healthy Lebanese adults
Fructose intake and its association with relative telomere length: an exploratory study among healthy Lebanese adults
IntroductionShorter relative telomere length (RTL) has been associated with increased incidence of morbidity. Although still disputed, available evidence suggests that dietary fact...
TB-Free RTL Anomaly Detection for Early Chip Verification: A Reproducible Binary Benchmark and Baseline Study on CVDP
TB-Free RTL Anomaly Detection for Early Chip Verification: A Reproducible Binary Benchmark and Baseline Study on CVDP
Early digital verification is dominated by manual RTL review because simulation testbenches and assertions are typically incomplete or unavailable during pre-verification. This wor...
Effective Bug Triage With Software Reliability
Effective Bug Triage With Software Reliability
Programming associations spend in excess of 45 percent of cost in overseeing programming bugs. An inevitable progress of settling bugs is bug triage, which wants to precisely dole ...
Bug Tracking System to Reduce Duplicate Bug Reports Using Cost-Aware Algorithm
Bug Tracking System to Reduce Duplicate Bug Reports Using Cost-Aware Algorithm
Software engineers rely heavily on bug-tracking solutions to help direct their maintenance efforts. In certain projects, as many as quarters of all bug reports are duplicates, redu...

Back to Top