Adding Context to LLM-Guided Verilog Repair

Register transfer level (RTL) bugs are critical issues that affect the functional correctness, security, and performance of systems-on-chip (SoC). Traditionally, repairing these bugs is a time-consuming process that requires the expertise of experienced engineers, leading to prolonged SoC development cycles and reduced vendor competitiveness. In this paper, we propose an automated framework that utilizes a Large Language Model (LLM) to repair RTL bugs. We investigate four prompting strategies (each with around five variants), where each strategy incorporates different levels of context (such as simulation output) to guide the LLM. Our framework, using the best-performing strategy, achieves a repair success rate of 65.6% on benchmarks without prior knowledge of the bug's location or the specific steps needed for the repair.

Authors

Institutions

Publication Details

Published
2025-04-23
DOI
https://doi.org/10.1109/isqed65160.2025.11014472
Primary Topic
Library Science and Information Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adding Context to LLM-Guided Verilog Repair

Benjamin Tan, A.M. El-Naggar
Library Science and Information Systems
article

Adding Context to LLM-Guided Verilog Repair

Benjamin Tan, A.M. El-Naggar
article en

Abstract

Register transfer level (RTL) bugs are critical issues that affect the functional correctness, security, and performance of systems-on-chip (SoC). Traditionally, repairing these bugs is a time-consuming process that requires the expertise of experienced engineers, leading to prolonged SoC development cycles and reduced vendor competitiveness. In this paper, we propose an automated framework that utilizes a Large Language Model (LLM) to repair RTL bugs. We investigate four prompting strategies (each with around five variants), where each strategy incorporates different levels of context (such as simulation output) to guide the LLM. Our framework, using the best-performing strategy, achieves a repair success rate of 65.6% on benchmarks without prior knowledge of the bug's location or the specific steps needed for the repair.

University of Calgary (CA), Software (Spain) (ES)
Intel Corporation, CMC Microsystems, Alberta Innovates, Natural Sciences and Engineering Research Council of Canada
Openalex Percentile: Top 83%
Library Science and Information Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.