ChatChisel: Enabling Agile Hardware Design with Large Language Models

被引:0
|
作者
Liu, Tianyang [1 ]
Tian, Qi [1 ]
Ye, Jianmin [1 ]
Fu, LikTung [1 ]
Su, Shengchu [1 ]
Li, Junyan [1 ]
Wane, Gwok-Waa [2 ]
Zhang, Layton [2 ]
Wong, Sam-Zaak [2 ]
Wang, Xi [1 ,2 ]
Yang, Jun [1 ,2 ]
机构
[1] Southeast Univ, Natl ASIC Ctr, Sch Integrate Circuits, Nanjing 210096, Peoples R China
[2] Natl Ctr Technol Innovat Elect Design Automat EDA, Nanjing 211800, Peoples R China
关键词
Chisel; LLM; Agile Hardware Design; RISC-V;
D O I
10.1109/ISEDA62518.2024.10618053
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
With the increasing complexity of integrated circuits, agile hardware design methodologies are crucial. Modern HDLs like Chisel enhance design quality, but manual implementations remain error-prone and time-consuming. Large language models (LLMs) offer potential for design automation through natural language but face challenges in generating large circuits using Verilog. We evaluate LLM capabilities for Chisel and Verilog generation, demonstrating superior Chisel generation ability. We introduce ChatChisel, the first language-based agile hardware design workflow that generates Chisel from language specifications. ChatChisel utilizes four LLM-based modules for decomposing, generating, error-correcting, and composing hardware designs. Techniques like LLM collaboration and RAG enhance ChatChisel's performance. Using GPT-3.5-turbo, we implemented an RV32I RISC-V CPU with 5-stage pipeline and dynamic branch prediction. We also validate our approach with extensive evaluations. Our experimental results reveal that ChatChisel can outperform LLM-based hardware design with Verilog by an average of 31.86%, implying a significant design capability enhancement and design process acceleration with ChatChisel.
引用
收藏
页码:710 / 716
页数:7
相关论文
共 50 条
  • [31] Agile conceptual design and validation based on multi-source product data and large language models: a review, framework, and outlook
    Li, Shijiang
    Zhou, Xingwei
    Liu, Ying
    Chen, Jiancheng
    Guo, Tao
    Yang, Wanran
    Hou, Liang
    JOURNAL OF ENGINEERING DESIGN, 2025,
  • [32] Hardware-oriented algorithms for softmax and layer normalization of large language models
    Wenjie LI
    Dongxu LYU
    Gang WANG
    Aokun HU
    Ningyi XU
    Guanghui HE
    Science China(Information Sciences), 2024, 67 (10) : 85 - 99
  • [33] Hardware-oriented algorithms for softmax and layer normalization of large language models
    Li, Wenjie
    Lyu, Dongxu
    Wang, Gang
    Hu, Aokun
    Xu, Ningyi
    He, Guanghui
    SCIENCE CHINA-INFORMATION SCIENCES, 2024, 67 (10)
  • [34] Enabling hardware verification through design changes
    Abdel-Hamid, AT
    Tahar, S
    Harrison, J
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2002, 2495 : 459 - 470
  • [35] What's Missing in Agile Hardware Design? Verification!
    Falsafi, Babak
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2023, 38 (04) : 735 - 736
  • [36] OpenPiton at 5: A Nexus for Open and Agile Hardware Design
    Balkind, Jonathan
    Chang, Ting-Jung
    Jackson, Paul J.
    Tziantzioulis, Georgios
    Li, Ang
    Gao, Fei
    Lavrov, Alexey
    Chirkov, Grigory
    Tu, Jinzheng
    Shahrad, Mohammad
    Wentzlaff, David
    IEEE MICRO, 2020, 40 (04) : 22 - 31
  • [37] What’s Missing in Agile Hardware Design? Verification!
    Babak Falsafi
    Journal of Computer Science and Technology, 2023, 38 : 735 - 736
  • [38] Hardware design with a scripting language
    Haglund, P
    Mencer, O
    Luk, W
    Tai, B
    FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS, 2003, 2778 : 1040 - 1043
  • [39] Language barriers in hardware design
    Ghosh, S
    Giambiasi, N
    IEEE CIRCUITS & DEVICES, 1999, 15 (05): : 25 - 40
  • [40] Design pattern recognition: a study of large language models
    Pandey, Sushant Kumar
    Chand, Sivajeet
    Horkoff, Jennifer
    Staron, Miroslaw
    Ochodek, Miroslaw
    Durisic, Darko
    EMPIRICAL SOFTWARE ENGINEERING, 2025, 30 (03)