VHDLBench: Benchmarking and Fine-Tuning Large Language Models for VHDL-Based Chip Design
Patrik Drazic, Benaoumeur Senouci, Boualem Benatallah
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.
Create a lesson
Related papers
SAFTAC: Simulation-Augmented Fine-Tuning of Open-Source LLMs for Analog Circuit Design
Shared title terminology · Junsheng Huang, Yifan Sun, Zhuoer Zhang et al.
OpenLayout: An Open and Agentic-Driven Platform for Holistic VLSI Physical Design and Benchmarking
Shared title terminology · Qiufeng Li, Sizhe Tang, Quan Cheng et al.
ICLayout-Bench: Benchmarking LLM Agents for Custom Circuit Layout Design
Shared title terminology · Zhangmai Li, Tianrui Ma, Zheng Weng et al.
Naviq: An Open-Source System-on-Chip Simulator for Rapid Prototyping, Verification, and Design Space Exploration
Shared title terminology · Scott Smith, Lukas Zscherpel, Alyssa Huang et al.
Exploring and optimizing the Vivado Flow on large FPGA designs: A Practical Analysis of Strategies and Their Impact on Timing
Shared title terminology · Kachkachi Nor Eddine
Agentic AI for Heterogeneous System Design Across Chip, Scale-Up, and Scale-Out Domains
Shared title terminology · Murali Emani, Kashyap R Manjusha