VeriDebug: A Unified LLM for Verilog Debugging via Contrastive Embedding and Guided Correction
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated remarkable potential in debugging for various programming languages. However, the application of LLMs to Verilog debugging remains insufficiently explored. Here, we present VeriDebug, an approach that integrates contrastive representation and guided correction capabilities for automated Verilog debugging. Unlike existing methods, VeriDebug employs an embedding-based technique to accurately retrieve internal information, followed by bug-fixing. VeriDebug unifies Verilog bug detection and correction through a shared parameter space. By simultaneously learning bug patterns and fixes, it streamlines debugging via contrastive embedding and guided correction. Empirical results show the efficacy of VeriDebug in enhancing Verilog debugging. Our VeriDebugLoc, Type model achieves 64.7 accuracy in bug fixing (Acc1), a significant improvement from the existing open-source SOTAs 11.3. This performance not only outperforms open-source alternatives but also exceeds larger closed-source models like GPT-3.5-turbo (36.6), offering a more accurate alternative to conventional debugging methods.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 15 of its 22 references that are in the map. First posted on arXiv 27 Apr 2025.
Builds on
15 of 22 references.
References · 15
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
- 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
- 2024Generative Representational Instruction Tuningcited by 233
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 127
- 2022Benchmarking Large Language Models for Automated Verilog RTL Code Generationcited by 115
- 2023RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Modelscited by 100
- 2024Scaling Retrieval-Based Language Models with a Trillion-Token Datastorecited by 56
3 more
Built on by
Citing papers per year: 2025: 6; 2026: 6.
12 papers.
- 2025Revolution or Hype? Seeking the Limits of Large Models in Hardware Designcited by 9
- 2025Understanding and Mitigating Errors of LLM-Generated RTL Codecited by 8
- 2025iDSE: Navigating Design Space Exploration in High-Level Synthesis Using LLMscited by 7
- 2025SV-LLM: An Agentic Approach for SoC Security Verification using Large Language Modelscited by 6
- 2025FVDebug: An LLM-Driven Debugging Assistant for Automated Root Cause Analysis of Formal Verification Failurescited by 5
- 2026GRPO with State Mutations: Improving LLM-Based Hardware Test Plan Generationcited by 4
- 2026InCoder-32B-Thinking: Industrial Code World Model for Thinkingcited by 4
- 2026CktEvo: Repository-Level RTL Code Benchmark for Design Evolutioncited by 3
- 2025Learning to Debug: LLM-Organized Knowledge Trees for Solving RTL Assertion Failurescited by 1
- 2026VeriPilot: An LLM-Powered Verilog Debugging Frameworkcited by 1
- 2026When LLMs Over-Answer: Measuring and Mitigating Quality Issues in LLM-Based Hardware Description Language Question Answeringcited by 0
- 2026Benchmarking LLMs for Verilog Design Flowscited by 0
- 2026Benchmarking LLMs for Verilog Design Flows23 Jul 2026
- 2026When LLMs Over-Answer: Measuring and Mitigating Quality Issues in LLM-Based Hardware Description Language Question Answering19 Jul 2026
- 2026VeriPilot: An LLM-Powered Verilog Debugging Framework22 Jun 2026
- 2026InCoder-32B-Thinking: Industrial Code World Model for Thinking3 Apr 2026
- 2026CktEvo: Repository-Level RTL Code Benchmark for Design Evolution10 Feb 2026
- 2026GRPO with State Mutations: Improving LLM-Based Hardware Test Plan Generation12 Jan 2026
- 2025Learning to Debug: LLM-Organized Knowledge Trees for Solving RTL Assertion Failures21 Nov 2025
- 2025FVDebug: An LLM-Driven Debugging Assistant for Automated Root Cause Analysis of Formal Verification Failures16 Sep 2025
- 2025Revolution or Hype? Seeking the Limits of Large Models in Hardware Design5 Sep 2025
- 2025Understanding and Mitigating Errors of LLM-Generated RTL Code7 Aug 2025
- 2025SV-LLM: An Agentic Approach for SoC Security Verification using Large Language Models25 Jun 2025
- 2025iDSE: Navigating Design Space Exploration in High-Level Synthesis Using LLMs28 May 2025