Using Term Rewriting Systems to Design and Verify Processors

  • Authors:
  • Arvind;Xiaowei Shen

  • Affiliations:
  • -;-

  • Venue:
  • IEEE Micro
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a novel use of Term Rewriting Systems (TRS's) to describe micro-architectures. The state of a system is represented as a TRS term while the state transitions are represented as TRS rules. TRS descriptions are amenable to both verification and synthesis. We illustrate the use of TRS's by giving the operational semantics of a simple RISC instruction set. We then present another TRS that implements the same instruction set on a micro-architecture which permits register renaming and speculative execution. The correctness of the speculative implementation is discussed in terms of the ability of the two TRS's to simulate each other. Our method facilitates understanding of important micro-architectural differences without delving into low-level implementation details.