# US 2008/0313589 A1 · Techniques For Use With Automated Circuit Design and Simulations

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

- Number: US 2008/0313589 A1
- Document ID: US20080313589A1
- Status: Published application
- Kind: A1
- Application number: 12/117,714
- Filed: 2008-05-08
- Published: 2008-12-18
- Earliest claimed: 2007-05-09
- Assignees: Synopsys, Inc.
- Inventors: Richard C. Maixner; Mario Larouche; Chun Kit Ng; Kenneth S. McElvain
- Web page: https://patentgrep.com/patent/US20080313589A1

## CPC

- G06F 30/331: with hardware acceleration, e.g. by using field programmable gate array [FPGA] or emulation
- G06F 30/396: Clock trees
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various techniques related to clocking signals used for automated circuit design and simulations are disclosed. In some embodiments, a method includes receiving first and second asynchronous clock signals having a first phase relationship at a first time and sampling the second clock signal at transitions of the first clock. The method further includes storing the samples; and analyzing the samples to ascertain the first phase relationship of the second clock signal with respect to the first clock signal and provide a representation of the first phase relationship. Other embodiments are described.

## Claims

### Claim 1

A method comprising:
receiving a first and a second asynchronous clock signals having a first phase relationship at a first time;
sampling the second clock signal at transitions of the first clock;
storing the samples; and
analyzing the samples to ascertain the first phase relationship of the second clock signal with respect to the first clock signal and provide a representation of the first phase relationship.

### Claim 2 (depends on 1)

The method of claim 1, further comprising using the first phase relationship in a simulation of a circuitry.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a third clock signal that is asynchronous to the first and second clock signals and that has a second phase relationship with the first clock signal at a second time;
sampling the third clock signal at transitions of the first clock;
storing the samples of the third clock signal;
analyzing the samples to ascertain the second phase relationship of the first and third clocks and provide a representation of the second phase relationship.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first and second clock signals are received by a circuitry including a design logic and a replicated logic to provide initial condition signals.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first and second clock signals are received by a circuitry including a design memory and design registers and a replicated memory and replicated registers to provide initial condition signals.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first and second clock signals are received by a circuitry including a logic, a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the logic to provide initial condition signals.

### Claim 7

An apparatus comprising a machine readable medium that contains instructions which when executed cause a computer to generate a description of circuitry that:
receives a first and a second asynchronous clock signals having a first phase relationship at a first time;
samples the second clock signal at transitions of the first clock;
storing the samples; and
analyzes the samples to ascertain the first phase relationship of the second clock signal with respect to the first clock signal and provide a representation of the first phase relationship.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the instructions when executed further cause a computer to use the first phase relationship in a simulation of the circuitry.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the described circuitry includes a design logic and a replicated logic to provide initial condition signals.

### Claim 10 (depends on 7)

The apparatus of claim 7, wherein the described circuitry includes a design memory and design registers and a replicated memory and replicated registers to provide initial condition signals.

### Claim 11 (depends on 7)

The apparatus of claim 7, wherein the described circuitry includes a logic, a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the logic to provide initial condition signals.

### Claim 12

A method comprising generating a description of a circuitry that:
receives a first and a second asynchronous clock signals having a first phase relationship at a first time;
samples the second clock signal at transitions of the first clock;
storing the samples; and
analyzes the samples to ascertain the first phase relationship of the second clock signal with respect to the first clock signal and provide a representation of the first phase relationship.

### Claim 13 (depends on 12)

The method of claim 12, further comprising using the first phase relationship in a simulation of the circuitry.

### Claim 14 (depends on 12)

The method of claim 12, wherein the described circuitry includes a design logic and a replicated logic to provide initial condition signals.

### Claim 15

An apparatus comprising:
a receiving circuitry to receive a first and a second asynchronous clock signals having a first phase relationship at a first time;
a sampling circuitry to sample the second clock signal at transitions of the first clock;
a storing circuitry to store the samples; and
an analyzing logic to analyze the samples to ascertain the first phase relationship of the second clock signal with respect to the first clock signal and provide a representation of the first phase relationship.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the receiving circuitry and analyzing logic are part of a single integrated circuit chip.

### Claim 17 (depends on 15)

The apparatus of claim 15, further comprising a chip interface and a circuitry to provide the first phase relationship to the chip interface.

### Claim 18 (depends on 15)

The apparatus of claim 15, further comprising a design logic and a replicated design logic to receive the first and second clock signals, wherein the replicated design logic includes the receiving circuit and provides initial condition signals.

### Claim 19 (depends on 15)

