arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.08524cs.ARcs.AIcs.LGcs.SE
收藏

仿真验证中覆盖导向测试选择的监督学习

Supervised Learning for Coverage-Directed Test Selection in Simulation-Based Verification

University of Bristol(布里斯托大学);Infineon Technologies(英飞凌科技)

Nyasha Masamba, Kerstin Eder, Tim Blackmore

摘要:

约束随机测试生成是仿真验证中最常用的激励生成方法之一。随机性导致测试多样性,但测试往往会重复执行相同的设计逻辑。约束被编写(通常是手动编写的)以使随机测试偏向于有趣的、难以达到的和尚未测试的逻辑。然而,随着验证的进展,大多数约束随机测试对功能覆盖率几乎没有影响。如果刺激生成消耗的资源比模拟少得多,那么更好的方法是随机生成大量测试,选择最有效的子集,然后只模拟该子集。本文介绍了一种自动约束提取和测试选择的新方法。这种方法,我们称之为覆盖导向测试选择,是基于覆盖反馈的监督学习。我们的方法偏向于选择具有高概率增加功能覆盖率的测试,并优先考虑它们进行模拟。我们展示了如何覆盖导向的测试选择可以减少手动约束编写,优先有效的测试,减少验证资源消耗,并加速覆盖关闭一个大型的,现实生活中的工业硬件设计。

英文摘要:

Constrained random test generation is one of the most widely adopted methods for generating stimuli for simulation-based verification. Randomness leads to test diversity, but tests tend to repeatedly exercise the same design logic. Constraints are written (typically manually) to bias random tests towards interesting, hard-to-reach, and yet-untested logic. However, as verification progresses, most constrained random tests yield little to no effect on functional coverage. If stimuli generation consumes significantly less resources than simulation, then a better approach involves randomly generating a large number of tests, selecting the most effective subset, and only simulating that subset. In this paper, we introduce a novel method for automatic constraint extraction and test selection. This method, which we call coverage-directed test selection, is based on supervised learning from coverage feedback. Our method biases selection towards tests that have a high probability of increasing functional coverage, and prioritises them for simulation. We show how coverage-directed test selection can reduce manual constraint writing, prioritise effective tests, reduce verification resource consumption, and accelerate coverage closure on a large, real-life industrial hardware design.

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

↑