CSpace
A data-centric chip design agent framework for Verilog code generation
Chang, Kaiyan1,2; Zhu, Wenlong3; Wang, Kun4; He, Xinyang5; Yang, Nan3; Chen, Zhirong4; Jin, Dantong6; Li, Cangyuan7; Zhou, Yunhao8; Yan, Hao9; Zhao, Zhuoliang8; Cheng, Yuan10; Wang, Mengdi3; Liang, Shengwen1; Han, Yinhe1; Li, Xiaowei1,2; Li, Huawei1,2; Wang, Ying3
2025-11-01
发表期刊ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS
ISSN1084-4309
卷号30期号:6页码:27
摘要Recent advances in large language models (LLMs) have demonstrated significant potential for automated hardware description language (HDL) code generation from high-level specifications. However, two critical challenges limit further progress in this domain: the scarcity of quality Verilog training data and the inability of current approaches to generate RTL code optimized for power, performance, and area (PPA) metrics. This article presents a comprehensive data-centric framework that addresses these limitations through innovations in both pre-fine-tuning data preparation and after-fine-tuning optimization strategies. In the pre-fine-tuning phase, we tackle the data scarcity problem with an automated design-data augmentation framework that generates high-volume, high-quality natural language specifications aligned with corresponding Verilog code and EDA scripts. Our approach creates a complete RTL-level feedback loop by augmenting EDA scripts, RTL code, and EDA tool feedback. In the after-fine-tuning phase, we focus on generating PPA-aware RTL code through a novel search and prompt framework. Our approach implements iterative filtering and selection of LLM-generated Verilog variants while providing high-quality predefined prompts, including composition and interface specifications. To evaluate the effectiveness of our data augmentation method, we fine-tune Llama 2-13B and Llama 2-7B models using the dataset generated by our augmentation framework. The results demonstrate a significant improvement in the Verilog generation tasks with LLMs. Moreover, the accuracy of Verilog generation surpasses that of the current state-of-the-art open-source Verilog generation model, increasing from 58.8% to 70.6% with the same benchmark. Our 13B model has a pass rate improvement compared with GPT-3.5 in Verilog generation and outperforms in EDA script (i.e., SiliconCompiler) generation with only 200 EDA script data. Additionally, to evaluate the effectiveness of the our agent framework, we compare the PPA on the GPT-3.5, where the results show that the agent refined RTL code can have a better quality than the generated RTL code only with GPT-3.5.
关键词Large language model hardware generation data augmentation
DOI10.1145/3727980
收录类别SCI
语种英语
WOS研究方向Computer Science
WOS类目Computer Science, Hardware & Architecture ; Computer Science, Software Engineering
WOS记录号WOS:001616616200005
出版者ASSOC COMPUTING MACHINERY
引用统计
文献类型期刊论文
条目标识符http://119.78.100.204/handle/2XEOYT63/42952
专题中国科学院计算技术研究所
通讯作者Chang, Kaiyan
作者单位1.Chinese Acad Sci, Inst Comp Technol, SKLP, Beijing, Peoples R China
2.Univ Chinese Acad Sci, Beijing, Peoples R China
3.Chinese Acad Sci, Inst Comp Technol, Beijing, Peoples R China
4.Chinese Acad Sci, Inst Comp Technol, CICS, Beijing, Peoples R China
5.Univ Chinese Acad Sci, Chengdu Inst Comp Applicat, Chengdu, Peoples R China
6.Zhejiang Lab, Hangzhou, Peoples R China
7.Chinese Acad Sci, CICS, ICT, Beijing, Peoples R China
8.Shanghai Innovat Ctr Processor Technol, Shanghai, Peoples R China
9.Shanghai Univ, Shanghai, Peoples R China
10.Nanjing Univ, Nanjing, Peoples R China
推荐引用方式
GB/T 7714
Chang, Kaiyan,Zhu, Wenlong,Wang, Kun,et al. A data-centric chip design agent framework for Verilog code generation[J]. ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS,2025,30(6):27.
APA Chang, Kaiyan.,Zhu, Wenlong.,Wang, Kun.,He, Xinyang.,Yang, Nan.,...&Wang, Ying.(2025).A data-centric chip design agent framework for Verilog code generation.ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS,30(6),27.
MLA Chang, Kaiyan,et al."A data-centric chip design agent framework for Verilog code generation".ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS 30.6(2025):27.
条目包含的文件
条目无相关文件。
个性服务
推荐该条目
保存到收藏夹
查看访问统计
导出为Endnote文件
谷歌学术
谷歌学术中相似的文章
[Chang, Kaiyan]的文章
[Zhu, Wenlong]的文章
[Wang, Kun]的文章
百度学术
百度学术中相似的文章
[Chang, Kaiyan]的文章
[Zhu, Wenlong]的文章
[Wang, Kun]的文章
必应学术
必应学术中相似的文章
[Chang, Kaiyan]的文章
[Zhu, Wenlong]的文章
[Wang, Kun]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。