HDLdebugger: Streamlining HDL debugging with Large Language Models
Yao, Xufeng, Li, Haoyang, Chan, Tsz Ho, Xiao, Wenyi, Yuan, Mingxuan, Huang, Yu, Chen, Lei, Yu, Bei
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Mar-18-2024
- Country:
- Asia > China
- Guangdong Province > Shenzhen (0.04)
- Hong Kong (0.05)
- Europe > Spain
- Catalonia > Barcelona Province > Barcelona (0.05)
- North America > United States
- New York > New York County > New York City (0.04)
- Asia > China
- Genre:
- Research Report (1.00)
- Industry:
- Information Technology > Security & Privacy (0.46)
- Technology: