Automatic Verification of Instruction Set Simulation Using Synchronized State Comparison

  • Authors:
  • Bob Glamm;David J. Lilja

  • Affiliations:
  • -;-

  • Venue:
  • SS '01 Proceedings of the 34th Annual Simulation Symposium (SS01)
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Abstract: Instruction-level simulation is the basis for much research in computer architecture. Typically, the simulators used for this type of research are verified by comparing the outputs of a simulated benchmark program and the outputs of the same program when run on a real machine - the simulator is "verified" if the outputs are the same. In the case of some benchmark programs, however, it is possible that significant fractions of the benchmark would not be executed due to minor differences or errors in the simulator, which would limit the usefulness of the results of the simulations. This paper presents a novel method for verifying instruction-level simulators via step-by-step register state comparison to a hardware implementation. A description of a sample implementation of this verification method is presented, along with a discussion of specific implementation issues. The verification speed of 1000-5000 instructions per second on a 300 MHz MIPS R12000 is a concern, but possible ways to address this limitation are described.