AutoSilicon: Scaling Up RTL Design Generation Capability of Large Language Models
Hardware description language (HDL) code designing is a critical component of the chip design process, requiring substantial engineering and time resources. Recent advancements in large language models (LLMs), such as GPT series, have shown promise in automating HDL code generation. However, current LLM-based approaches face significant challenges in meeting real-world hardware design requirements, particularly in handling complex designs and ensuring code correctness. Our evaluations reveal that the functional correctness rate of LLM-generated HDL code significantly decreases as design complexity increases. In this article, we propose the AutoSilicon framework, which aims to scale up the hardware design capability of LLMs. AutoSilicon incorporates an agent system, which (1) allows for the decomposition of large-scale, complex code design tasks into smaller, simpler tasks; (2) provides a compilation and simulation environment that enables LLMs to compile and test each piece of code it generates; and (3) introduces a series of optimization strategies. Experimental results demonstrate that AutoSilicon can scale hardware designs to projects with code equivalent to over 10,000 tokens. In terms of design quality, it further improves the syntax correctness rate and functional correctness rate compared with approaches that do not employ any extensions. For example, compared to directly generating HDL code using GPT-4-turbo, AutoSilicon enhances the syntax correctness rate by an average of 35.8% and improves functional correctness by an average of 35.6%.
Authors
- Cangyuan Li (ORCID: https://orcid.org/0000-0002-7193-464X)
- Chujie Chen
- Yahui Liu (ORCID: https://orcid.org/0009-0005-8717-068X)
- Kaiyan Chang (ORCID: https://orcid.org/0000-0003-1920-0101)
- Ying Wang (ORCID: https://orcid.org/0000-0001-5172-4736)
- Yujie Wang (ORCID: https://orcid.org/0000-0003-0646-4183)
- Mengdi Wang (ORCID: https://orcid.org/0000-0002-7012-2308)
- Huawei Li (ORCID: https://orcid.org/0000-0001-8082-4218)
- Yudong Pan (ORCID: https://orcid.org/0009-0001-0012-4113)
- Wenjun Xu (ORCID: https://orcid.org/0009-0006-9738-7281)
- Yinhe Han (ORCID: https://orcid.org/0000-0001-5113-8067)
Institutions
- Intel (United States) (US)
- Chinese Academy of Sciences (CN)
- Institute of Computing Technology (CN)
- Zhejiang Lab (CN)
- Peng Cheng Laboratory (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- ACM Transactions on Design Automation of Electronic Systems
- Published
- 2025-05-23
- DOI
- https://doi.org/10.1145/3737286
- Citations
- 1
- Primary Topic
- Model-Driven Software Engineering Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.31