利用机器学习和PyUVM优化覆盖驱动验证:一种新方法
Optimizing Coverage-Driven Verification Using Machine Learning and PyUVM: A Novel Approach
AI总结:
本文提出利用机器学习和PyUVM优化覆盖驱动验证,通过监督学习算法减少模拟周期和验证成本,提升验证效率和覆盖率。
摘要:
随着系统级芯片(SoC)设计复杂性的增加,验证过程遇到了瓶颈,传统技术难以实现全面覆盖。现有的技术,如约束随机验证(CRV)和覆盖驱动方法,依赖于耗时且冗余的模拟回归,导致验证成本更高,时间到市场更长,因为需要手动调整约束并驱动刺激以实现覆盖目标。为了解决这一挑战,我们提出了一种新的方法,利用监督机器学习(ML)来优化模拟回归,从而减少模拟运行时间和达到目标覆盖目标所需的测试模拟数量。我们还研究并比较了scikit-learn中各种监督学习算法的有效性。我们的结果表明,这些算法可以实现至少99%的覆盖恢复,同时显著减少模拟周期。我们使用Python通用验证方法(PyUVM)代替SystemVerilog通用验证方法(SV-UVM)来创建测试平台,利用Python更简单的构造,促进现有ML库的重用。我们的方法应用于三种不同的设计,结果表明,它可以显著降低验证成本、手动努力和时间到市场,同时提高验证生产力和完整性,通过自动化测试平台更新过程并实现目标覆盖目标。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。