Verifying a Multiprocessor Cache Controller Using Random Case

  • Authors:
  • David A. Wood;Garth A. Gibson;Randy H. Katz

  • Affiliations:
  • -;-;-

  • Venue:
  • Verifying a Multiprocessor Cache Controller Using Random Case
  • Year:
  • 1989

Quantified Score

Hi-index 0.02

Visualization

Abstract

The newest generation of cache controller chips provide coherency to support multiprocessor systems, i.e., the controllers coordinate access to the cache coherency protocols they implement complicate the controller design, making design verification difficult. In the design of the cache controller for SPUR, a shared memory multiprocessor designed and built at U.C. Berkeley, we developed a random tester to generate and verify the complex interactions between multiple processors in the functional simulation. Replacing the CPU model, the tester generates memory references by randomly selecting from a script of actions and checks. The checks verify correct completion of their corresponding actions. The tester was easy to develop, and detected over half of the functional bugs uncovered during simulation. We used an assembly language version of the random tester to verify the prototype hardware. A multiprocessor system is operational; it runs the Sprite operating system and is being used for experiments in par