The apparatus of claim 15, further comprising a design memory and design registers and a replicated memory and replicated registers to receive the first and second clock signals, wherein the replicated memory and replicated registers include the receiving circuitry and provide initial condition signals.

### Claim 20 (depends on 15)

The apparatus of claim 15, further comprising an additional logic to receive the first and second clock signals, and further comprising a circuitry including a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the additional logic to provide initial condition signals.

### Claim 21

A method comprising:
receiving a first and a second asynchronous clock signals at a first time, wherein the first and second clocks have a first phase relationship at the first time;
generating an intermediate signal from the second clock signal;
sampling the intermediate signal at transitions of the first clock signal;
processing the sampled intermediate signal;
storing the samples of the processed sampled intermediate signal; and
analyzing the samples to ascertain the phase relationship of the second clock signal with respect to the first clock signal at the first time and provide a representation of the phase representation.

### Claim 22 (depends on 21)

The method of claim 21, further comprising using the phase relationship in a simulation of a circuitry.

### Claim 23 (depends on 21)

The method of claim 21, further comprising receiving a third clock signal that is asynchronous to the first and second clock signals and processing the third clock signal in the same manner as the second clock signal.

### Claim 24 (depends on 21)

The method of claim 21, wherein the first and second clock signals are received by a circuitry including a design logic and a replicated logic to provide initial condition signals

### Claim 25 (depends on 21)

The method of claim 21, wherein the first and second clock signals are received by a circuitry including a design memory and design registers and a replicated memory and replicated registers to provide initial condition signals.

### Claim 26 (depends on 21)

The method of claim 21, wherein the first and second clock signals are received by a circuitry including a logic, a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the logic to provide initial condition signals.

### Claim 27 (depends on 21)

The method of claim 21, wherein the intermediate signal representing a detection of clock transitions of the second clock by the first clock.

### Claim 28

A method comprising generating descriptions of:
a circuitry to receive a first and a second asynchronous clock signals at a first time, wherein the first and second clocks have a first phase relationship at the first time;
a circuitry to generate an intermediate signal from the second clock signal;
a circuitry to sample the intermediate signal at transitions of the first clock signal;
a circuitry to process the sampled intermediate signal;
a circuitry to store the samples of the processed sampled intermediate signal; and
an analyzing logic to analyze the samples to ascertain the phase relationship of the second clock signal with respect to the first clock signal at the first time and provide a representation of the phase representation.

### Claim 29 (depends on 28)

The method of claim 28, wherein the descriptions further include descriptions of a design logic and a replicated logic to provide initial condition signals, and wherein the first and second clock signals are received by the design logic and the replicated design logic.

### Claim 30 (depends on 28)

The method of claim 28, wherein the descriptions further include descriptions of a design memory and design registers and a replicated memory and replicated registers to receive the first and second clock signals, wherein the replicated memory and replicated registers provide initial condition signals.

### Claim 31 (depends on 28)

The method of claim 28, wherein the descriptions further include descriptions of a logic to receive the first and second clock signals, and descriptions of a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the logic to provide initial condition signals.

### Claim 32 (depends on 28)

The method of claim 28, wherein the intermediate signal representing a detection of clock transitions of the second clock by the first clock.

### Claim 33

An apparatus comprising a machine readable medium that contains instructions which when executed cause a computer to generate descriptions of:
a circuitry to receive a first and a second asynchronous clock signals at a first time, wherein the first and second clocks have a first phase relationship at the first time;
a circuitry to generate an intermediate signal from the second clock signal;
a circuitry to sample the intermediate signal at transitions of the first clock signal;
a circuitry to process the sampled intermediate signal;
a circuitry to store the samples of the processed sampled intermediate signal; and
an analyzing logic to analyze the samples to ascertain the phase relationship of the second clock signal with respect to the first clock signal at the first time and provide a representation of the phase representation.

### Claim 34 (depends on 33)

The apparatus of claim 33, wherein the descriptions further include descriptions of a design logic and a replicated logic to provide initial condition signals, and wherein the first and second clock signals are received by the design logic and the replicated design logic.

### Claim 35 (depends on 33)

The apparatus of claim 33, wherein the descriptions further include descriptions of a design memory and design registers and a replicated memory and replicated registers to receive the first and second clock signals, wherein the replicated memory and replicated registers provide initial condition signals.

### Claim 36 (depends on 33)

The apparatus of claim 33, wherein the descriptions further include descriptions of a logic to receive the first and second clock signals, and descriptions of a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the logic to provide initial condition signals.

### Claim 37 (depends on 33)

The apparatus of claim 33, wherein the intermediate signal representing a detection of clock transitions of the second clock by the first clock.

