# US 2004/0073876 A1 · Method and apparatus for enhancing the performance of event driven dynamic simulation of digital circuits based on netlist partitioning techniques

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

- Number: US 2004/0073876 A1
- Document ID: US20040073876A1
- Status: Published application
- Kind: A1
- Application number: 10/272,540
- Filed: 2002-10-15
- Published: 2004-04-15
- Earliest claimed: 2002-10-15
- Assignees: Cadence Design Systems, Inc.
- Inventors: Nadim Khalil; Stuart Rae; Rahul Razdan; David Roberts
- Web page: https://patentgrep.com/patent/US20040073876A1

## 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

Disclosed is a full-chip level verification methodology that combines static timing analysis techniques with dynamic event-driven simulation. The specification discloses a capability to partition a multiple-clock design into various clock domains and surrounding asynchronous regions automatically and to determine the timing of the design on an instance by instance basis. Static timing analysis techniques can be leveraged to verify the synchronous cores of each clock domain. The asynchronous regions of the design and the interaction between synchronous cores of the clock domains are validated using detailed dynamic event-driven simulation without the burden of carrying the interior timing attributes of the synchronous cores that have already been verified.

## Claims

### Claim 1

A method for verifying an electronic design, comprising the steps of:
determining clock domains of the electronic design,
coloring each netlist of the electronic design, based on said step of determining clock domains, with a color indicating a clock domain associated with each netlist,
determining a behavior timing mode, based on said step of coloring, of each instance of the electronic design, and
simulating each instance of the electronic design based on said behavior timing mode determined.

### Claim 2 (depends on 1)

The method of determining clock domains in claim 1, further comprising the step of assigning a plurality of user-defined clock signals with a plurality of clock colors represented by a corresponding plurality of computer recognizable symbols.

### Claim 3 (depends on 2)

The color of clock domain in claim 2, wherein an initial color of the electronic design is a color-zero represented by a computer recognizable symbol.

### Claim 4 (depends on 1)

The method of determining clock domains in claim 1 further comprising the steps of:
identifying a list of sequential elements of the electronic design,
traversing said list of sequential elements by tracing the loads of each user-defined clock signal progressively, until all sequential elements controlled by a given clock signal are determined.

### Claim 5 (depends on 4)

The sequential element in claim 4 comprises a flip-flop having at least an input port, an output port, a reset port and a clock port.

### Claim 6 (depends on 4)

The sequential element in claim 4 further comprises a pair of latches having a first latch and a second latch, each latch having at least an input port, an output port, a clock port, and an exclusive region exists between the first latch and the second latch.

### Claim 7 (depends on 6)

The pair of latches in claim 6, wherein the exclusive region exists when each latch is controlled by a separate clock in different phases.

### Claim 8 (depends on 4)

The method of traversing said list of sequential elements in claim 4, further comprising the step of determining domain crossing, wherein electronic data being transferred between two different clock domains is detected.

### Claim 9 (depends on 1)

The method of coloring each netlist of the electronic design in claim 1, further comprising the steps of:
coloring a combinational instance,
coloring a clocked flip-flop instance, and
coloring a clocked latch instance.

### Claim 10 (depends on 9)

The method of coloring a combinational instance in claim 9, further comprising the steps of:
if any input port has a different color than the input port color being propagated,
coloring output ports with the color-zero, and
if any input port does not have a different color than the input port color being propagated, coloring output ports with the input port color to be propagated.

### Claim 11 (depends on 9)

The method of coloring a clocked flip-flop instance in claim 9, further comprising the steps of:
if an asynchronous reset port does not exist, coloring output ports with the clock color of the flip-flop instance,
if an asynchronous reset port exists, and the clock and reset ports have the same color, coloring output ports with the clock color of the flip-flop instance, and
if an asynchronous reset port exists, and the clock and reset ports do not have the same color, coloring output ports with the color-zero.

### Claim 12 (depends on 9)

