• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 论文 • 上一篇    下一篇

一种基于贝叶斯网络的随机测试方法在Cache一致性验证中的设计与实现

艾阳阳,罗莉,杨庆娜,张恒浩,夏婷婷   

  1. (国防科技大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2016-12-05 修回日期:2017-05-08 出版日期:2017-08-25 发布日期:2017-08-25
  • 基金资助:


    基金项目:国家自然科学基金(61402497,61303069);国家科技重大专项核高基课题(2015ZX01028001-002-001)

A  Bayesian network based test generation method 
for Cache coherency protocol verification

AI Yang-yang,LUO Li,YANG Qing-na,ZHANG Heng-hao,XIA Ting-ting   

  1. (College of Computer,National University of Defense Technology,Changsha 410073,China)
  • Received:2016-12-05 Revised:2017-05-08 Online:2017-08-25 Published:2017-08-25

摘要:

随着集成电路设计复杂度指数级增长,功能验证已经越来越成为大规模芯片设计的瓶颈,而在多核处理器中,Cache一致性协议十分复杂,验证难度大。
针对Cache一致性协议验证提出基于模拟验证的一种基于贝叶斯网络的随机测试生成方法,解决Cache一致性协议状态空间爆炸的问题。首先分析了Cache一致性协议及基于贝叶斯网络推理的CDG方法,并将CDG方法应用于Cache一致性的验证。以FT处理器中的Cache一致性协议验证为例,对比伪随机测试,使用CDG方法将覆盖率提高近30%。

关键词: 芯片验证, Cache一致性, CDG, 贝叶斯网络, 随机测试

Abstract:

As the complexity of integrated circuit design increases exponentially, functional verification has become a bottleneck in large-scale chip design. And in multi-core processor design, Cache coherency protocols are very complex and difficult to verify. We propose a random test generation method based on Bayesian network for simulation-based verification to solve the state space explosion problem of Cache coherency protocols. We discuss the Cache coherency protocol, analyze the coverage directed test generation (CDG) method based on Bayesian network reasoning, and apply the method to Cache consistency verification. Taking the verification of the Cache coherence protocol of the FT processor as an example, the results show that the CDG method can increase coverage by nearly 30% in comparison with the pseudo-random test.
 

Key words: chip verification, Cache coherence, coverage directed generation(CDG), Bayesian network, random test