Towards LLM-Powered Verilog RTL Assistant: Self-Verification and Self-Correction
Hanxian Huang, Zhenghan Lin, Zixuan Wang, Xin Chen, Ke Ding, Jishen, Zhao

TL;DR
This paper introduces VeriAssist, an LLM-powered tool that automatically generates, verifies, and corrects Verilog RTL code, significantly enhancing correctness and reducing human effort in hardware design.
Contribution
We propose VeriAssist, an innovative LLM-based system that self-verifies and self-corrects RTL code, improving quality and accessibility in hardware design workflows.
Findings
Significantly improves syntax correctness of RTL code
Enhances functionality correctness over existing LLM methods
Reduces human intervention in RTL design process
Abstract
We explore the use of Large Language Models (LLMs) to generate high-quality Register-Transfer Level (RTL) code with minimal human interference. The traditional RTL design workflow requires human experts to manually write high-quality RTL code, which is time-consuming and error-prone. With the help of emerging LLMs, developers can describe their requirements to LLMs which then generate corresponding code in Python, C, Java, and more. Adopting LLMs to generate RTL design in hardware description languages is not trivial, given the complex nature of hardware design and the generated design has to meet the timing and physical constraints. We propose VeriAssist, an LLM-powered programming assistant for Verilog RTL design workflow. VeriAssist takes RTL design descriptions as input and generates high-quality RTL code with corresponding test benches. VeriAssist enables the LLM to self-correct…
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
TopicsPower Systems and Technologies · Mobile Agent-Based Network Management · Service-Oriented Architecture and Web Services
