arrow
Return

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
陈蕾 cover
陈蕾 (Lei Chen) *
B
Bei Yu *
DOI:10.1145/3735638delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Code Debugging
Large Language Model
Retrieval Augmented Generation

Journal

A
ACM Transactions on Design Automation of Electronic Systems
IF:
2
Papers:
112
Citations:
1.2K

Organization

H
Huawei Technologies
Scholars:
27
Papers: 14
Citations: 0
C
Chinese University of Hong Kong
Scholars:
3.4W
Papers: 3.2W
Citations: 5.6W
Cited Papers

Cited Papers

err
IF0
err1900-01-01
err0
errOAAI
err
errShare
errSave
err
IF0
err
err0
errOAAI
err
errShare
errSave
Multimedia Search Reranking: A Literature Survey
err2014-01-01
err155
PREAI
errMei, Tao; Rui, Yong; Li, Shipeng; Tian, Qi
errShare
errSave
Software Testing With Large Language Models: Survey, Landscape, and Vision
err2024-04-01
err31
errOAAI
errWang, Junjie; Huang, Yuchao; Chen, Chunyang; Liu, Zhe; Wang, Song; Wang, Qing
errShare
errSave
High-Resolution Image Synthesis with Latent Diffusion Models
err2022-06-01
err0
errOAAI
errRobin Rombach; Andreas Blattmann; Dominik Lorenz; Patrick Esser; Bjorn Ommer
errShare
errSave
err
IF0
err
err0
errOAAI
err
errShare
errSave
errShare
errSave
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
errShare
errSave
researcher View more