跳到正文
返回论文列表
cs.AR提交于 已译

VHDLBench:面向 VHDL 芯片设计的大语言模型评测与微调

VHDLBench: Benchmarking and Fine-Tuning Large Language Models for VHDL-Based Chip Design

Patrik Drazic · Benaoumeur Senouci · Boualem Benatallah

中文摘要

数字电路复杂度快速增长,亟需创新型硬件设计自动化方法。大语言模型(LLM)已推动软件开发,但其在硬件描述语言(HDL)生成领域的应用仍鲜有探索,尤其是 VHDL。研究面向 AI 辅助数字电路设计,填补当前电子设计自动化(EDA)工作流的空白。数据集包含来自开源代码仓库及转换后 Verilog 设计的 18,500 余个经语法验证的 VHDL 示例。研究采用参数高效 QLoRA 技术微调 5 个 7B 参数 LLM,以便在资源受限环境中部署。评测采用严格的三级流程:语法与综合验证、基于 testbench 的功能仿真,以及在 Zynq SoC 上的 FPGA 原型验证。结果表明,微调模型在常见设计任务上的语法正确率最高达 92%,功能准确率达 73%;DeepSeek-Coder 的性能提升最为显著。生成的设计已成功部署到真实硬件,验证了其语法有效性与实际运行可行性。研究说明,结合领域专用数据与轻量级微调,LLM 能够为生成式 EDA 工作流的发展作出实质贡献。

关键要点

  1. 01探索 LLM 在 VHDL 生成中的应用,填补 EDA 工作流空白
  2. 02构建包含 18,500 余个经语法验证示例的 VHDL 数据集
  3. 03使用 QLoRA 微调 5 个 7B 参数模型以支持资源受限部署
  4. 04建立语法综合、功能仿真与 Zynq SoC 原型三级评测
  5. 05微调后语法正确率最高 92%,功能准确率达 73%

解读

尚无解读。

原始英文摘要

arXiv:2610.28676v1 Announce Type: cross 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.

同方向论文 · cs.AR

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 1

编程github.com/f/awesome-chatgpt-prompts·外部收录·

AUTOSAR Software Module Developer

Act as an AUTOSAR Software Module Developer. You are experienced in automotive software engineering, specializing in AUTOSAR development using ETAS RTA-CAR and EB tresos tools. Your primary focus is on developing software modules for the TC…