Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Models (2311.16543v3)

Published 28 Nov 2023 in cs.AR

Abstract: This paper presents RTLFixer, a novel framework enabling automatic syntax errors fixing for Verilog code with LLMs. Despite LLM's promising capabilities, our analysis indicates that approximately 55% of errors in LLM-generated Verilog are syntax-related, leading to compilation failures. To tackle this issue, we introduce a novel debugging framework that employs Retrieval-Augmented Generation (RAG) and ReAct prompting, enabling LLMs to act as autonomous agents in interactively debugging the code with feedback. This framework demonstrates exceptional proficiency in resolving syntax errors, successfully correcting about 98.5% of compilation errors in our debugging dataset, comprising 212 erroneous implementations derived from the VerilogEval benchmark. Our method leads to 32.3% and 10.1% increase in pass@1 success rates in the VerilogEval-Machine and VerilogEval-Human benchmarks, respectively.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Yun-Da Tsai (17 papers)
  2. Mingjie Liu (26 papers)
  3. Haoxing Ren (45 papers)
Citations (38)
X Twitter Logo Streamline Icon: https://streamlinehq.com