CoChat

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

Open access
Chang, Kaiyan, Wang, Kun, Yang, Nan, Wang, Ying, Jin, Dantong, Zhu, Wenlong, Chen, Zhirong, Li, Cangyuan, Yan, Hao, Zhou, Yunhao, Zhao, Zhuoliang, Cheng, Yuan, Pan, Yudong, Liu, Yiqi, Wang, Mengdi, Liang, Shengwen, Han, Yinhe, Li, Huawei, Li, Xiaowei · 2024 · Proceedings of the 61st ACM/IEEE Design Automation Conference

The DOI matches its Crossref record; 21 of the 22 references it cites were found in a registry or an index.

Abstract

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 the ability of these large language models (LLMs) in the field of Chip Design. However, the lack of Verilog data hinders further improvement in the quality of Verilog generation by LLMs. Additionally, the absence of a Verilog and electronic design automation (EDA) script data augmentation framework significantly increases the time required to prepare the training dataset for LLM trainers. This paper proposes an automated design-data augmentation framework, which generates high-volume and high-quality natural language aligned with Verilog and EDA scripts. For Verilog generation, it translates Verilog files to an abstract syntax tree and then maps nodes to natural language with a predefined template. For Verilog repair, it uses predefined rules to generate the wrong verilog file and then pairs EDA Tool feedback with the right and wrong verilog file. For EDA Script generation, it uses existing LLM(GPT-3.5) to obtain the description of the Script. To evaluate the effectiveness of our data augmentation method, we finetune Llama2--13B and Llama2-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 (ChipGPT-FT1) 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.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3649329.3657356

Cites

21 of 21 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 21 references

Research works printed but not linked: 5

  1. [16] B. Ahmad, S. Thakur, B. Tan, R. Karri, and H. Pearce, 'Fixing hardware security bugs with large language models,' arXiv preprint arXiv:2302.01215 , 2023. - · arXiv
  2. [17] R. Kande, H. Pearce, B. Tan, B. Dolan-Gavitt, S. Thakur, R. Karri, and J. Rajendran, 'Llm-assisted generation of hardware assertions,' arXiv preprint arXiv:2306.14027 , 2023. - · arXiv
  3. [18] M. Orenes-Vera, M. Martonosi, and D. Wentzlaff, 'From rtl to sva: Llm-assisted generation of formal verification testbenches,' 2023. -
  4. [23] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, 'LoRA: Low-rank adaptation of large language models,' in International Conference on Learning Representations(ICLR) , 2022. -
  5. [24] H. Touvron, L. Martin, K. R. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, D. M. Bikel, L. Blecher, C. C. Ferrer, M. Chen, G. Cucurull, D. Esiobu, J. Fernandes, J. Fu, W. Fu, B. Fuller, C. Gao, V. Goswami, N. Goyal, A. S. Hartshorn, S. Hosseini, R. Hou, H. Inan, M. Kardas, V. Kerkez, M. Khabsa, I. M. Kloumann, A. V. Korenev, P. S. Koura, M.-A. Lachaux, T. Lavril, J. Lee, D. Liskovich, Y. Lu, Y. Mao, X. Martinet, T. Mihaylov, P. Mishra, I. Molybog, Y. Nie, A. Poulton, J. Reizenstein, R. Rungta, K. Saladi, A. Schelten, R. Silva, E. M. Smith, R. Subramanian, X. Tan, B. Tang, R. Taylor, A. Williams, J. X. Kuan, P. Xu, Z. Yan, I. Zarov, Y. Zhang, A. Fan, M. Kambadur, S. Narang, A. Rodriguez, R. Stojnic, S. Edunov, and T. Scialom, 'Llama 2: Open foundation and fine-tuned chat models,' ArXiv , vol. abs/2307.09288, 2023. · arXiv

Cited by

See all 60

Metadata

Authors
Chang, K., Wang, K., Yang, N., Wang, Y., Jin, D., Zhu, W., Chen, Z., Li, C., Yan, H., Zhou, Y., Zhao, Z., Cheng, Y., Pan, Y., Liu, Y., Wang, M., Liang, S., Han, Y., Li, H., & Li, X.
Affiliations
  • Chinese Academy of Sciences (CN)
  • Zhejiang Lab (CN)
  • University of Illinois Urbana-Champaign (US)
  • ICT, Beijing, Beijing, China
  • Shanghai University (CN)
  • Shanghai Jiao Tong University (CN)
  • Fudan University (CN)
  • Nanjing University (CN)
Venue
Proceedings of the 61st ACM/IEEE Design Automation Conference
Publisher
ACM
Published
2024-06-23
Pages
1-6
ISSN
0738-100X (ISSN-L)
OpenAlex
W4392972103
Cited by
60
References
22
Citations by year
2026: 11 · 2025: 36 · 2024: 13
FWCI
18.27
Type
conference paper
Language
en
Open access
Locations
  • ACM/IEEE Design Automation Conference (DAC) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Funders
NSFC (62090024, 62222411, 62025404, 92373206, 62202453)
Topics
  • Physical Sciences › Computer Science › Hardware and Architecture › Embedded Systems Design Techniques
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › VLSI and FPGA Design Techniques
Keywords
large language models, integrated circuit design, Verilog code generation, hardware description languages, data augmentation, LLM fine-tuning, abstract syntax tree, natural language generation, Llama 2

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation framework. https://app.cochat.ai/papers/10.1145/3649329.3657356
The paper
Chang, K., Wang, K., Yang, N., Wang, Y., Jin, D., Zhu, W., Chen, Z., Li, C., Yan, H., Zhou, Y., Zhao, Z., Cheng, Y., Pan, Y., Liu, Y., Wang, M., Liang, S., Han, Y., Li, H., & Li, X. (2024). Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation framework. Proceedings of the 61st ACM/IEEE Design Automation Conference. https://doi.org/10.1145/3649329.3657356

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.