Enhancing Large Language Models for Hardware Verification: A Novel SystemVerilog Assertion Dataset
By: Anand Menon , Samit S Miftah , Shamik Kundu and more
Potential Business Impact:
Helps computers write code to check computer chips.
Hardware verification is crucial in modern SoC design, consuming around 70% of development time. SystemVerilog assertions ensure correct functionality. However, existing industrial practices rely on manual efforts for assertion generation, which becomes increasingly untenable as hardware systems become complex. Recent research shows that Large Language Models (LLMs) can automate this process. However, proprietary SOTA models like GPT-4o often generate inaccurate assertions and require expensive licenses, while smaller open-source LLMs need fine-tuning to manage HDL code complexities. To address these issues, we introduce **VERT**, an open-source dataset designed to enhance SystemVerilog assertion generation using LLMs. VERT enables researchers in academia and industry to fine-tune open-source models, outperforming larger proprietary ones in both accuracy and efficiency while ensuring data privacy through local fine-tuning and eliminating costly licenses. The dataset is curated by systematically augmenting variables from open-source HDL repositories to generate synthetic code snippets paired with corresponding assertions. Experimental results demonstrate that fine-tuned models like Deepseek Coder 6.7B and Llama 3.1 8B outperform GPT-4o, achieving up to 96.88% improvement over base models and 24.14% over GPT-4o on platforms including OpenTitan, CVA6, OpenPiton and Pulpissimo. VERT is available at https://github.com/AnandMenon12/VERT.
Similar Papers
hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation
Hardware Architecture
Helps computers write better code for electronics.
Insights from Rights and Wrongs: A Large Language Model for Solving Assertion Failures in RTL Design
Hardware Architecture
Fixes computer chip design errors automatically.
OpenLLM-RTL: Open Dataset and Benchmark for LLM-Aided Design RTL Generation
Hardware Architecture
Teaches computers to design computer chips from words.