arrow
返回

HDLdebugger: Streamlining HDL debugging with Large Language Models

delete2025-11-01
delete0
PRE
AI
X
Xufeng Yao
H
Haoyang Li
T
Tszho Chan
W
Wenyi Xiao
M
Mingxuan Yuan
Y
Yu Huang
陈蕾 封面图
陈蕾 (Lei Chen) *
B
Bei Yu *
DOI:10.1145/3735638delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
In the domain of chip design, hardware description languages (HDLs) play a pivotal role. However, due to the inherent complexity of HDLs and the scarcity of high-quality debugging resources, HDL bug fixing remains a challenging and time-consuming task, even for seasoned engineers. Consequently, there is a pressing need to develop automated HDL code debugging models, which can alleviate the burden on hardware engineers. Despite the strong capabilities of large language models (LLMs) in generating, completing, and debugging software code, their utilization in the specialized field of HDL debugging has been limited and, to date, has not yielded satisfactory results. In this paper, we propose an LLM-assisted HDL debugging framework, namely HDLdebugger, which consists of HDL debugging data generation via a reverse engineering approach, a search engine for retrieval-augmented generation, and a retrieval-augmented LLM fine-tuning approach. Through the integration of these components, HDLdebugger can automate and streamline HDL debugging for chip design. Our comprehensive experiments, conducted on an HDL code dataset sourced from Industry, reveal that HDLdebugger outperforms 13 cutting-edge LLM baselines, displaying exceptional effectiveness in HDL code debugging.
Keyword:
Code Debugging
Large Language Model
Retrieval Augmented Generation

期刊

A
ACM Transactions on Design Automation of Electronic Systems
IF:
2
论文数:
112
被引数:
1.2K

机构

H
Huawei Technologies
学者数:
27
论文数: 14
被引数: 0
C
Chinese University of Hong Kong
学者数:
3.4W
论文数: 3.2W
被引数: 5.6W
引用论文

引用论文

err
IF0
err1900-01-01
err0
errOAAI
err
err分享
err收藏
err
IF0
err
err0
errOAAI
err
err分享
err收藏
Multimedia Search Reranking: A Literature Survey
err2014-01-01
err155
PREAI
errMei, Tao; Rui, Yong; Li, Shipeng; Tian, Qi
err分享
err收藏
err
IF0
err
err0
errOAAI
err
err分享
err收藏
err分享
err收藏
Competition-level code generation with AlphaCode使用字母码生成竞争级代码
err2022-12-09
err0
errOAAI
errYujia Li; David Choi; Junyoung Chung; Nate Kushman; Julian Schrittwieser; Rémi Leblond; Tom Eccles; James Keeling; Felix Gimeno; Agustin Dal Lago; Thomas Hubert; Peter Choy; Cyprien de Masson d’Autume; Igor Babuschkin; Xinyun Chen; Po-Sen Huang; Johannes Welbl; Sven Gowal; Alexey Cherepanov; James Molloy; Daniel J. Mankowitz; Esme Sutherland Robson; Pushmeet Kohli; Nando de Freitas; Koray Kavukcuoglu; Oriol Vinyals
err分享
err收藏
学者 查看更多内容