作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (11): 242-246. doi: 10.3969/j.issn.1000-3428.2012.11.074

• 开发研究与设计技术 • 上一篇    下一篇

MOTEC: 一个存储一致性模型验证工具

吕 正1,2,陈 昊1,3,陈 峰1,吕 毅2   

  1. (1. 西北大学信息科学与技术学院,西安 710069;2. 中国科学院软件研究所,北京 100190;3. 中国劳动关系学院,北京 100048)
  • 收稿日期:2011-11-03 出版日期:2012-06-05 发布日期:2012-06-05
  • 作者简介:吕 正(1977-),男,博士研究生,主研方向:计算机软件与理论;陈 昊,讲师、博士研究生;陈 峰,讲师、博士; 吕 毅,副研究员、博士
  • 基金资助:
    国家“863”计划基金资助项目(2007AA01Z147)

MOTEC: A Validation Tool for Memory Consistency Model

LV Zheng   1,2, CHEN Hao   1,3, CHEN Feng   1, LV Yi   2   

  1. (1. School of Information Science and Technology, Northwest University, Xi’an 710069, China; 2. Institute of Software, Chinese Academy of Sciences, Beijing 100190, China; 3. China Institute of Industrial Relations, Beijing 100048, China)
  • Received:2011-11-03 Online:2012-06-05 Published:2012-06-05

摘要: 由于缺乏可利用的额外观察条件,在芯片流片后阶段进行存储一致性模型验证较困难。为此,利用多核处理器系统中通用的性能计数器,通过定期扫描性能计数器以获得关键活动访存指令集合的信息,实现MOTEC工具。该工具由MOTEC随机指令发生模块、多核处理器性能计数器记录模块和MOTEC分析模块3个部分组成。对其核心算法的分析结果表明,MOTEC的时间复杂度仅为 ,在目前流片后阶段进行验证的工具中时间复杂度最低。

关键词: 多核处理器, 存储一致性模型, 形式验证, 动态验证, 存储系统, 验证工具

Abstract: For the purpose of verification of the memory consistency model after tapeout stage, this paper proposes a low time complexity algorithm by exploring the key time order information which is implicitly derived based on the values of performance counters being scanned periodically. The MOTEC tool which implements this algorithm is general enough to support many multicore processor systems with trivial modifications. The complexity analysis shows that the time complexity of MOTEC is only , thus MOTEC can verify the multicore program of millions of lines.

Key words: multicore processor, memory consistency model, formal verification, dynamic validation, memory system, validation tool

中图分类号: