Introduction
In the realm of modern chip design, the generation of Register-Transfer Level (RTL) code is frequently overshadowed by the monumental task of Functional Verification (FV). Ensuring that a design adheres strictly to its specifications is the primary bottleneck in hardware engineering, often consuming up to two-thirds of the design cycle and accounting for nearly half of all costly silicon re-spins. While Large Language Models (LLMs) have shown promise in code generation, their application in the complex, multi-faceted domain of hardware verification remains under-explored.
Existing benchmarks for LLM-Aided Design (LAD) predominantly focus on simple Verilog generation or basic debugging. There is a critical need for a standardized platform that evaluates LLMs across the full breadth of verification tasks, including specification comprehension, testbench creation, and root-cause analysis. To bridge this gap, the authors introduce FIXME, the first comprehensive, end-to-end benchmark designed for LLM-aided hardware functional verification.
The FIXME Framework
The FIXME benchmark is built upon a structured, industry-aligned framework that mimics the real-world verification lifecycle. Its construction utilizes a novel "AI-human collaborative" process to ensure high data quality and technical relevance.
The framework consists of two primary phases:
- VerifyAgent Workflow: A multi-agent system is employed to filter, classify, and label data from open-source hardware repositories. This process is augmented by human experts who audit technical specifications and supplement testbenches, resulting in an average functional coverage increase of 45.57%.
- Evaluation Flow: The benchmark supports multi-modal inputs, including text, code, and waveforms (VCD format). It allows for iterative model refinement based on simulation feedback, reflecting the typical workflow of a verification engineer.
Benchmark Composition and Taxonomy
FIXME comprises 180 diverse tasks distributed across six critical sub-domains of functional verification: Specification Comprehension (SC), Reference Model Generation (MG), Testcase Design (TD), Testbench Generation (TG), Assertion Generation (AG), and Debugging (Debug). Tasks are further categorized into a three-level difficulty hierarchy (L1-L3) based on Lines of Code (LOC) and functional complexity, enabling a granular analysis of model capabilities.
Evaluation and Key Insights
Six state-of-the-art models—GPT-4o, Claude3, LLaMA3, Gemini-1.5-Pro, Mistral-Large, and Semikong—were evaluated on the FIXME benchmark. The results reveal significant disparities between syntactic proficiency and functional reasoning.
Key Findings:
- The Reasoning Ceiling: While models are adept at generating syntactically correct SystemVerilog, they struggle with tasks requiring deep logical reasoning. The average functional pass rate for Testcase Design (TD) and Assertion Generation (AG) was a mere 7.72%.
- Model Performance: GPT-4o emerged as the top overall performer with a 39.58% average functional pass rate. Claude3 showed particular strength in testbench coverage, achieving 68% in simulation-based metrics.
- Domain Specialization: Semikong, a model fine-tuned for the semiconductor domain, outperformed its base model by 31% but still lagged behind top-tier general-purpose models in complex reasoning tasks.
- The Debugging Challenge: Models frequently succeeded in fixing syntax errors but struggled to resolve deep-seated functional logic bugs, highlighting a major area for future research in LLM-aided debugging.
Conclusion
FIXME provides a rigorous, industry-aligned platform for evaluating LLMs in the critical domain of hardware functional verification. The findings underscore that while LLMs are becoming proficient at hardware coding, the "reasoning gap" in complex verification tasks remains a significant hurdle. Future work must focus on improving multi-modal support for complex verification files and fostering open collaboration to expand high-quality hardware verification datasets.
The FIXME benchmark is open-source and available at: https://github.com/ChatDesignVerification/FIXME
Summary updated