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

计算机工程 ›› 2009, Vol. 35 ›› Issue (3): 86-88. doi: 10.3969/j.issn.1000-3428.2009.03.030

• 软件技术与数据库 • 上一篇    下一篇

基于验证库的微处理器指令集验证方法

龚令侃,王玉艳,章建雄   

  1. (华东计算技术研究所,上海 200233)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-02-05 发布日期:2009-02-05

Library-based Verification Methodology for Instruction Set Validation of Microprocessor

GONG Ling-kan, WANG Yu-yan, ZHANG Jian-xiong   

  1. (East China Institute of Computer Technology, Shanghai 200233)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-02-05 Published:2009-02-05

摘要: 指令集作为微处理器软件和硬件的分界线在计算机体系结构中占有重要地位。测试程序自动生成(RTPG)是微处理器指令集验证的主要方法之一。该文比较目前主流的RTPG技术和验证策略,提出基于验证库的随机测试程序生成工具。使用通用脚本语言开发验证库和测试程序模板,针对不同验证阶段生成高质量的测试程序。测试结果表明,该方法实现简单,能达到较好的验证效果。

关键词: 微处理器, 指令集验证, 随机测试程序生成, 验证库

Abstract: Instruction set, as the interface between software and hardware, plays an important role in computer architecture. Random Test Program Generation(RTPG) is one of the efficient ways to verify an instruction set. After comparing some existing RTPG technologies and verification strategies, this paper proposes a library-based RTPG tool for instruction set verification. By developing both library and test template using a general purpose script language, it is capable of generating high quality test in different test stage. Results of test show that it is easy implemented, and on the meantime, it can get a satisfying verification result.

Key words: microprocessor, instruction set verification, Random Test Program Generation(RTPG), library-based verification

中图分类号: