# US 2013/0154708 A1 · Configurable flip-flop

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

- Number: US 2013/0154708 A1
- Document ID: US20130154708A1
- Status: Published application
- Kind: A1
- Application number: 13/326,685
- Filed: 2011-12-15
- Published: 2013-06-20
- Earliest claimed: 2011-12-15
- Assignees: Freescale Semiconductor, Inc.
- Inventors: Shayan Zhang; Ravindraraj Ramaraju
- Web page: https://patentgrep.com/patent/US20130154708A1

## CPC

- H03K 3/356156: {with synchronous operation}
- 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 configurable flip-flop can be operated in a normal mode and a buffer mode. In the normal mode, the flip-flop latches data at the flip-flop input based on a clock signal. In the buffer mode, the flip-flop provides data at the flip-flop input to the flip-flop output, independent of the clock signal.

## Claims

### Claim 1

A device comprising a flip-flop, the flip-flop comprising:
a clock input;
a first flush control input;
a data input; and
a data output, the flip-flop configured to:
when a first flush control signal at the flush control input is negated, latch data present at the data input in response to assertion of a clock signal at the clock input; and
when the first flush control signal is asserted, buffer data present at the data input independent of the clock signal at the clock input.

### Claim 2 (depends on 1)

The device of claim 1, wherein the flip-flop further comprises:
a master stage comprising a master input coupled to the data input, a master output, and a first control input, the master stage configured to latch data at the master stage or buffer data at the master stage based on a first control signal at the first control input; and
a master flush module comprising an input coupled to the first flush control input, an input coupled to the clock input and an output coupled to the first control input to provide the first control signal based on the first flush control signal and the clock signal.

### Claim 3 (depends on 2)

The device of claim 2, wherein the flip-flop further comprises:
a slave stage comprising a slave input coupled to the master output, a slave output coupled to the data output, and a second control input, the slave stage configured to latch data at the slave stage or buffer data at the slave stage based on a second control signal at the second control input; and
a slave flush module comprising an input coupled to the first flush control input, an input coupled to the clock input and an output coupled to the second control input to provide the second control signal based on the first flush control signal and the clock signal.

### Claim 4 (depends on 3)

The device of claim 3, wherein the master flush module comprises:
an inverter comprising an input coupled to the first flush control input and an output; and
a NAND gate comprising a first input coupled to the output of the inverter, a second input coupled to the clock input, and an output to provide the first control signal.

### Claim 5 (depends on 4)

The device of claim 4, wherein the slave flush module comprises:
a NOR gate comprising a first input coupled to the first flush control input, a second input coupled to the clock input, and an output to provide the second control signal.

### Claim 6 (depends on 3)

The device of claim 3, wherein the master flush module comprises:
an inverter comprising an input coupled to the clock input and an output; and
a first NOR gate comprising a first input coupled to the output of the inverter, a second input coupled to the first flush control input, and an output to provide the first control signal.

### Claim 7 (depends on 6)

The device of claim 6, wherein the slave flush module comprises:
a second NOR gate comprising a first input coupled to the first flush control input, a second input coupled to the clock input, and an output to provide the second control signal.

### Claim 8 (depends on 1)

The device of claim 1, wherein the flip-flop further comprises:
a second flush control input, the flip-flop configured to latch data or buffer data at a first portion of the flip-flop based on the first flush control signal and to latch data or buffer data at a second portion of the flip-flop based on a second flush control signal at the second flush control input.

### Claim 9 (depends on 8)

The device of claim 8, the flip-flop further comprising:
a master stage comprising a master input coupled to the data input, a master output, and a first control input, the master stage configured to latch data at the master stage or buffer data at the master stage based on a first control signal at the first control input; and
a master flush module comprising an input coupled to the first flush control input, an input coupled to the clock input and an output coupled to the first control input to provide the first control signal based on the first flush control signal and the clock signal.

### Claim 10 (depends on 9)

The device of claim 9, wherein the flip-flop further comprises:
a slave stage comprising a slave input coupled to the master output, a slave output coupled to the data output, and a second control input, the slave stage configured to latch data at the slave stage or buffer data at the slave stage based on a second control signal at the second control input; and
a slave flush module comprising an input coupled to the second flush control input, an input coupled to the clock input and an output coupled to the second control input to provide the second control signal based on the second flush control signal and the clock signal.

### Claim 11 (depends on 1)

The device of claim 1, wherein the flip-flop further comprises:
a test input;
a test enable input, the flip-flop configured to selectively couple the data input and the test input to the data output based on a test control signal at the test enable input.

### Claim 12 (depends on 1)

The device of claim 1, further comprising:
a first stage of an instruction pipeline coupled to the data input of the flip-flop.

### Claim 13 (depends on 12)

The device of claim 12, further comprising:
a state-retention flip-flop comprising a data output coupled to the first stage of the instruction pipeline.

### Claim 14

A flip-flop comprising:
an data input;
a master stage; and
a slave stage;
the flip-flop configured to, in a first mode of operation, latch data present at the data input at a master stage of the flip-flop based on a clock signal and configured to, in a second mode of operation, buffer data at the data input at the master stage independent of the clock signal.

### Claim 15 (depends on 14)

The flip-flop of claim 14, the flip-flop configured to, in the first mode of operation, buffer data at the slave stage of the flip-flop independent of the clock signal.

### Claim 16 (depends on 15)

The flip-flop of claim 15, the flip-flop configured to, in the second mode of operation, latch data at the slave stage based on the clock signal.

### Claim 17

A method, comprising:
in response to determining a flip-flop is in a first mode of operation, latching data at a master stage of the flip-flop based on a clock signal; and
in response to determining the flip-flop is in a second mode of operation, buffering data at the master stage of the flip-flop independent of the clock signal.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
in response to determining the flip-flop is in the third mode of operation, buffering data at a slave stage of the flip-flop independent of the clock signal;
in response to determining the flip-flop is in the fourth mode of operation, latching data at the slave stage based on the clock signal.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
wherein buffering data at the master stage of the flip-flop comprises buffering data at the flip-flop independent of a test enable signal, the flip-flop configured to be operated in a test mode based on a state of the test enable signal.

### Claim 20 (depends on 19)

The method of claim 19, further comprising selecting a data input of the flip-flop based on the state of the test enable signal.
