A framework for systematic validation and debugging of pipeline simulators

  • Authors:
  • Arnab Roy;S. K. Panda;Rajeev Kumar;P. P. Chakrabarti

  • Affiliations:
  • Indian Institute of Technology Kharagpur, Kharagpur, WB;Indian Institute of Technology Kharagpur, Kharagpur, WB;Indian Institute of Technology Kharagpur, Kharagpur, WB;Indian Institute of Technology Kharagpur, Kharagpur, WB

  • Venue:
  • ACM Transactions on Design Automation of Electronic Systems (TODAES)
  • Year:
  • 2005

Quantified Score

Hi-index 0.01

Visualization

Abstract

Microprocessor pipeline simulation at the system level is an extremely important activity in the architecture exploration process. In this article, we address the problem of validating and debugging a pipeline simulator from the specific perspective of instruction scheduling. We propose a general framework for a systematic validation process and show that the assumptions made are justified for most standard pipeline models. The framework does not need any formal specification of the pipeline logic and hence can be readily integrated into the simulation and iteration-based architectural design space exploration process. We propose a concept of semantic equivalence between two simulations called D* equivalence which effectively captures the dataflow between instructions through registers. We then proceed to propose an algorithm which decides this equivalence in time polynomial in the number of instructions executed and the number of registers. We implement the algorithm and demonstrate how the framework facilitates debugging.