Symbolic Simulation of Microprocessor Models using TypeClasses in Haskell

  • Authors:
  • Nancy A. Day;Jeffrey R. Lewis;Byron Cook

  • Affiliations:
  • -;-;-

  • Venue:
  • Symbolic Simulation of Microprocessor Models using TypeClasses in Haskell
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a technique for doing symbolic simulation of microprocessor models in the functional programming language Haskell. We use polymorphism and the type class system, a unique feature of Haskell, to write models that work over both concrete and symbolic data. We offer this approach as an alternative to using uninterpreted constants. When the full generality of rewriting is not needed, the performance of symbolic simulation by evaluation is much faster than previously reported symbolic simulation efforts in theorem provers. We illustrate our work with both a simple state-based example and a complex, superscalar, out-of-order, stream-based microprocessor model. This technical report is a companion report to Day, Lewis, and Cook (CHARME, 1999).