×

Verification of strongly ordered memory accesses in a functional model of an out-of-order computer system

  • US 5,794,012 A
  • Filed: 10/09/1996
  • Issued: 08/11/1998
  • Est. Priority Date: 10/09/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A system for detecting architectural violations of strongly ordered instructions in a computer architecture under test said computer architecture under test comprising a data cache and supporting out-of-order instruction execution, comprising:

  • an architectural model which models high-level architectural requirements of said computer architecture and generates correct results under all received instruction test stimuli;

    a behavioral model which models said high-level architectural requirements of said computer architecture and executes said received instruction test stimuli according to out-of-order instruction execution behavior defined by said computer architecture;

    a bus emulator which modest an external system environment;

    a synchronizer which controls the execution of said architectrual model and said behavioral model, matches all out-of-order instruction execution effects, and, for each coherency check issued on a coherency check address to the bus emulator by said behavioral model, performs the steps of;

    (i) creating a coherency check record corresponding to said coherency check address and recording said coherency check address in said coherency check record;

    (ii) logging each memory request issued by said behavioral model to said bus emulator for any memory address other than said coherency check address;

    (iii) logging each respective move-in of a copy of each memory address in step (ii);

    (iv) logging each access by the instructions in the instruction stream of each memory address requested in step (ii);

    (v) logging each access by the instructions in the instruction stream of said coherency check address; and

    (vi) if between the issuance of said coherency check on said coherency check address in step (i) and a subsequent access of said coherency check address in step (v) without a new move-in of said coherency check address, said behavioral model moves in a copy of a memory address in step (iii) and accesses said copy, indicating an architectural violation by said behavioral model in handling strongly ordered instructions.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×