### Claim 38

An apparatus comprising:
a circuitry to receive a first and a second asynchronous clock signals at a first time, wherein the first and second clocks have a first phase relationship at the first time;
a circuitry to generate an intermediate signal from the second clock signal;
a circuitry to sample the intermediate signal at transitions of the first clock signal;
a circuitry to process the sampled intermediate signal;
a circuitry to store the samples of the processed sampled intermediate signal; and
an analyzing logic to analyze the samples to ascertain the phase relationship of the second clock signal with respect to the first clock signal at the first time and provide a representation of the phase representation.

### Claim 39 (depends on 38)

The apparatus of claim 38, further comprising a design logic and a replicated logic to provide initial condition signals, and wherein the first and second clock signals are received by the design logic and the replicated design logic.

### Claim 40 (depends on 38)

The apparatus of claim 38, further comprising descriptions of a design memory and design registers and a replicated memory and replicated registers to receive the first and second clock signals, wherein the replicated memory and replicated registers provide initial condition signals.

### Claim 41 (depends on 3)

The apparatus of claim 3S, further comprising descriptions of an additional logic to receive the first and second clock signals, and descriptions of a multiplexer to multiplex an input signal and a delayed input signal to the logic, and a demultiplexer to provide an output signal and a delayed output signal from the additional logic to provide initial condition signals.

### Claim 42 (depends on 38)

The apparatus of claim 38, wherein the intermediate signal representing a detection of clock transitions of the second clock by the first clock.

### Claim 43

A method comprising:
receiving descriptions of circuitry including a design module having a design logic and design input signals; and
generating additional descriptions including descriptions of a replicated module including replicated logic that is a replication of the design logic, a first delay circuitry to receive and delay the design input signals and to provide them to the replicated logic, and a second delay circuitry to receive and delay an output signal from within the design module and to provide it to the respective location of the replicated logic.

### Claim 44 (depends on 43)

The method of claim 43, wherein the output of the second delay circuitry replaces the signal path to the respective location in the replicated logic.

### Claim 45 (depends on 43)

The method of claim 43, wherein the design module comprises a plurality of design segments, wherein the design segments are replicated, and wherein each design segment provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 46 (depends on 43)

The method of claim 43, wherein the design module comprises a plurality of design segments, wherein a portion of the design segments is replicated, and wherein each design segment being replicated provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 47 (depends on 43)

The method of claim 43, wherein the design module comprises a plurality of design segments, wherein at least one design segment is not replicated, and wherein each design segment not being replicated provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 48 (depends on 43)

The method of claim 43, wherein the design module comprises a plurality of clock domain segments, wherein each clock domain segment is replicated, and wherein each clock domain segment being replicated provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 49 (depends on 48)

The method of claim 48, wherein the delay circuitry is clocked according to the clock of the replicated segment's clock domain.

### Claim 50 (depends on 43)

The method of claim 43, wherein the contents of the first and second delay circuitries are provided as inputs to the respective logical locations during a simulation.

### Claim 51

An apparatus comprising a machine readable medium that contains instructions which when executed cause a computer to:
receive descriptions of a circuitry including a design module having a design logic and design input signals; and
generate additional descriptions including descriptions of a replicated module including a replicated logic that is a replication of the design logic, a first delay circuitry to receive and delay the design input signals and to provide them to the replicated logic, and a second delay circuitry to receive and delay an output signal from within the design module and to provide it to the respective location of the replicated logic.

### Claim 52 (depends on 51)

The apparatus of claim 51, wherein the output of the delay circuitry replaces the signal path to the respective location in the replicated logic.

### Claim 53 (depends on 51)

The apparatus of claim 51, wherein the design module comprises a plurality of design segments, wherein the design segments are replicated, and wherein each design segment provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 54 (depends on 51)

The apparatus of claim 51, wherein the design module comprises a plurality of design segments, wherein a portion of the design segments is replicated, and wherein each design segment being replicated provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 55 (depends on 51)

The apparatus of claim 51, wherein the design module comprises a plurality of design segments, wherein at least a design segment is not replicated, and wherein each design segment not being replicated provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 56 (depends on 51)

The apparatus of claim 51, wherein the design module comprises a plurality of clock domain segments, wherein each clock domain segment is replicated, and wherein each clock domain segment being replicated provides an output signal to a delay circuitry wherein the output of the delay circuitry is provided to the respective location of the replicated segments.

### Claim 57 (depends on 51)

The apparatus of claim 51, wherein the delay circuitry is clocked according to the clock of the replicated segment's clock domain.

### Claim 58 (depends on 51)

