# US 2010/0251199 A1 · Method and system for automated convergence of ternary simulation by saturation of deep gates

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

- Number: US 2010/0251199 A1
- Document ID: US20100251199A1
- Status: Published application
- Kind: A1
- Application number: 12/410,968
- Filed: 2009-03-25
- Published: 2010-09-30
- Earliest claimed: 2009-03-25
- Assignees: International Buisness Machines Corporation
- Inventors: Jason R. Baumgartner; Michael L. Case; Geert Janssen; Hari Mony
- Web page: https://patentgrep.com/patent/US20100251199A1

## CPC

- G06F 30/33: Design verification, e.g. functional simulation or model checking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, system and computer program product for X-Saturated ternary simulation based reduction. An X-Saturated ternary simulation (XSTS) utility, which executes on a computer system, receives design information, where the design information includes a netlist. The XSTS utility initializes one or more data structures and/or variables and simulates, in a ternary fashion, the netlist at a time value by applying logical X values to all RANDOM gates of the netlist and to registers marked X_SATURATED. For each register of the netlist XSTS utility: determines whether or not the register departs from its expected prefix behavior, and if the register departs from its expected prefix behavior, the register is marked as X_SATURATED and the current state is updated with an X value upon the register. XSTS utility can store the current state in a data structure and can use the information from the data structure to simplify the design.

## Claims

### Claim 1

A method for simplifying at least a portion of an integrated circuit embodied by a netlist, comprising:
(a) setting a current state;
(b) simulating, in a ternary fashion, the netlist at a time value by applying logical X values to all RANDOM gates of the netlist and to registers marked X_SATURATED of all registers of the netlist;
(c) for each register of the netlist, performing:
determining whether or not the register is not already marked as X_SATURATED and the register is found to depart from its expected prefix behavior; and
if the register is not already marked as X_SATURATED and the register is found to depart from its expected prefix behavior:
marking the register as X_SATURATED; and
updating the current state with an X value upon the register;
(d) searching for the current state in a hash table;
(e) determining whether or not the current state was found in the hash table;
(f) if the current state was found in the hash table, setting a converged value to one;
(g) if the current state was not found in the hash table, inserting the current state into the hash table;
(h) determining whether or not one or more resources are exceeded;
(i) if the one or more resources are not exceeded:
incrementing the time value by one; and
repeating from step (a); and
(j) if the one or more resources are exceeded:
determining whether or not the converged value is not zero;
if the converged value is zero, indicating that the netlist could not be simplified; and
if the converged value is not zero:
simplifying the netlist using information from the hash table; and
outputting the simplified netlist.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving design information, wherein the design information includes the netlist;
initializing the hash table;
setting the converged value to zero; and
setting the time value to an initial value.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the one or more resources includes an upper bound for a number of time frames; and
said determining whether or not one or more resources are exceeded includes determining whether or not the time value exceeds the upper bound.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
receiving the upper bound for the number of time frames from one or more of a user, a memory, and a network.

### Claim 5 (depends on 1)

The method of claim 1, wherein said initializing the hash table includes allocating space for the hash table in one or more of a memory and a disk.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving a X_SATURATION_TIME value;
receiving a X_SATURATION_PROPAGATE_TIME value;
determining that the time value is greater than or equal to the X_SATURATION_TIME value; and
for each register in the netlist, performing:
determining whether or not the register is marked as X_SATURATED and the register is determined to depart from an expected prefix behavior of the register;
if the register is marked as X_SATURATED and the register is determined to depart from an expected prefix behavior of the register, determining whether or not the time value is greater than or equal to the X_SATURATION_PROPAGATE_TIME value;
if the time value is greater than or equal to the X_SATURATION_PROPAGATE_TIME value:
marking the register and fan-out registers of the register as X_SATURATED; and
updating the current state with an X value on the register and fan-out registers of the register; and
if the time value is not greater than or equal to the X_SATURATION_PROPAGATE_TIME value:
marking the register as X_SATURATED; and
updating the current state with an X value on the register.

### Claim 7 (depends on 1)

The method of claim 1, wherein a remote data processing system performs step (b).

### Claim 8

A system for simplifying at least a portion of an integrated circuit embodied by a netlist, comprising:
a processor;
a memory medium coupled to the processor; and
a utility including instructions, which when executed on the processor, provides logic for performing the functions of:
(a) setting a current state;
(b) simulating, in a ternary fashion, the netlist at a time value by applying logical X values to all RANDOM gates of the netlist and to registers marked X_SATURATED of all registers of the netlist;
(c) for each register of the netlist, performing:
determining whether or not the register is not already marked as X_SATURATED and the register is found to depart from its expected prefix behavior; and
if the register is not already marked as X_SATURATED and the register is found to depart from its expected prefix behavior:
marking the register as X_SATURATED; and
updating the current state with an X value upon the register;
(d) searching for the current state in a hash table;
(e) determining whether or not the current state was found in the hash table;
(f) if the current state was found in the hash table, setting a converged value to one;
(g) if the current state was not found in the hash table, inserting the current state into the hash table;
(h) determining whether or not one or more resources are exceeded;
(i) if the one or more resources are not exceeded:
incrementing the time value by one; and
repeating from step (a); and
(j) if the one or more resources are exceeded:
determining whether or not the converged value is not zero;
if the converged value is zero, indicating that the netlist could not be simplified; and
if the converged value is not zero:
simplifying the netlist using information from the hash table; and
outputting the simplified netlist.

