# US 12,407,336 B2 · Flip flop circuit

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

- Number: US 12,407,336 B2
- Document ID: US12407336B2
- Status: Granted
- Kind: B2
- Application number: 18/366,981
- Filed: 2023-08-08
- Published: 2023-11-30
- Granted: 2025-09-02
- Earliest claimed: 2020-07-31
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Company, Ltd.
- Inventors: Po-Chia Lai; Stefan Rusu
- Web page: https://patentgrep.com/patent/US12407336B2

## CPC

- H03K 3/35625: {using complementary field-effect transistors}
- G01R 31/318541: {Scan latches or cell details}
- H03K 3/356008: {ensuring a predetermined initial state when the supply voltage has been applied; storing the actual state when the supply voltage fails (digital storage cells each combining volatile and non-volatile storage properties G11C14/00)}
- H03K 3/289: of the primary-secondary type
- 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

A flip flop circuit includes a first master portion, a second master portion, at least one determining portion and a slave portion. The first master portion is configured to operate at a first mode and to receive a first input and generate first master outputs. The second master portion is configured to operate at a second mode and to receive a second input and generate second master outputs. The at least one determining portion is configured to receive at least one enable signal, and has determining inputs and determining outputs. The determining inputs are connected to the first master outputs and the second master outputs. The determining portion is configured to determine the determining outputs being the first master outputs or the second master outputs according to the at least one enable signal. The slave portion is configured to receive the determining outputs and generate an output signal.

## Claims

### Claim 1

A flip flop circuit, comprising:
at least one determining portion including first and second determining portions, configured to receive at least one enable signal that activates one of the first and second determining portions and simultaneously deactivates the other of the first and second determining portions, and having determining inputs and determining outputs, the determining inputs configured to receive first master outputs and second master outputs, the at least one determining portion configured to provide at the determining outputs the first master outputs when the first determining portion is activated or the second master outputs when the second determining portion is activated; and
a slave portion connected to the determining outputs and configured to generate an output signal.

### Claim 2 (depends on 1)

The flip flop circuit of claim 1, wherein the at least one enable signal comprise a scan enable signal and an inverted scan enable signal.

### Claim 3 (depends on 1)

The flip flop circuit of claim 1, wherein the first determining portion includes an inverter having an input that serves as one of the determining inputs and an output that serves as one of the determining outputs.

### Claim 4 (depends on 1)

The flip flop circuit of claim 1, further comprising:
a first master portion configured to operate at a first mode, to receive a first input and to generate the first master outputs; and
a second master portion configured to operate at a second mode, to receive a second input and to generate the second master outputs.

### Claim 5 (depends on 4)

The flip flop circuit of claim 4, wherein the first master portion comprises cross-coupled first and second Or-And-Inverter (OAI) logic gates and a first master inverter having an input connected to an input of the first OAI logic gates and an output connected to an input of the second OAI logic gates, the input of the first OAI logic gates is configured to receive the first input, and an output of each of the first and second OAI logic gates is configured to provide a respective one of the first master outputs.

### Claim 6 (depends on 5)

The flip flop circuit of claim 5, wherein the second master portion comprises: cross-coupled third and fourth OAI logic gates and a second master inverter, and the slave portion comprises: a pair of cross-coupled And-Or-Inverter (AOI) logic gates and a slave inverter.

### Claim 7 (depends on 1)

The flip flop circuit of claim 1, wherein the first determining portion comprises a pair of transistors controlled by the at least one enable signal, and an inverter connected between the transistors and having an input that serves as one of the determining inputs and an output that serves as one of the determining outputs.

### Claim 8

A flip flop circuit, comprising:
a first master portion configured to operate at a first mode, to receive a first input, and to generate first master outputs; and
a second master portion configured to operate at a second mode, to receive a second input, and to generate second master outputs different from the first master outputs, whereby an output signal is generated based on the first master outputs or the second master outputs.

### Claim 9 (depends on 8)

The flip flop circuit of claim 8, wherein the first mode is a testing mode, the second mode is a normal mode, the first input is a scan-in signal, and the second input is a data signal.

### Claim 10 (depends on 8)

The flip flop circuit of claim 8, wherein the first master portion comprises: cross-coupled first and second Or-And-Inverter (OAI) logic gates and a first master inverter having an input connected to an input of the first OAI logic gates and an output connected to an input of the second OAI logic gates, the input of the first OAI logic gates is configured to receive the first input, and the output of each of the first and second OAI logic gates is configured to provide a respective one of the first master outputs.

### Claim 11 (depends on 8)

The flip flop circuit of claim 8, wherein the first master portion comprises: cross-coupled first and second Or-And-Inverter (OAI) logic gates and a first master inverter, and the second master portion comprises: cross-coupled third and fourth OAI logic gates and a second master inverter, and the slave portion comprises: a pair of cross-coupled And-Or-Inverter (AOI) logic gates and a slave inverter.

### Claim 12 (depends on 8)

The flip flop circuit of claim 8, further comprising an inverter having an input configured to receive one of the first master outputs and an output connected to a slave portion.

### Claim 13 (depends on 12)

The flip flop circuit of claim 12, further comprising a transistor connected between a supply voltage and the inverter.

### Claim 14 (depends on 8)

The flip flop circuit of claim 8, further comprising an inverter having an input configured to receive one of the second master outputs and an output connected to a slave portion.

### Claim 15 (depends on 14)

The flip flop circuit of claim 14, further comprising a transistor connected between a supply voltage and the inverter.

### Claim 16

A flip flop circuit, comprising:
a first master portion configured to receive a first input and to generate first master outputs;
a slave portion configured to receive a selected one of the first master outputs or second master outputs different from the first master outputs and to generate an output signal; and
a determining portion having an input configured to receive the first master outputs and an output connected to the slave portion.

### Claim 17 (depends on 16)

The flip flop circuit of claim 16, wherein the first input comprises a scan-in signal.

### Claim 18 (depends on 16)

The flip flop circuit of claim 16, wherein one of the first and second logic gates is an OR gate, the other of the first and second logic gates is an AND gate, an input of the first logic gate is configured to receive the first input, an input of the second gate is connected to an output of the first logic gate, and the first master portion further includes a third logic gate having an input connected to an output of the second logic gate and an output configured to provide one of the first master outputs.

### Claim 19 (depends on 16)

The flip flop circuit of claim 16, wherein the determining portion includes a plurality of transistors controlled by a scan enable signal and an inverted scan enable signal.

### Claim 20 (depends on 16)

The flip flop circuit of claim 16, further comprising an inverter connected between the first master portion and the slave portion.
