paper-with-me

홈 › Papers

AutoVCoder: A Systematic Framework for Automated Verilog Code Generation using LLMs

2024-07-21 · Mingzhe Gao, Jieru Zhao, Zhe Lin, Wenchao Ding, Xiaofeng Hou, Yu Feng, Chao Li, Minyi Guo

Recently, the use of large language models (LLMs) for software code generation, e.g., C/C++ and Python, has proven a great success. However, LLMs still suffer from low syntactic and functional correctness when it comes to the generation of register-transfer level (RTL) code, such as Verilog. To address this issue, in this paper, we develop AutoVCoder, a systematic open-source framework that significantly improves the LLMs' correctness of generating Verilog code and enhances the quality of its output at the same time. Our framework integrates three novel techniques, including a high-quality hardware dataset generation approach, a two-round LLM fine-tuning method and a domain-specific retrieval-augmented generation (RAG) mechanism. Experimental results demonstrate that AutoVCoder outperforms both industrial and academic LLMs in Verilog code generation. Specifically, AutoVCoder shows a 0.5% and 2.2% improvement in functional correctness on the EvalMachine and EvalHuman benchmarks compared with BetterV, and also achieves a 3.4% increase in syntax correctness and a 3.4% increase in functional correctness on the RTLLM benchmark compared with RTLCoder.

📄 PDF Abstract BibTeX arXiv:2407.18333

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationDataset GenerationRAGRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation framework

2024-03-17 · Kaiyan Chang, Kun Wang, Nan Yang, Ying Wang 외

Recent advances in large language models have demonstrated their potential for automated generation of hardware description language (HDL) code from high-level prompts. Researchers have utilized fine-tuning to enhance th…

AllData AugmentationScript Generation

Large Language Model for Verilog Code Generation: Literature Review and the Road Ahead

2025-10-29 · Guang Yang, Wei Zheng, Xiang Chen, Dong Liang 외 arxiv

Code generation has emerged as a critical research area at the intersection of Software Engineering (SE) and Artificial Intelligence (AI), attracting significant attention from both academia and industry. Within this bro…

Code Generation

VeriThoughts: Enabling Automated Verilog Code Generation using Reasoning and Formal Verification

2025-05-16 · Patrick Yubeaton, Andre Nakkab, Weihua Xiao, Luca Collini 외

This paper introduces VeriThoughts, a novel dataset designed for reasoning-based Verilog code generation. We establish a new benchmark framework grounded in formal verification methods to evaluate the quality and correct…

Code Generation

Benchmarking Large Language Models for Automated Verilog RTL Code Generation

2022-12-13 · Shailja Thakur, Baleegh Ahmad, Zhenxing Fan, Hammond Pearce 외

Automating hardware design could obviate a significant amount of human error from the engineering process and lead to fewer errors. Verilog is a popular hardware description language to model and design digital systems, …

BenchmarkingCode Generation

Free and Fair Hardware: A Pathway to Copyright Infringement-Free Verilog Generation using LLMs

2025-05-09 · Sam Bush, Matthew DeLorenzo, Phat Tieu, Jeyavijayan Rajendran

Limitations in Large Language Model (LLM) capabilities for hardware design tasks, such as generating functional Verilog codes, have motivated various fine-tuning optimizations utilizing curated hardware datasets from ope…

Language ModelingLanguage ModellingLarge Language Model