VHDLBench:面向VHDL芯片设计的大语言模型基准测试与微调
VHDLBench: Benchmarking and Fine-Tuning Large Language Models for VHDL-Based Chip Design
研究团队构建了包含18,500+条语法校验样本的VHDL数据集,并用QLoRA对5个7B参数大模型进行微调。微调模型在常见设计任务上语法正确率最高达92%、功能准确率73%,其中DeepSeek-Coder提升最显著。生成设计已通过Zynq SoC上的FPGA原型验证,确认可实际部署运行。
arXiv:2610.28676v1 Announce Type: new Abstract: The rapid evolution of digital circuit complexity demands innovative approaches to hardware design automation. While Large Language Models (LLMs) have influenced software development, their application to Hardware Description Language (HDL) generation remains largely unexplored, particularly for VHDL. This paper presents a comprehensive study for AI-assisted digital circuit design, addressing gaps in current Electronic Design Automation workflows. The work introduces a VHDL dataset of 18,500+ syntax-verified examples from open-source repositories and converted Verilog designs. Five 7B-parameter LLMs were fine-tuned using parameter-efficient QLoRA technique, enabling deployment in resource-constrained environments. To evaluate model efficacy, a rigorous three-level pipeline was established: (1) syntax and synthesis validation, (2) functional simulation with testbenches, and (3) FPGA prototyping on Zynq SoCs. Results show fine-tuned models achieve up to 92% syntax correctness and 73% functional accuracy on common design tasks, with DeepSeek-Coder demonstrating the highest performance gains. Generated designs were successfully deployed on real hardware, confirming not only syntactic but operational viability. This work demonstrates that LLMs, when tailored with domain-specific data and lightweight fine-tuning can contribute meaningfully to the future of generative EDA workflows.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org