HAVEN: Hybrid UVM Testbench Synthesis with LLMs

Date:

HAVEN: Hybrid Automated Verification ENgine for UVM Testbench Synthesis with LLMs

The landscape of Integrated Circuit (IC) verification is undergoing a significant transformation with the introduction of HAVEN (Hybrid Automated Verification ENgine), a novel framework designed to enhance the efficiency of testbench synthesis using Large Language Models (LLMs). As integrated circuit verification accounts for nearly 70% of the IC development cycle, the demand for automated solutions has never been higher.

Despite the promising capabilities of LLMs in generating code, challenges remain, particularly when it comes to Hardware Description Languages (HDLs). These languages are not well-represented in LLM training datasets, often resulting in incorrect or inefficient code generation. To address these issues, HAVEN employs a hybrid approach that combines the analytical strengths of LLMs with a structured framework for generating Universal Verification Methodology (UVM) testbenches and sequences.

Key Features of HAVEN

  • Architectural Planning: HAVEN utilizes LLM agents to analyze design specifications and produce a structured architectural plan, ensuring that the generated testbenches are both comprehensive and aligned with design requirements.
  • Template Engine: The HAVEN Template Engine integrates predefined and protocol-specific templates to generate UVM components. This approach guarantees correct bus-handshake timing, which is critical for the reliability of the testbench.
  • Protocol-Aware DSL: For UVM sequence generation, HAVEN introduces a Protocol-Aware Sequence Domain-Specific Language (DSL) that breaks down sequences into fine-grained step types, enhancing the granularity and precision of the generated sequences.
  • Coverage Optimization: The framework includes a mechanism for iteratively improving coverage rates by analyzing coverage gap reports. LLMs are leveraged to compose additional targeted DSL sequences, thereby enhancing the overall testbench quality.

Performance Metrics

In experimental evaluations conducted on 19 open-source IP designs across three distinct interface protocols—Direct, Wishbone, and AXI4-Lite—HAVEN has demonstrated impressive performance metrics:

  • Compilation Success: 100% compilation success rate, indicating that all generated testbenches compile without errors.
  • Code Coverage: An average code coverage of 90.6%, showcasing the thoroughness of the generated testbenches in exercising the design.
  • Functional Coverage: Achieving an average functional coverage of 87.9%, which reflects the effectiveness of the testbenches in validating the intended functionality of the designs.

Conclusion

HAVEN stands out as a significant advancement in the realm of LLM-assisted testbench generation systems. By addressing the limitations of traditional LLMs in generating HDLs and offering a structured framework that incorporates protocol-specific templates and a robust DSL, HAVEN not only improves efficiency but also enhances the reliability of the verification process. Its state-of-the-art performance metrics underscore its potential to redefine the standards of IC verification, making it an essential tool for engineers and developers in the field.

Related AI Insights

Lazarus Omolua
Lazarus Omoluahttps://richlyai.com/blog
My mission is to make sure that people in Africa are not left behind in the global AI revolution. RichlyAI exists to give everyone — students, founders, creators, and businesses — the tools to compete globally.

Subscribe

Popular

More like this
Related

How Business Ops Teams Boost Productivity with Codex

Discover how business operations teams use Codex to streamline documentation, enhance collaboration, and improve decision-making with AI-powered automation...

OpenAI Partners with Malta to Offer ChatGPT Plus Nationwide

OpenAI and Malta team up to provide free ChatGPT Plus access and AI training to all citizens, promoting digital literacy and responsible AI use.

Critical Linux Kernel Flaw Risks SSH Host Key Theft

A critical Linux kernel flaw risks stolen SSH host keys. Learn how to protect your systems and stay secure until patches are widely available.

Top External Hard Drives 2026: Expert Reviews & Buying Guide

Discover the best external hard drives of 2026 with expert reviews. Find top picks for speed, durability, and security to suit all storage needs.