### Claim 9 (depends on 8)

The system of claim 8, wherein the utility further including instructions, which when executed on the processor, provides logic for performing the functions of:
receiving design information, wherein the design information includes the netlist;
initializing the hash table;
setting the converged value to zero; and
setting the time value to an initial value.

### Claim 10 (depends on 8)

The system of claim 8, wherein:
the one or more resources includes an upper bound for a number of time frames; and
said determining whether or not one or more resources are exceeded includes determining whether or not the time value exceeds the upper bound.

### Claim 11 (depends on 10)

The system of claim 10, wherein the utility further including instructions, which when executed on the processor, provides logic for performing the function of:
receiving the upper bound for the number of time frames from one or more of a user, a memory, and a network.

### Claim 12 (depends on 8)

The system of claim 8, wherein said initializing the hash table includes allocating space for the hash table in one or more of a memory and a disk.

### Claim 13 (depends on 8)

The system of claim 8, wherein the utility further including instructions, which when executed on the processor, provides logic for performing the functions of:
receiving a X_SATURATION_TIME value;
receiving a X_SATURATION_PROPAGATE_TIME value;
determining that the time value is greater than or equal to the X_SATURATION_TIME value; and
for each register in the netlist, performing:
determining whether or not the register is marked as X_SATURATED and the register is determined to depart from an expected prefix behavior of the register;
if the register is marked as X_SATURATED and the register is determined to depart from an expected prefix behavior of the register, determining whether or not the time value is greater than or equal to the X_SATURATION_PROPAGATE_TIME value;
if the time value is greater than or equal to the X_SATURATION_PROPAGATE_TIME value:
marking the register and fan-out registers of the register as X_SATURATED; and
updating the current state with an X value on the register and fan-out registers of the register; and
if the time value is not greater than or equal to the X_SATURATION_PROPAGATE_TIME value:
marking the register as X_SATURATED; and
updating the current state with an X value on the register.

### Claim 14

A computer program product, comprising:
a computer-readable medium; and
program instructions stored on said computer-readable medium that when executed on a processing system, cause the processing system to perform the functions of:
(a) setting a current state;
(b) simulating, in a ternary fashion, a netlist at a time value by applying logical X values to all RANDOM gates of the netlist and to registers marked X_SATURATED of all registers of the netlist;
(c) for each register of the netlist, performing:
determining whether or not the register is not already marked as X_SATURATED and the register is found to depart from its expected prefix behavior; and
if the register is not already marked as X_SATURATED and the register is found to depart from its expected prefix behavior:
marking the register as X_SATURATED; and
updating the current state with an X value upon the register;
(d) searching for the current state in a hash table;
(e) determining whether or not the current state was found in the hash table;
(f) if the current state was found in the hash table, setting a converged value to one;
(g) if the current state was not found in the hash table, inserting the current state into the hash table;
(h) determining whether or not one or more resources are exceeded;
(i) if the one or more resources are not exceeded:
incrementing the time value by one; and
repeating from step (a); and
(j) if the one or more resources are exceeded:
determining whether or not the converged value is not zero;
if the converged value is zero, indicating that the netlist could not be simplified; and
if the converged value is not zero:
simplifying the netlist using information from the hash table; and
outputting the simplified netlist.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the program instructions stored on said computer-readable medium that when executed on the processing system, cause the processing system, to further perform:
receiving design information, wherein the design information includes the netlist;
initializing the hash table;
setting the converged value to zero; and
setting the time value to an initial value.

### Claim 16 (depends on 14)

The computer program product of claim 14, wherein:
the one or more resources includes an upper bound for a number of time frames; and
said determining whether or not one or more resources are exceeded includes determining whether or not the time value exceeds the upper bound.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the program instructions stored on said computer-readable medium that when executed on the processing system, cause the processing system to further perform:
receiving the upper bound for the number of time frames from one or more of a user, a memory, and a network.

### Claim 18 (depends on 14)

The computer program product of claim 14, wherein said initializing the hash table includes allocating space for the hash table in one or more of a memory and a disk.

### Claim 19 (depends on 14)

The computer program product of claim 14, wherein the program instructions stored on said computer-readable medium that when executed on the processing system, cause the processing system to further perform:
receiving a X_SATURATION_TIME value;
receiving a X_SATURATION_PROPAGATE_TIME value;
determining that the time value is greater than or equal to the X_SATURATION_TIME value; and
for each register in the netlist, performing:
determining whether or not the register is marked as X_SATURATED and the register is determined to depart from an expected prefix behavior of the register;
if the register is marked as X_SATURATED and the register is determined to depart from an expected prefix behavior of the register, determining whether or not the time value is greater than or equal to the X_SATURATION_PROPAGATE_TIME value;
if the time value is greater than or equal to the X_SATURATION_PROPAGATE_TIME value:
marking the register and fan-out registers of the register as X_SATURATED; and
updating the current state with an X value on the register and fan-out registers of the register; and
if the time value is not greater than or equal to the X_SATURATION_PROPAGATE_TIME value:
marking the register as X_SATURATED; and
updating the current state with an X value on the register.
