paper-with-me

홈 › Papers

HDLdebugger: Streamlining HDL debugging with Large Language Models

2024-03-18 · Xufeng Yao, Haoyang Li, Tsz Ho Chan, Wenyi Xiao, Mingxuan Yuan, Yu Huang, Lei Chen, Bei Yu

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.

📄 PDF Abstract BibTeX arXiv:2403.11671

Code (0)

등록된 구현이 없습니다.

Tasks

RetrievalRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

TokenSmith: Streamlining Data Editing, Search, and Inspection for Large-Scale Language Model Training and Interpretability

2025-07-25 · Mohammad Aflah Khan, Ameya Godbole, Johnny Tian-Zheng Wei, Ryan Wang 외 arxiv

Understanding the relationship between training data and model behavior during pretraining is crucial, but existing workflows make this process cumbersome, fragmented, and often inaccessible to researchers. We present To…

NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging

2025-05-21 · Weiming Zhang, Qingyao Li, Xinyi Dai, Jizheng Chen 외

Debugging is a critical aspect of LLM's coding ability. Early debugging efforts primarily focused on code-level analysis, which often falls short when addressing complex programming errors that require a deeper understan…

RepoDebug: Repository-Level Multi-Task and Multi-Language Debugging Evaluation of Large Language Models

2025-09-04 · Jingjing Liu, Zeming Liu, Zihao Cheng, Mengliang He 외 arxiv

Large Language Models (LLMs) have exhibited significant proficiency in code debugging, especially in automatic program repair, which may substantially reduce the time consumption of developers and enhance their efficienc…

Program RepairCode Repair

Teaching Large Language Models to Self-Debug

2023-04-11 · Xinyun Chen, Maxwell Lin, Nathanael Schärli, Denny Zhou

Large language models (LLMs) have achieved impressive performance on code generation. However, for complex programming tasks, generating the correct solution in one go becomes challenging, thus some prior works have desi…

Code GenerationLanguage ModelingLanguage ModellingLarge Language Model+4

DebugBench: Evaluating Debugging Capability of Large Language Models

2024-01-09 · Runchu Tian, Yining Ye, Yujia Qin, Xin Cong 외

Large Language Models (LLMs) have demonstrated exceptional coding capability. However, as another critical component of programming proficiency, the debugging capability of LLMs remains relatively unexplored. Previous ev…

Code Generation