首页> 外文期刊>ACM Transactions on Design Automation of Electronic Systems >A BNF-Based Automatic Test Program Generator for Compatible Microprocessor Verification
【24h】

A BNF-Based Automatic Test Program Generator for Compatible Microprocessor Verification

机译:基于BNF的自动测试程序生成器,用于兼容的微处理器验证

获取原文
获取原文并翻译 | 示例
           

摘要

A novel Backus-Naur-form- (BNF-) based method to automatically generate test programs from simple to complex ones for advanced microprocessors is presented in this paper. We use X86 architecture to illustrate our design method. Our method is equally applicable to other processor architectures by redefining BNF production rules. Design issues for an automatic program gener-ator (APG) are first outlined. We have resolved the design issues and implemented the APG by a top-down recursive descent parsing method which was originated from compiler design. Our APG can produce not only random test programs but also a sequence of instructions for a specific module to be tested by specifying a user menu-driven file. In addition, test programs generated by our APG have the features of no infinite loop, not entering illegal states, controllable data dependency, flexible program size, and data cache testable. Our method has been shown to be efficient and feasible for the development of an APG compared with other approaches. We have also developed a coverage tool to integrate with the APG. Experimental evaluation of the generated test programs indicates that our APG, with the guidance of the coverage tool, only needs to generate a small number of test programs to sustain high coverage.
机译:本文提出了一种新颖的基于Backus-Naur-form-(BNF-)的方法,该方法可以为高级微处理器自动生成从简单程序到复杂程序的测试程序。我们使用X86体系结构来说明我们的设计方法。通过重新定义BNF生产规则,我们的方法同样适用于其他处理器体系结构。首先概述了自动程序生成器(APG)的设计问题。我们已经解决了设计问题,并通过自上而下的递归下降解析方法实现了APG,该方法源自编译器设计。通过指定用户菜单驱动的文件,我们的APG不仅可以生成随机测试程序,还可以为要测试的特定模块生成一系列指令。另外,由我们的APG生成的测试程序具有无限循环,不进入非法状态,可控制的数据依赖性,灵活的程序大小以及可测试的数据缓存的功能。与其他方法相比,我们的方法已被证明对于开发APG有效且可行。我们还开发了一种覆盖工具,可与APG集成。对生成的测试程序的实验评估表明,在覆盖率工具的指导下,我们的APG仅需要生成少量测试程序即可维持较高的覆盖率。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号