The method of coloring a clocked latch instance in claim 9, further comprising the steps of:
if an asynchronous reset port exists, and the clock and reset ports have different color, coloring output ports with the color-zero,
if an asynchronous reset port exists, and the clock and reset ports have the same color, and an exclusive region exists, coloring output ports with the clock color,
if an asynchronous reset port does not exist, and an exclusivity region exists, coloring output ports with the clock color, and
if an asynchronous reset port does not exist, and an exclusivity region does not exist, coloring output ports according to the method of coloring a combinational instance.

### Claim 13 (depends on 1)

The method of determining behavior timing mode in claim 1, further comprising the steps of:
determining behavior timing mode for a combinational instance,
determining behavior timing mode for a clocked sequential instance with synchronous reset port, and
determining behavior timing mode for a clocked sequential instance with asynchronous reset port.

### Claim 14 (depends on 13)

The method of determining behavior timing mode for a combinational instance in claim 13, further comprising the steps of:
if any port has color zero, assigning the combinational instance a Full-Timing mode,
if no port has color zero, and all ports have the same color, assigning the combinational instance a No-Timing mode, and
if no port has color zero, and all ports do not have the same color, assigning the combinational instance the Full-Timing mode.

### Claim 15 (depends on 13)

The method of determining behavior timing mode for a clocked sequential instance with synchronous reset port in claim 13, further comprising the steps of:
if all input ports have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a No-Timing mode,
if all input ports have the same clock color, and all output ports do not have the same clock color, assigning the clocked sequential instance with synchronous reset port an IO-Delay mode,
if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a Timing-Check mode, and
if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port the Full-Timing mode.

### Claim 16 (depends on 13)

The method of determining behavior timing mode for a clocked sequential instance with asynchronous reset port in claim 13, further comprising the steps of:
if the clock or reset ports have the color-zero, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode,
if the clock or reset ports don't have the color-zero, and the clock and reset ports have different colors, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode, and
if the clock or reset ports don't have the color-zero, and the clock and reset ports have same colors, determining timing of the clocked sequential instance with asynchronous reset port the same way as a clock sequential instance with synchronous reset port.

### Claim 17 (depends on 1)

The method of simulating each instance of electronic design in claim 1, further comprising the steps of:
if an instance has the Full-Timing mode, simulating the instance with complete timing information included,
if an instance has the No-Timing mode, simulating the instance with all timing delays and timing checks removed,
if an instance has the Timing-Check mode, simulating the instance with input timing checks performed, and
if an instance has the IO-Delay mode, simulating the instance with input and output path delays included.

### Claim 18

A computer readable medium carrying one or more sequences of one or more instructions for verifying an electronic design, wherein the execution of the one or more sequences of the one or more instructions causes the one or more processors to perform the steps of:
determining clock domains of the electronic design,
coloring each netlist of the electronic design, based on said step of determining clock domains, with a color indicating a clock domain associated with each netlist,
determining a behavior timing mode, based on said step of coloring, of each instance of the electronic design, and
simulating each instance of the electronic design based on said behavior timing mode determined.

### Claim 19 (depends on 18)

The computer readable medium of claim 18, further comprising the step of assigning a plurality of user-defined clock signals with a plurality of clock colors represented by a corresponding plurality of computer recognizable symbols.

### Claim 20 (depends on 19)

The computer readable medium of claim 19, wherein an initial color of the electronic design is a color-zero represented by a computer recognizable symbol.

### Claim 21 (depends on 18)

The computer readable medium of claim 18, wherein the method of determining clock domains further comprising the steps of:
identifying a list of sequential elements of the electronic design,
traversing said list of sequential elements by tracing the loads of each user-defined clock signal progressively, until all sequential elements controlled by a given clock signal are determined.

### Claim 22 (depends on 21)

The computer readable medium in claim 21, wherein the sequential element comprises a flip-flop having at least an input port, an output port, a reset port and a clock port.

### Claim 23 (depends on 21)

The computer readable medium in claim 21, wherein the sequential element further comprises a pair of latches having a first latch and a second latch, each latch having at least an input port, an output port, a clock port and a clock port, and an exclusive region exists between the first latch and the second latch.

### Claim 24 (depends on 23)

