# US 2015/0178174 A1 · Generating and Detecting Hang Scenarios in a Partially Populated Simulation Environment

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

- Number: US 2015/0178174 A1
- Document ID: US20150178174A1
- Status: Published application
- Kind: A1
- Application number: 14/140,003
- Filed: 2013-12-24
- Published: 2015-06-25
- Earliest claimed: 2013-12-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Aaron C. Brown; David W. Cummings; Jeff J. Frankeny; Jonathan R. Jackson
- Web page: https://patentgrep.com/patent/US20150178174A1

## CPC

- G06F 11/261: {by simulating additional hardware, e.g. fault simulation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, system and computer-usable medium are disclosed for detecting the cause of a system hang in a verification environment. Hardware components associated with the design under test that are not included in the verification environment are replaced by software drivers. A dependency is set between a first driver and a second driver such that quiescing of the first driver is prevented until the second driver is quiesced. Each driver in a simulation test is designated to be either independent or dependent, with each dependent driver being associated with at least one independent driver. The independent driver is quiesced at a predetermined time. Dependent drivers do not quiesce until of their associated drivers have quiesced and completed all of their respectively issued instructions.

## Claims

### Claim 1

A computer-implemented method for detecting the cause of a system hang, comprising:
setting a dependency between a first driver and a second driver in a verification environment; and
preventing quiescing of the first driver until the second driver is quiesced.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
assigning each driver in a simulation test a mode selected from a group consisting of independent and dependent;
associating each dependent driver with at least one independent driver;
quiescing each independent driver at a predetermined quiesce time; and
preventing quiescing of each dependent driver until all of its associated independent drivers have quiesced.

### Claim 3 (depends on 2)

The method of claim 2, wherein the associated dependent drivers do not quiesce until all instructions respectively issued by each dependent driver have completed.

### Claim 4 (depends on 2)

The method of claim 2, wherein each independent driver can be associated with a dependent driver and an independent driver.

### Claim 5 (depends on 4)

The method of claim 4, wherein the association results in the definition of a driver dependency chain.

### Claim 6 (depends on 1)

The method of claim 1, wherein the verification environment is partially populated with hardware.

### Claim 7

A system comprising:
a processor;
a data bus coupled to the processor; and
a computer-usable medium embodying computer program code, the computer-usable medium being coupled to the data bus, the computer program code used for detecting the cause of a system hang and comprising instructions executable by the processor and configured for:
setting a dependency between a first driver and a second driver in a verification environment; and
preventing quiescing of the first driver until the second driver is quiesced.

### Claim 8 (depends on 7)

The system of claim 7, further comprising:
assigning each driver in a simulation test a mode selected from a group consisting of independent and dependent;
associating each dependent driver with at least one independent driver;
quiescing each independent driver at a predetermined quiesce time; and
preventing quiescing of each dependent driver until all of its associated independent drivers have quiesced.

### Claim 9 (depends on 8)

The system of claim 8, wherein the associated dependent drivers do not quiesce until all instructions respectively issued by each dependent driver have completed.

### Claim 10 (depends on 8)

The system of claim 8, wherein each independent driver can be associated with a dependent driver and an independent driver.

### Claim 11 (depends on 10)

The system of claim 10, wherein the association results in the definition of a driver dependency chain.

### Claim 12 (depends on 7)

The system of claim 7, wherein the verification environment is partially populated with hardware.

### Claim 13

A computer-readable storage medium embodying computer program code, the computer program code comprising computer executable instructions configured for:
setting a dependency between a first driver and a second driver in a verification environment; and
preventing quiescing of the first driver until the second driver is quiesced.

### Claim 14 (depends on 13)

The computer-readable storage medium of claim 13, further comprising:
assigning each driver in a simulation test a mode selected from a group consisting of independent and dependent;
associating each dependent driver with at least one independent driver;
quiescing each independent driver at a predetermined quiesce time; and
preventing quiescing of each dependent driver until all of its associated independent drivers have quiesced.

### Claim 15 (depends on 14)

The computer-readable storage medium of claim 14, wherein the associated dependent drivers do not quiesce until all instructions respectively issued by each dependent driver have completed.

### Claim 16 (depends on 14)

The computer-readable storage medium of claim 14, wherein each independent driver can be associated with a dependent driver and an independent driver.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein the association results in the definition of a driver dependency chain.

### Claim 18 (depends on 13)

The computer-readable storage medium of claim 13, wherein the verification environment is partially populated with hardware.

### Claim 19 (depends on 13)

The computer-readable storage medium of claim 13, wherein the computer executable instructions are deployable to a client system from a server system at a remote location.

### Claim 20 (depends on 13)

The computer-readable storage medium of claim 13, wherein the computer executable instructions are provided by a service provider to a user on an on-demand basis.
