TLDR: VERIMOA is a training-free mixture-of-agents framework designed to improve Hardware Description Language (HDL) generation from specifications using Large Language Models (LLMs). It addresses common issues in multi-agent systems like noise propagation and limited reasoning by introducing a quality-guided caching mechanism for monotonic knowledge accumulation and a multi-path generation strategy that leverages C++ and Python as intermediate representations for diverse solution exploration. Experiments show VERIMOA achieves 15–30% improvements in performance, enabling smaller LLMs to match or exceed larger and fine-tuned models without requiring costly training.
The world of semiconductor design is constantly pushing the boundaries of what’s possible, demanding faster and more efficient hardware. A crucial part of this process is Register Transfer Level (RTL) design, which involves creating Hardware Description Language (HDL) code from specifications. Traditionally, this has been a complex and time-consuming task, but recent advancements in Large Language Models (LLMs) have shown promise in automating this process.
However, applying LLMs to HDL generation comes with its own set of challenges. Unlike common programming languages like C++ or Python, HDL is a specialized domain with limited representation in the vast datasets LLMs are trained on. This means LLMs often lack the deep, domain-specific knowledge required for accurate hardware design. Furthermore, HDL has unique operational semantics and constraints, such as capturing concurrent hardware behavior and adhering to strict timing requirements, which general-purpose LLMs struggle to grasp.
Previous attempts to overcome these limitations have included prompt engineering (crafting specific instructions for LLMs) and fine-tuning (training LLMs on specialized HDL datasets). While these methods offered some improvements, they faced issues like limited knowledge coverage, high training costs, and a fundamental reliance on a single, monolithic generation process that couldn’t easily incorporate collaboration or continuous improvement.
Multi-agent architectures emerged as an alternative, where multiple LLM agents work together. Yet, existing multi-agent approaches had their own problems: they were prone to errors spreading through the system (noise propagation) and often explored a very narrow range of possible solutions, leading to suboptimal designs.
Introducing VERIMOA: A Smarter Approach to HDL Generation
To tackle these critical deficiencies, researchers have developed VERIMOA (Quality-guided Multi-path Mixture-of-Agents for HDL Generation). This innovative, training-free framework introduces two key synergistic innovations to enhance HDL generation:
1. Quality-Guided Caching Mechanism: Imagine a central library that stores every intermediate piece of HDL code generated by the agents, along with a quality score. VERIMOA’s quality-guided caching mechanism does just that. It evaluates and caches all intermediate HDL outputs, allowing agents in later stages to select and build upon only the highest-quality code from the entire generation process. This breaks the chain of errors that can accumulate in traditional multi-agent systems, ensuring that knowledge steadily improves across different layers of reasoning.
2. Multi-Path Generation Strategy: To expand the exploration of potential solutions, VERIMOA employs a multi-path generation strategy. It leverages the LLMs’ strong understanding of high-resource languages like C++ and Python. Instead of directly generating HDL, some agents first translate the design specification into C++ or Python code. This two-stage process (specification → high-level code → HDL) allows LLMs to use their fluency in these languages to decompose complex design requirements into more manageable algorithmic constructs. This not only promotes solution diversity but also provides a structured scaffold for generating accurate HDL.
These two innovations work together seamlessly. The quality-guided caching ensures that valuable insights are never lost and that agents always have access to the best available references. Meanwhile, the multi-path generation introduces structured diversity, exploring different reasoning trajectories (direct HDL, C++-guided, Python-guided) to find the most comprehensive and effective solutions.
Also Read:
- APOLLO: Enhancing LLM Agent Training for Extended Tasks with Human Guidance
- Decoding the Future: How AI Learns Events from Purely Numerical Time-Series
Impressive Results Without Costly Training
Comprehensive experiments on industry benchmarks like VerilogEval 2.0 and RTLLM 2.0 have shown remarkable results. VERIMOA achieves significant improvements, typically 15–30% in Pass@1 (a metric for functional correctness), across various LLM backbones. What’s particularly impressive is that VERIMOA enables smaller LLMs to match or even surpass the performance of much larger models and even fine-tuned alternatives, all without the need for expensive and time-consuming training.
For instance, a smaller Qwen2.5-7B model powered by VERIMOA can outperform a larger Qwen2.5-32B model using older multi-agent methods. This highlights that smart architectural design and effective information flow can be more impactful than simply increasing model size or undergoing costly specialized training.
In conclusion, VERIMOA represents a significant step forward in automating RTL design. By systematically addressing the challenges of noise propagation and limited reasoning space, it offers a practical and scalable solution for generating high-quality HDL code. You can find more details about this research at the research paper.


