# US 6,732,060 B1 · System and method for an interface invariant test case

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,732,060 B1
- Document ID: US6732060B1
- Status: Granted
- Kind: B1
- Application number: 10/140,307
- Filed: 2002-05-06
- Granted: 2004-05-04
- Earliest claimed: 2002-05-06
- Assignees: Adaptec, Inc.
- Inventors: Douglas Lee
- Web page: https://patentgrep.com/patent/US6732060B1

## CPC

- G01R 31/318357: {Simulation (computer simulation of digital circuits G06F30/3308)}
- G01R 31/318307: {computer-aided, e.g. automatic test program generator [ATPG], program translations, test program debugging}
- G06F 30/33: Design verification, e.g. functional simulation or model checking
- G01R 31/2834: {Automated test systems [ATE]; using microprocessors or computers (G01R31/317 takes precedence; ATE for detection of defective computer hardware G06F11/2736)}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for comparing performance of two or more devices is disclosed. The method includes defining a workload. A workload object is provided. The workload object includes a transaction generator. A first test case is applied to a first device. Executing the transaction generator on a first test object produces the first test case. The first test object includes multiple first interface properties. Executing the transaction generator on the first test object produces a first set of transactions according to the first interface properties. The first set of transactions stimulates the defined workload in the first device. A second test case is applied to a second device. Executing the transaction generator on a second test object produces the second test case. The second test object includes multiple second interface properties. Executing the transaction generator on the second test object produces a second set of transactions according to the second interface properties. The second set of transactions stimulates the defined workload in the second device. A first test result from the first test case is compared to a corresponding second test result from the second test case.

## Claims

### Claim 1

A method for comparing the performance of two devices comprising:
defining a workload;
providing a workload object which includes a transaction generator;
applying a first test case to a first device, the first test case being produced by executing the transaction generator on a first test object, the first test object including a plurality of first interface properties, and wherein executing the transaction generator on the first test object produces a first plurality of transactions according to the plurality of first interface properties, the first plurality of transactions stimulating the defined workload in the first device;
applying a second test case to a second device, the second test case being produced by executing the transaction generator on a second test object, the second test object including a plurality of second interface properties, and wherein executing the transaction generator on the second test object produces a second plurality of transactions according to the plurality of second interface properties, the second plurality of transactions stimulating the defined workload in the second device; and
comparing a first test result from the first test case and a corresponding second test result from the second test case.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of first interface properties are included in a first interface object and wherein the first test object inherits the first interface object and the workload object.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first interface object includes a plurality of interface objects.

### Claim 4 (depends on 3)

The method of claim 3, wherein the plurality of interface objects includes a host interface object and a peripheral interface object.

### Claim 5 (depends on 3)

The method of claim 3, wherein the plurality of interface objects includes a parameter object.

### Claim 6 (depends on 5)

The method of claim 5, wherein the parameter object defines a parameter that corresponds to a parameter of the first device.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of second interface properties are included in a second interface object and wherein the second test object inherits the second interface object and the workload object.

### Claim 8 (depends on 1)

The method of claim 1, wherein the defined workload is generic to several members of a device family.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first plurality of transactions include at least one of a group consisting of a read, a write, an event and an interrupt.

### Claim 10 (depends on 1)

The method of claim 1, wherein the second plurality of transactions include at least one of a group consisting of a read, a write, an event and an interrupt.

### Claim 11

A method for comparing the performance of two devices comprising:
defining a workload;
providing a workload object which includes a transaction generator;
creating a first test case including:
providing a first parameter object which includes a first device parameter;
providing a first host interface object which includes a plurality of properties of an interface between a first device and a first host;
providing a first peripheral interface object which includes a plurality of properties of an interface between the first device and a first peripheral device;
extending the first parameter object, the first host interface object and the first peripheral interface object in a first test case object;
executing the transaction generator on the first test case object to create a first test case which includes a first plurality of transactions;
applying a first test case to a first device, the first plurality of transactions stimulating the defined workload in the first device;
creating a second test case including:
providing a second parameter object which includes a second device parameter;
providing a second host interface object which includes a plurality of properties of an interface between a second device and a second host;
providing a second peripheral interface object which includes a plurality of properties of an interface between the second device and a second peripheral device;
extending the second parameter object, the second host interface object and the second peripheral interface object in a second test case object;
executing the transaction generator on the second test case object to create a second test case which includes a second plurality of transactions;
applying a second test case to a second device, the second plurality of transactions stimulating the defined workload in the second device; and
comparing a first test result from the first test case and a corresponding second test result from the second test case.

### Claim 12

A test bench comprising:
a processor;
a storage facility coupled to the processor and containing instructions executable by the processor, the instructions including:
logic to receive a workload;
logic to provide a workload object which includes a transaction generator;
logic to apply a first test case to a first device, the first test case being produced by executing the transaction generator on a first test object, the first test object including a plurality of first interface properties, and wherein executing the transaction generator on the first test object produces a first plurality of transactions according to the plurality of first interface properties, the first plurality of transactions stimulating the defined workload in the first device;
logic to apply a second test case to a second device, the second test case being produced by executing the transaction generator on a second test object, the second test object including a plurality of second interface properties, and wherein executing the transaction generator on the second test object produces a second plurality of transactions according to the plurality of second interface properties, the second plurality of transactions stimulating the defined workload in the second device; and
logic to compare a first test result from the first test case and a corresponding second test result from the second test case.

### Claim 13 (depends on 12)

The test bench of claim 12, wherein the plurality of first interface properties are included in a first interface object and wherein the first test object inherits the first interface object and the workload object.

### Claim 14 (depends on 13)

The test bench of claim 13, wherein the first interface object includes a plurality of interface objects.

### Claim 15 (depends on 14)

The test bench of claim 14, wherein the plurality of interface objects includes a host interface object and a peripheral interface object.

### Claim 16 (depends on 14)

The test bench of claim 14, wherein the plurality of interface objects includes a parameter object.

### Claim 17 (depends on 16)

The test bench of claim 16, wherein the parameter object defines a parameter that corresponds to a parameter of the first device.

### Claim 18 (depends on 12)

The test bench of claim 12, wherein the plurality of second interface properties are included in a second interface object and wherein the second test object inherits the second interface object and the workload object.

### Claim 19 (depends on 12)

The test bench of claim 12, wherein the defined workload is generic to several members of a device family.

### Claim 20 (depends on 12)

The test bench of claim 12, wherein the first plurality of transactions include at least one of a group consisting of a read, a write, an event and an interrupt.
