標題: | A BNF-based automatic test program generator for compatible microprocessor verification |
作者: | Wu, LM Wang, KC Chiu, CY 資訊工程學系 Department of Computer Science |
關鍵字: | verification;advanced microprocessor;automatic program generator;BNF;compatibility verification;coverage;top-down recursive descent parsing method |
公開日期: | 1-Jan-2004 |
摘要: | 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 generator (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. |
URI: | http://dx.doi.org/10.1145/966137.966142 http://hdl.handle.net/11536/27143 |
ISSN: | 1084-4309 |
DOI: | 10.1145/966137.966142 |
期刊: | ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS |
Volume: | 9 |
Issue: | 1 |
起始頁: | 105 |
結束頁: | 132 |
Appears in Collections: | Articles |
Files in This Item:
If it is a zip file, please download the file and unzip it, then open index.html in a browser to view the full text content.