# US 10,270,433 B1 · Master-slave clock generation circuit

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

- Number: US 10,270,433 B1
- Document ID: US10270433B1
- Status: Granted
- Kind: B1
- Application number: 15/939,156
- Filed: 2018-03-28
- Granted: 2019-04-23
- Earliest claimed: 2018-03-28
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Vivekanandan Venugopal
- Web page: https://patentgrep.com/patent/US10270433B1

## CPC

- H03K 3/35625: {using complementary field-effect transistors}
- G01R 31/318552: {Clock circuits details}
- H03K 3/3568: Multistable circuits
- H03K 19/0963: {using transistors of complementary type (H03K19/0966 takes precedence)}
- G01R 31/31725: {Timing aspects, e.g. clock distribution, skew, propagation delay (for tester hardware G01R31/31937)}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

In various embodiments, a master-slave clock generation circuit may include a first delay circuit, a second delay circuit, a first tristate inverter, and a second tristate inverter. The first delay circuit may delay a clock signal and output a slave clock signal and a delayed clock signal. The first tristate inverter may selectively invert the clock signal based on a scan enable signal. The second tristate inverter may selectively invert the delayed clock signal based on the scan enable signal. The second delay circuit may delay a signal received from the first tristate inverter, the second tristate inverter, or both, and output a master clock signal. As a result, the master-slave clock generation circuit may be configured to output a master clock signal and a slave clock signal having differing sets of relative timing characteristics depending on whether the scan enable signal is asserted.

## Claims

### Claim 1

An apparatus, comprising:
a clock generation circuit, comprising:
a first delay circuit configured to receive a clock signal and generate, based on the clock signal, a slave clock signal and a delayed clock signal;
a first tristate inverter configured to generate at least a first portion of a master signal based on the clock signal and a scan enable signal;
a second tristate inverter configured to generate at least a second portion of the master signal based on the delayed clock signal and the scan enable signal, wherein the output of the first tristate inverter is connected to the output of the second tristate inverter; and
a second delay circuit configured to generate a master clock signal based on the generated portions of the master signal.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising a flip-flop circuit, comprising:
a master latch configured to store a first value based on the master clock signal; and
a slave latch configured to store a second value based on the slave clock signal.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the second value is an output of the master latch.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the flip-flop circuit further comprises a selection circuit configured, based on the scan enable signal, to provide a data signal to the master latch as the first value or to provide a scan signal to the master latch as the first value.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the flip-flop circuit further comprises a routing circuit configured, based on the scan enable signal, to connect an output of the slave latch to a data output line or a scan output line.

### Claim 6 (depends on 2)

The apparatus of claim 2, further comprising a second flip-flop circuit, comprising:
a second master latch configured to store a third value based on the master clock signal; and
a second slave latch configured to store a fourth value based on the slave clock signal.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the third value is an output of the slave latch of the flip-flop circuit.

### Claim 8 (depends on 7)

The apparatus of claim 7, further comprising a delay circuit configured to receive the output of the slave latch of the flip-flop circuit and provide a delayed version of the output of the slave latch to the second master latch as the third value.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the first tristate inverter comprises a pair of transistors configured to connect the second delay circuit to a voltage source when the scan enable signal is asserted and the clock signal is deasserted.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the first tristate inverter comprises a pair of transistors configured to connect the second delay circuit to a ground voltage when the scan enable signal and the clock signal are both asserted.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the second tristate inverter comprises a pair of transistors configured to connect the second delay circuit to a voltage source when the scan enable signal and the delayed clock signal are both deasserted.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein the second tristate inverter comprises a pair of transistors configured to connect the second delay circuit to a ground voltage when the scan enable signal is deasserted and the delayed clock signal is asserted.

### Claim 13

A method, comprising:
generating, by a first delay circuit of a clock generation circuit based on a clock signal, a slave clock signal and a delayed clock signal;
generating, by a first tristate inverter of the clock generation circuit, at least a first portion of a master signal based on the clock signal and a scan enable signal;
generating, by a second tristate inverter of the clock generation circuit, at least a second portion of the master signal based on the delayed clock signal and the scan enable signal;
generating, by a second delay circuit of the clock generation circuit based on the generated portions of the master signal, a master clock signal;
storing, by a master latch, a first value based on the master clock signal; and
storing, by a slave latch, a second value based on the slave clock signal, wherein the second value is output by the master latch.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
storing, by a second master latch, a third value based on the master clock signal, wherein the third value is output by the slave latch; and
storing, by a second slave latch, a fourth value, wherein the fourth value is output by the second master latch.

### Claim 15 (depends on 13)

The method of claim 13, wherein the second delay circuit includes a different number of inverters than the first delay circuit.

### Claim 16 (depends on 13)

The method of claim 13, wherein the first delay circuit comprises an even number of inverters.

### Claim 17

A non-transitory computer readable storage medium having stored thereon design information that specifies a circuit design in a format recognized by a fabrication system that is configured to use the design information to fabricate a hardware integrated circuit that includes:
a master latch configured to store a first value based on a master clock signal and an inverted master clock signal;
a slave latch configured to store a second value based on a slave clock signal and an inverted slave clock signal;
a clock generation circuit, comprising:
a first delay circuit configured to receive a clock signal and generate, based on the clock signal, the slave clock signal, the inverted slave clock signal, and a delayed clock signal;
a first tristate inverter configured to generate at least a first portion of a master signal based on the clock signal and a scan enable signal;
a second tristate inverter configured to generate at least a second portion of the master signal based on the delayed clock signal and the scan enable signal, wherein the output of the first tristate inverter is connected to the output of the second tristate inverter; and
a second delay circuit configured to receive the master signal and generate, based on the generated portions of the master signal, the master clock signal and the inverted master clock signal.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the first delay circuit is further configured to generate the delayed clock signal by inverting the clock signal at least twice.

### Claim 19 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the first tristate inverter is configured to generate the at least a first portion of the master signal in response to the scan enable signal being asserted.

### Claim 20 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the second tristate inverter is configured to generate the at least a second portion of the master signal in response to the scan enable signal being deasserted.