The computer readable medium of claim 23, wherein the exclusive region exists in the pair of latches when each latch is controlled by a separate clock in different phases.

### Claim 25 (depends on 21)

The computer readable medium of claim 21, wherein the method of traversing said list of sequential elements further comprising the step of determining domain crossing, where electronic data being transferred between two different clock domains is detected.

### Claim 26 (depends on 18)

The computer readable medium of claim 18, wherein the method of coloring each netlist of the electronic design further comprising the steps of:
coloring a combinational instance,
coloring a clocked flip-flop instance, and
coloring a clocked latch instance.

### Claim 27 (depends on 26)

The computer readable medium of claim 26, wherein the method of coloring a combinational instance further comprising the steps of:
if any input port has a different color than the input port color being propagated, coloring output ports with the color-zero, and
if any input port does not have a different color than the input port color being propagated, coloring output ports with the input port color to be propagated.

### Claim 28 (depends on 26)

The computer readable medium of claim 26, wherein the method of coloring a clocked flip-flop instance further comprising the steps of:
if an asynchronous reset port does not exist, coloring output ports with the clock color of the flip-flop instance,
if an asynchronous reset port exists, and the clock and reset ports have the same color, coloring output ports with the clock color of the flip-flop instance, and
if an asynchronous reset port exists, and the clock and reset ports do not have the same color, coloring output ports with the color-zero.

### Claim 29 (depends on 26)

The computer readable medium of claim 26, wherein the method of coloring a clocked latch instance further comprising the steps of:
if an asynchronous reset port exists, and the clock and reset ports have different color, coloring output ports with the color-zero,
if an asynchronous reset port exists, and the clock and reset ports have the same color, and an exclusive region exists, coloring output ports with the clock color,
if an asynchronous reset port does not exist, and an exclusivity region exists, coloring output ports with the clock color, and
if an asynchronous reset port does not exist, and an exclusivity region does not exist, coloring output ports according to the method of coloring a combinational instance.

### Claim 30 (depends on 18)

The computer readable medium of claim 18, wherein the method of determining behavior timing mode further comprising the steps of:
determining behavior timing mode for a combinational instance,
determining behavior timing mode for a clocked sequential instance with synchronous reset port, and
determining behavior timing mode for a clocked sequential instance with asynchronous reset port.

### Claim 31 (depends on 30)

The computer readable medium of claim 30, wherein the method of determining behavior timing mode for a combinational instance further comprising the steps of:
if any port has color zero, assigning the combinational instance a Full-Timing mode,
if no port has color zero, and all ports have the same color, assigning the combinational instance a No-Timing mode, and
if no port has color zero, and all ports do not have the same color, assigning the combinational instance the Full-Timing mode.

### Claim 32 (depends on 30)

The computer readable medium of claim 30, wherein the method of determining behavior timing mode for a clocked sequential instance with synchronous reset port further comprising the steps of:
if all input ports have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a No-Timing mode,
if all input ports have the same clock color, and all output ports do not have the same clock color, assigning the clocked sequential instance with synchronous reset port an IO-Delay mode,
if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a Timing-Check mode, and
if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port the Full-Timing mode.

### Claim 33 (depends on 30)

The computer readable medium of claim 30, wherein the method of determining behavior timing mode for a clocked sequential instance with asynchronous reset port further comprising the steps of:
if the clock or reset ports have the color-zero, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode,
if the clock or reset ports don't have the color-zero, and the clock and reset ports have different colors, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode, and
if the clock or reset ports don't have the color-zero, and the clock and reset ports have same colors, determining timing of the clocked sequential instance with asynchronous reset port the same way as a clock sequential instance with synchronous reset port.

### Claim 34 (depends on 18)

The computer readable medium of claim 18, wherein the method of simulating each instance of electronic design further comprising the steps of:
if an instance has the Full-Timing mode, simulating the instance with complete timing information included,
if an instance has the No-Timing mode, simulating the instance with all timing delays and timing checks removed,
if an instance has the Timing-Check mode, simulating the instance with input timing checks performed, and
if an instance has the IO-Delay mode, simulating the instance with input and output path delays included.
