HDLdebugger: Streamlining HDL debugging with Large Language Models

Xufeng Yao, Haoyang Li, Tsz Ho Chan, Wenyi Xiao, Mingxuan Yuan +3 more
3/18/2024
cs.ARcs.AIcs.CE

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

In the domain of chip design, Hardware Description Languages (HDLs) play a pivotal role. However, due to the complex syntax of HDLs and the limited availability of online resources, debugging HDL codes remains a difficult and time-intensive 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 Huawei, reveal that HDLdebugger outperforms 13 cutting-edge LLM baselines, displaying exceptional effectiveness in HDL code debugging.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2024hdldebugger,
  title  = {HDLdebugger: Streamlining HDL debugging with Large Language Models},
  author = {Xufeng Yao and Haoyang Li and Tsz Ho Chan and Wenyi Xiao and Mingxuan Yuan and Yu Huang and Lei Chen and Bei Yu},
  year   = {2024},
  eprint = {2403.11671},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.11671v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.11671.svg)](https://codeofpaper.com/paper/2403.11671)

Discussion