arXiv:2503.11666cs.ARcs.AI2025-03被引 3

用机器学习自动优化芯片验证,大幅减少仿真次数

Optimizing Coverage-Driven Verification Using Machine Learning and PyUVM: A Novel Approach

  • 用监督学习预测高效测试用例,替代手动调参
  • 在三个设计上实现99%以上覆盖率,仿真次数显著减少
  • 基于Python的PyUVM使验证更灵活,适合自动化团队

随着系统级芯片(SoC)设计复杂度提升,传统验证方法难以实现完整覆盖率。现有方法如约束随机验证(CRV)和覆盖率驱动方法依赖耗时且重复的仿真回归,需大量人工调整约束条件,导致验证成本高、上市周期长。本文提出一种新方法,利用监督学习优化仿真回归过程,显著降低仿真运行时间和测试用例数量。我们对比了scikit-learn中多种算法,结果表明其可实现至少99%的覆盖率恢复。采用Python通用验证方法(PyUVM)替代SystemVerilog通用验证方法(SV-UVM),通过Python简化测试平台构建,并便于调用现有机器学习库。该方法应用于三个不同设计,均有效降低验证成本与人工投入,缩短上市时间,提升验证效率与完整性。

原文摘要 · Abstract (English)

The escalating complexity of System-on-Chip (SoC) designs has created a bottleneck in verification, with traditional techniques struggling to achieve complete coverage. Existing techniques, such as Constrained Random Verification (CRV) and coverage-driven methodologies, rely on time-consuming and redundant simulation regression, leading to higher verification costs and longer time-to-market due to the manual effort required to adjust constraints and drive the stimuli to achieve coverage objectives. To address this challenge, we propose a novel methodology that leverages supervised Machine Learning (ML) to optimize simulation regressions, resulting in reduced simulation run-time and the number of test simulations required to achieve target coverage goals. We also investigate and compare the effectiveness of various supervised learning algorithms from scikit-learn. Our results demonstrate that these algorithms can achieve at least 99% coverage regain with significantly reduced simulation cycles. We utilize Python Universal Verification Methodology (PyUVM) over SystemVerilog-Universal Verification Methodology (SV-UVM) for testbench creation, enabling simpler constructs using Python and facilitating the reuse of existing ML libraries. Our methodology is applied to three diverse designs, and our results show that it can significantly reduce verification costs, manual efforts, and time-to-market, while enhancing verification productivity and completeness, by automating the testbench update process and achieving target coverage goals.

芯片验证机器学习自动化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。