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

使用机器学习优化设计验证:比随机更好

Optimizing Design Verification using Machine Learning: Doing better than Random

Xilinx(赛灵思);UT-Austin(德克萨斯大学奥斯汀分校)

William Hughes, Sandeep Srinivasan, Rohit Suvarna, Maithilee Kulkarni

摘要:

随着集成电路变得越来越复杂,约束随机激励作为激励设计功能并确保其完全满足预期的手段已经变得无处不在。理论上,随机刺激允许所有可能的组合在足够的时间内被执行,但在实践中,对于高度复杂的设计,纯粹的随机方法将难以及时地执行所有可能的组合。因此,通常需要引导设计验证(DV)环境以生成难以命中的组合。由此产生的约束随机方法是强大的,但往往依赖于广泛的人类专业知识来指导DV环境,以充分行使设计。随着设计变得越来越复杂,指导方面变得越来越具有挑战性和耗时,通常导致设计进度表中,达到所有可能的设计覆盖点的验证时间是主要的进度限制。本文介绍了一种方法,利用现有的约束随机DV环境工具,但进一步加强他们使用监督学习和强化学习技术。这种方法以高度自动化的方式提供了比随机结果更好的结果,从而确保可以在加速的时间尺度上以更少的资源实现完全设计覆盖的DV目标。给出了两个硬件验证示例,一个是缓存控制器设计,另一个使用开源RISCV-Ariane设计和Google的RISCV随机指令生成器。我们证明了基于机器学习的方法可以比随机或约束随机方法在功能覆盖和达到复杂的难以击中的状态方面表现得更好。

英文摘要:

As integrated circuits have become progressively more complex, constrained random stimulus has become ubiquitous as a means of stimulating a designs functionality and ensuring it fully meets expectations. In theory, random stimulus allows all possible combinations to be exercised given enough time, but in practice with highly complex designs a purely random approach will have difficulty in exercising all possible combinations in a timely fashion. As a result it is often necessary to steer the Design Verification (DV) environment to generate hard to hit combinations. The resulting constrained-random approach is powerful but often relies on extensive human expertise to guide the DV environment in order to fully exercise the design. As designs become more complex, the guidance aspect becomes progressively more challenging and time consuming often resulting in design schedules in which the verification time to hit all possible design coverage points is the dominant schedule limitation. This paper describes an approach which leverages existing constrained-random DV environment tools but which further enhances them using supervised learning and reinforcement learning techniques. This approach provides better than random results in a highly automated fashion thereby ensuring DV objectives of full design coverage can be achieved on an accelerated timescale and with fewer resources. Two hardware verification examples are presented, one of a Cache Controller design and one using the open-source RISCV-Ariane design and Google's RISCV Random Instruction Generator. We demonstrate that a machine-learning based approach can perform significantly better on functional coverage and reaching complex hard-to-hit states than a random or constrained-random approach.

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

↑