The apparatus of claim 51, wherein the contents of the first and second delay circuitries are provided as inputs to the respective logical locations during a simulation.

### Claim 59

A method comprising:
receiving descriptions of a circuitry including a design module having a first logic clocked by a first clock signal having a first frequency to output a data signal to a synchronizer circuit that is clocked by a second clock signal having a second frequency to provide the data signal to a second logic; and
generating additional descriptions including descriptions of a replicated module including a delay circuitry clocked by the second clock signal to receive and pass through the data signal output from the synchronizer circuit, and a replicated second logic to receive the data signal output by the delay circuitry.

### Claim 60 (depends on 59)

The method of claim 59, wherein the replicated module includes a replicated first logic and a replicated synchronizer circuit, and wherein the delay circuitry includes a first-in first-out circuit.

### Claim 61 (depends on 59)

The method of claim 59, wherein the design and the replicated modules are in a single chip.

### Claim 62 (depends on 59)

The method of claim 59, wherein the design and the replicated modules are in different chips.

### Claim 63 (depends on 59)

The method of claim 59, wherein the contents of the first and second delay circuitries are provided as inputs to the respective logical locations during a simulation.

### Claim 64

An apparatus comprising a machine readable medium that contains instructions which when executed cause a computer to:
receive descriptions of a circuitry including a design module having a first logic clocked by a first clock signal having a first frequency to output a data signal to a synchronizer circuit that is clocked by a second clock signal having a second frequency to provide the data signal to a second logic; and
generate additional descriptions including descriptions of a replicated module including a delay circuitry clocked by the second clock signal to receive and pass through the data signal output from the synchronizer circuit, and a replicated second logic to receive the data signal output by the delay circuitry.

### Claim 65 (depends on 64)

The apparatus of claim 64, wherein the replicated module includes a replicated first logic and a replicated synchronizer circuit.

### Claim 66 (depends on 64)

The apparatus of claim 64, wherein the design and the replicated modules are in a single chip.

### Claim 67 (depends on 64)

The apparatus of claim 64, wherein the design and the replicated are in different chips.

### Claim 68 (depends on 64)

The method of claim 64, wherein the contents of the first and second delay circuitries are provided as inputs to the respective logical locations during a simulation.

### Claim 69

A method comprising:
receiving descriptions of a circuitry including a design module receiving a data signal, a first clock signal having a first clock rate, and a second clock signal having a second clock rate; and
generating additional descriptions including descriptions of a first delay circuitry to receive the data signal and be clocked by the first clock signal, a second delay circuitry to receive an output of the design module and be clocked by the second clock signal, and a replicated module receiving the first and second clock signals, and receiving the outputs of the first and second delay circuitry.

### Claim 70 (depends on 69)

The method of claim 69, wherein the depth of the delay circuitry is inversely proportional to the period of the clock signal.

### Claim 71 (depends on 69)

The method of claim 69, wherein the first delay circuitry has a depth N1 and the second delay circuitry has a depth N2, wherein a N1 and N2 are chosen so that (P1×N1)/(P2×N2) is 1 or is as close to 1 as is practical, with P1 and P2 being the periods of the first and second clock signals respectively.

### Claim 72 (depends on 69)

The method of claim 69, wherein the design and the replicated modules are in a single chip.

### Claim 73 (depends on 69)

The method of claim 69, wherein the design and the replicated modules are in different chips.

### Claim 74

An apparatus comprising a machine readable medium that contains instructions which when executed cause a computer to:
receive descriptions of a circuitry including a design module receiving a data signal, a first clock signal having a first clock rate, and a second clock signal having a second clock rate; and
generate additional descriptions including descriptions of a first delay circuitry to receive the data signal and be clocked by the first clock signal, second delay circuitry to receive an output of the design module and be clocked by the second clock signal, and replicated module receiving the first and second clock signals, and receiving the outputs of the first and second delay circuitry.

### Claim 75 (depends on 74)

The apparatus of claim 74, wherein the depth of the delay circuitry is inversely proportional to the period of the clock signal.

### Claim 76 (depends on 74)

The apparatus of claim 74, wherein the first delay circuitry has a depth N1 and the second delay circuitry has a depth N2, wherein a N1 and N2 are chosen so that (P1×N1)/(P2×N2) is 1 or is as close to 1 as is practical, with P1 and P2 being the periods of the first and second clock signals respectively.

### Claim 77 (depends on 74)

The apparatus of claim 74, wherein the design and the replicated modules are in a single chip.

### Claim 78 (depends on 74)

The apparatus of claim 74, wherein the design and the replicated modules are in different chips.
