发明授权
US06862565B1 Method and apparatus for validating cross-architecture ISA emulation
失效
用于验证跨架构ISA仿真的方法和装置
- 专利标题: Method and apparatus for validating cross-architecture ISA emulation
- 专利标题(中): 用于验证跨架构ISA仿真的方法和装置
-
申请号: US09548736申请日: 2000-04-13
-
公开(公告)号: US06862565B1公开(公告)日: 2005-03-01
- 发明人: Qinghua Zheng
- 申请人: Qinghua Zheng
- 申请人地址: US TX Houston
- 专利权人: Hewlett-Packard Development Company, L.P.
- 当前专利权人: Hewlett-Packard Development Company, L.P.
- 当前专利权人地址: US TX Houston
- 主分类号: G06F9/455
- IPC分类号: G06F9/455
摘要:
A method and an apparatus allows complete and efficient verification of cross-architecture ISA emulation. A random verification framework runs concurrently on two different computer architectures. The framework operates without regard to existing native applications and relies instead on binary instructions in a native ISA. The framework determines emulation errors at a machine instruction level. A random code generator generates one or more sequences of native machine instructions and corresponding initial machine states in a pseudo-random fashion. The native instructions are generated from an entire set of the native ISA. The instructions and the state information are provided to initialize a native computer architecture. The same instructions and state information are provided using standard machine-to-machine languages, such as TCP/IP, for example, to a target computer architecture. A binary emulator then translates the native instructions so that the instructions may be executed on the target computer. Alternatively, the binary emulator may be embodied as a software routine operating on a simulator, which in turn operates on the native computer architecture. The final states of the native and the target computer architectures are gathered, and a verification engine compares the results. Any differences may indicate an emulation error or failure. The random verification framework may be run continuously to test emulation of the complete set of instructions from the native ISA after the testing continues for an infinite length of time.
信息查询