AutoVeriFix+: High-Correctness RTL Generation via Trace-Aware Causal Fix and Semantic Redundancy Pruning
Yan Tan, Xiangchen Meng, Zijun Jiang, Yangdi Lyu

TL;DR
AutoVeriFix+ is a three-stage framework that combines semantic reasoning, state-space exploration, and redundancy pruning to generate functionally correct and area-optimized Verilog RTL code from high-level models.
Contribution
It introduces a novel multi-stage approach integrating LLMs, concolic testing, and semantic pruning for high-quality RTL generation, addressing current limitations in correctness and redundancy.
Findings
Achieves over 80% functional correctness on benchmarks.
Reaches a pass@10 score of 90.2% on VerilogEval.
Reduces redundant logic by 25% on average.
Abstract
Large language models (LLMs) have demonstrated impressive capabilities in generating software code for high-level programming languages such as Python and C++. However, their application to hardware description languages, such as Verilog, is challenging due to the scarcity of high-quality training data. Current approaches to Verilog code generation using LLMs often focus on syntactic correctness, resulting in code with functional errors. To address these challenges, we propose AutoVeriFix+, a novel three-stage framework that integrates high-level semantic reasoning with state-space exploration to enhance functional correctness and design efficiency. In the first stage, an LLM is employed to generate high-level Python reference models that define the intended circuit behavior. In the second stage, another LLM generates initial Verilog RTL candidates and iteratively fixes syntactic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Software Testing and Debugging Techniques · Embedded Systems Design Techniques
