RefEvo: 基于共进化验证的代理设计用于敏捷参考模型生成
RefEvo: Agentic Design with Co-Evolutionary Verification for Agile Reference Model Generation
AI总结:
RefEvo通过动态设计规划、共进化验证机制和规格锚定策略,提升SoC设计参考模型的敏捷性和可靠性,实现95%的通过率和71.04%的上下文优化。
摘要:
随着System-on-Chip (SoC)设计复杂性增加,Shift-Left范式要求快速开发高保真的参考模型(通常用SystemC编写)用于早期架构探索和验证。尽管大语言模型(LLMs)在代码生成中表现出潜力,但其在硬件建模中的应用面临独特挑战:(1)刚性、静态的工作流无法适应变化的设计复杂性,导致低效;(2)多轮交互中的上下文窗口溢出导致关键规格遗忘;(3)耦合验证失败问题——生成的测试平台(TBs)因相关幻觉错误验证了缺陷模型,严重损害可靠性。为解决这些限制,我们引入RefEvo,一种动态多代理框架,用于敏捷且可靠的参考建模。RefEvo有三个关键创新:(1)动态设计规划器,根据语义复杂性自动分解设计规范并构建定制执行工作流;(2)共进化验证机制,利用辩证仲裁器同时纠正模型和验证逻辑以符合规范(Spec) oracle,有效缓解假阳性;(3)规格锚定策略用于无损上下文压缩。在20个硬件模块的多样化基准上评估,RefEvo实现了95%的通过率,远超静态基线。此外,我们的上下文优化将token消耗减少71.04%,复杂设计每会话节省超过70,000个token,同时保持100%的规范召回率。
英文摘要:
As the complexity of System-on-Chip (SoC) designs grows, the shift-left paradigm necessitates the rapid development of high-fidelity reference models (typically written in SystemC) for early architecture exploration and verification. While Large Language Models (LLMs) show promise in code generation, their application to hardware modeling faces unique challenges: (1) Rigid, static workflows fail to adapt to varying design complexity, causing inefficiency; (2) Context window overflow in multi-turn interactions leads to catastrophic forgetting of critical specifications; and (3) the Coupled Validation Failure problem--where generated Testbenches (TBs) incorrectly validate flawed models due to correlated hallucinations--severely undermines reliability. To address these limitations, we introduce RefEvo, a dynamic multi-agent framework designed for agile and reliable reference modeling. RefEvo features three key innovations: (1) A Dynamic Design Planner that autonomously decomposes design specifications and constructs tailored execution workflows based on semantic complexity; (2) A Co-Evolutionary Verification Mechanism, which employs a Dialectical Arbiter to simultaneously rectify the model and verification logic against the specification (Spec) oracle, effectively mitigating false positives; and (3) A Spec Anchoring Strategy for lossless context compression. Evaluated on a diverse benchmark of 20 hardware modules, RefEvo achieves a 95% pass rate, outperforming static baselines by a large margin. Furthermore, our context optimization reduces token consumption by an average of 71.04%, achieving absolute savings of over 70,000 tokens per session for complex designs while maintaining 100% specification recall.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。