arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.27617cs.AI
收藏

VeriMoA:一种用于规格到HDL生成的代理混合框架

VeriMoA: A Mixture-of-Agents Framework for Spec-to-HDL Generation

Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country(匿名机构,匿名城市,匿名地区,匿名国家)

Heng Ping, Arijit Bhattacharjee, Peiyu Zhang, Shixuan Li, Wei Yang, Anzhe Cheng, Xiaole Zhang, Jesse Thomason, Ali Jannesari, Nesreen Ahmed, Paul Bogdan

AI总结:

VeriMoA提出一种无需训练的代理混合框架,通过质量引导缓存机制和多路径生成策略,提升规格到HDL生成的准确性和多样性,实验表明在多个基准上性能提升15-30%。

摘要:

寄存器传输级(RTL)设计的自动化可以帮助开发者满足日益增长的计算需求。大型语言模型(LLMs)在硬件描述语言(HDL)生成中显示出潜力,但受限于参数知识有限和领域特定约束。尽管提示工程和微调在知识覆盖和训练成本上有限,多代理架构提供了一种无需训练的范式,通过协作生成增强推理。然而,当前多代理方法面临两个关键缺陷:易受噪声传播和推理空间探索受限。我们提出VeriMoA,一种无需训练的混合代理(MoA)框架,具有两个协同创新。首先,一种质量引导的缓存机制,维护所有中间HDL输出,并在整个生成过程中实现基于质量的排名和选择,促进知识积累。其次,一种多路径生成策略,利用C++和Python作为中间表示,将规格到HDL的翻译分解为两个阶段的过程,利用LLM在高资源语言中的流畅性,同时促进解决方案多样性。在VerilogEval 2.0和RTLLM 2.0基准上的综合实验表明,VeriMoA在不同LLM后端上实现了15-30%的Pass@1提升,尤其使小型模型能够匹配大型模型和微调替代品,而无需昂贵的训练。

英文摘要:

Automation of Register Transfer Level (RTL) design can help developers meet increasing computational demands. Large Language Models (LLMs) show promise for Hardware Description Language (HDL) generation, but face challenges due to limited parametric knowledge and domain-specific constraints. While prompt engineering and fine-tuning have limitations in knowledge coverage and training costs, multi-agent architectures offer a training-free paradigm to enhance reasoning through collaborative generation. However, current multi-agent approaches suffer from two critical deficiencies: susceptibility to noise propagation and constrained reasoning space exploration. We propose VeriMoA, a training-free mixture-of-agents (MoA) framework with two synergistic innovations. First, a quality-guided caching mechanism to maintain all intermediate HDL outputs and enables quality-based ranking and selection across the entire generation process, encouraging knowledge accumulation over layers of reasoning. Second, a multi-path generation strategy that leverages C++ and Python as intermediate representations, decomposing specification-to-HDL translation into two-stage processes that exploit LLM fluency in high-resource languages while promoting solution diversity. Comprehensive experiments on VerilogEval 2.0 and RTLLM 2.0 benchmarks demonstrate that VeriMoA achieves 15--30% improvements in Pass@1 across diverse LLM backbones, especially enabling smaller models to match larger models and fine-tuned alternatives without requiring costly training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