VHDL-Eval: A Framework for Evaluating Large Language Models in VHDL Code Generation
Prashanth Vijayaraghavan, Luyao Shi, Stefano Ambrogio, Charles Mackin,, Apoorva Nitsure, David Beymer, Ehsan Degan

TL;DR
This paper introduces VHDL-Eval, a specialized framework and dataset for evaluating large language models' ability to generate correct VHDL hardware description language code, highlighting current challenges and areas for improvement.
Contribution
The paper presents a new evaluation framework, a dataset of 202 VHDL problems, and an initial assessment of LLMs' performance in VHDL code generation.
Findings
LLMs face significant challenges in generating correct VHDL code.
Current models show considerable scope for improvement in VHDL code generation.
Supervised fine-tuning may enhance LLM performance for VHDL tasks.
Abstract
With the unprecedented advancements in Large Language Models (LLMs), their application domains have expanded to include code generation tasks across various programming languages. While significant progress has been made in enhancing LLMs for popular programming languages, there exists a notable gap in comprehensive evaluation frameworks tailored for Hardware Description Languages (HDLs), particularly VHDL. This paper addresses this gap by introducing a comprehensive evaluation framework designed specifically for assessing LLM performance in VHDL code generation task. We construct a dataset for evaluating LLMs on VHDL code generation task. This dataset is constructed by translating a collection of Verilog evaluation problems to VHDL and aggregating publicly available VHDL problems, resulting in a total of 202 problems. To assess the functional correctness of the generated VHDL code, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Software Testing and Debugging Techniques · Embedded Systems Design Techniques
MethodsSparse Evolutionary Training
