# US 2012/0068749 A1 · Master-slave flip-flop with timing error correction

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

- Number: US 2012/0068749 A1
- Document ID: US20120068749A1
- Status: Published application
- Kind: A1
- Application number: 12/888,367
- Filed: 2010-09-22
- Published: 2012-03-22
- Earliest claimed: 2010-09-22
- Assignees: Freescale Semiconductor, Inc.
- Inventors: SANTOSH SOOD; Mukesh Bansal
- Web page: https://patentgrep.com/patent/US20120068749A1

## CPC

- H03K 3/35625: {using complementary field-effect transistors}
- H03K 3/0375: {provided with means for increasing reliability; for protection; for ensuring a predetermined initial state when the supply voltage has been applied; for storing the actual state when the supply voltage fails (digital storage cells each combining volatile and non-volatile storage properties G11C14/00)}
- 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)

## Abstract

A digital logic circuit includes a logic element for providing a data signal, a clock for providing a clock signal and a master-slave flip-flop. The master-slave flip-flop includes a master latch for storing data on a master latch input at a first active edge of the clock signal and a slave latch for storing data on an output of the master latch at a second active edge of the clock signal following the first active edge. A timing error detector asserts an error signal in response to a change in the data signal during a detection period following the first active edge of the clock signal. A timing correction module selectively increases a propagation delay of the data signal from the logic element to the master latch input in response to the error signal.

## Claims

### Claim 1

A digital logic circuit, comprising:
a logic element for providing a data signal;
a clock for providing a clock signal;
a master-slave flip-flop including a master latch for storing data on a master latch input at a first active edge of said clock signal and a slave latch for storing data on an output of said master latch at a second active edge of said clock signal following said first active edge;
a timing error detector module for asserting an error signal in response to a change in said data signal during a detection period following said first active edge of said clock signal; and
a timing correction module for selectively increasing a propagation delay of said data signal from said logic element to said master latch input in response to said error signal.

### Claim 2 (depends on 1)

The digital logic circuit of claim 1, wherein said timing correction module includes a signal delay element through which said data signal is arranged to pass from said logic element to said master-slave flip-flop selectively in response to said error signal.

### Claim 3 (depends on 1)

The digital logic circuit of claim 1, wherein said timing error detector module includes an edge detector for asserting a timing signal having a duration that defines said detection period following said first active edge of said clock signal.

### Claim 4 (depends on 1)

The digital logic circuit of claim 1, wherein said detection period following said first active edge of said clock signal corresponds with a hold window of said master latch.

### Claim 5 (depends on 1)

The digital logic circuit of claim 1, wherein said master-slave flip-flop includes a master transmission gate for receiving said data signal and transmitting said data signal to said master latch input during a phase of said clock signal preceding said first active edge, and said timing error detector module is arranged to assert said error signal in response to a difference during said detection period between said data signal received by said transmission gate and said data signal at said master latch input.

### Claim 6 (depends on 1)

The digital logic circuit of claim 1, wherein said master latch includes:
a first inverter for receiving said data on said master latch input during a phase of said clock signal preceding said first active edge, and
a second inverter for receiving data from an output of said first inverter and applying an output signal from said second inverter to said master latch input during a phase of said clock signal following said first active edge.

### Claim 7 (depends on 1)

The digital logic circuit of claim 1, wherein said timing correction module is arranged to cause said clock to reduce a frequency of said clock signal progressively in response to said error signal.

### Claim 8 (depends on 1)

The digital logic circuit of claim 1, wherein said timing correction module is arranged to cause said clock to reduce a frequency of said clock signal in response to a change in said data signal during a detection period preceding said first active edge of said clock signal without increasing said propagation delay of said data signal from said logic element to said master latch input.

### Claim 9 (depends on 1)

The digital logic circuit of claim 1, wherein said logic element is arranged to reset and repeat said data signal in response to said error signal.

### Claim 10

A method of detecting and correcting timing errors in a digital logic circuit including a logic element providing a data signal, a clock providing a clock signal, a master-slave flip-flop comprising a master latch for storing data on a master latch input at a first active edge of said clock signal and a slave latch for storing data on an output of said master latch at a second active edge of said clock signal following said first active edge, the method comprising:
asserting an error signal in response to a change in said data signal during a detection period following said first active edge of said clock signal; and
selectively increasing a propagation delay of said data signal from said logic element to said master latch input in response to said error signal.

### Claim 11 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein increasing said propagation delay of said data signal comprises passing said data signal from said logic element to said master-slave flip-flop selectively through a signal delay element in response to said error signal.

### Claim 12 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein providing said error signal includes asserting a timing signal that has a duration that defines said detection period following said first active edge of said clock signal.

### Claim 13 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein said detection period following said first active edge of said clock signal corresponds with a hold window of said master latch.

### Claim 14 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein said master-slave flip-flop includes a master transmission gate for receiving said data signal and transmitting said data signal to said master latch input during a phase of said clock signal preceding said first active edge, and said error signal is asserted in response to a difference during said detection period between said data signal received by said transmission gate and said data signal at said master latch input.

### Claim 15 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein said master latch includes a first inverter receiving said data on said master latch input during a phase of said clock signal preceding said first active edge, and a second inverter receiving data from an output of said first inverter and applying an output signal from said second inverter to said master latch input during a phase of said clock signal following said first active edge.

### Claim 16 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein said clock reduces a frequency of said clock signal progressively in response to said error signal.

### Claim 17 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein said clock reduces a frequency of said clock signal in response to a change in said data signal during a detection period preceding said first active edge of said clock signal without said propagation delay of said data signal from said logic element to said master latch input increasing.

### Claim 18 (depends on 10)

The method of detecting and correcting timing errors of claim 10, wherein said logic element resets and repeats said data signal in response to said error signal.
