# US 2015/0039956 A1 · Test mux flip-flop cell for reduced scan shift and functional switching power consumption

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

- Number: US 2015/0039956 A1
- Document ID: US20150039956A1
- Status: Published application
- Kind: A1
- Application number: 13/954,227
- Filed: 2013-07-30
- Published: 2015-02-05
- Earliest claimed: 2013-07-30
- Assignees: STMicroelectronics Asia Pacific Pte Ltd
- Applicants: STMicroelectronics Asia Pacific Pte. Ltd.
- Inventors: Beng-Heng Goh
- Web page: https://patentgrep.com/patent/US20150039956A1

## CPC

- G01R 31/318541: {Scan latches or cell details}
- G01R 31/318525: {Test of flip-flops or latches}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A new flip-flop cell that is more efficient in scan chain configuration includes a multiplexer, storage element (e.g., a flip-flop), an inverter, and multiple logic gates. The flip-flop cell is configured to receive both a test signal and a data input signal and select one of the two to pass to the storage element based on a scan enable signal that indicates either a capture mode or a scan shift mode. In capture mode, the data input signal is passed to the storage element, and the internal outputs of the flip-flop are supplied to the logic gates. Based on the internal outputs and scan enable signal, the logic gates disable either one of two outputs of the flip-flop cell. In capture mode, a test flip-flop cell output is disabled. In scan shift mode, a standard function flip-flop cell output is disabled.

## Claims

### Claim 1

A circuit, comprising:
a first multiplexer configured to receive a data input, a test input, and a scan enable signal and provide a multiplexed output;
a first storage element configured to generate an internal data signal based on the multiplexed output and a clock signal; and
logic circuitry configured to produce a flip-flop cell output and a test flip-flop cell output based on the internal data signal and the enable signal.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the logic circuitry comprises two NOR gates.

### Claim 3 (depends on 2)

The circuit of claim 2, further comprising an inverter configured to invert the scan enable signal before the scan enable signal is supplied to one of the NOR gates.

### Claim 4 (depends on 2)

The circuit of claim 2, wherein the internal data signal is inverted before being supplied to each of the NOR gates.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the first storage element comprises at least one member of a group comprising a D flip-flop, a JK flip-flop, and an SR flip-flop.

### Claim 6 (depends on 1)

The circuit of claim 1, further comprising:
a second multiplexer configured to generate a second multiplexed output based on a second data input, the test flip-flop cell output, and the scan enable signal;
a second storage element configured to generate a second internal data signal based on the second multiplexed output and the clock signal; and
additional logic circuitry configured to produce a second flip-flop cell output and a second test flip-flop cell output based on the second internal data signal and the enable signal.

### Claim 7 (depends on 6)

The circuit of claim 6, wherein the additional logic circuitry comprises two additional NOR gates.

### Claim 8 (depends on 7)

The circuit of claim 7, further comprising an inverter configured to invert the scan enable signal before the scan enable signal is supplied to one of the additional NOR gates.

### Claim 9 (depends on 6)

The circuit of claim 6, wherein second storage element comprises at least one member of a group comprising a D flip-flop, a JK flip-flop, and an SR flip-flop.

### Claim 10 (depends on 6)

The circuit of claim 6, wherein the scan enable signal is supplied to selector inputs of the first and second multiplexers.

### Claim 11

A flip-flop cell, comprising:
a multiplexer configured to receive a data input, a test input, and a scan enable signal and provide a multiplexed output,
a flip-flop configured to generate an internal data signal based on the multiplexed output, and
a logic gate configured to generate a test flip-flop cell output based on the internal data signal and the scan enable signal, said test flip-flop cell output set to a fixed logic value if the scan enable signal is set to a first logic state and permitted to change state in response to said internal data signal if the scan enable signal is set to a second logic state.

### Claim 12 (depends on 11)

The flip-flop of claim 11, wherein the logic gate comprises a NOR gate.

### Claim 13 (depends on 11)

The flip-flop of claim 11, further including another logic gate configured to generate a standard function flip-flop cell output based on the internal data signal and the scan enable signal, said standard function flip-flop cell output set to the fixed logic value if the scan enable signal is set to the second logic state and permitted to change state in response to said internal data signal if the scan enable signal is set to the first logic state.

### Claim 14 (depends on 11)

The flip-flop of claim 11, further comprising an inverter configured to generate an inversion of the scan enable signal for application to the logic gate.

### Claim 15

An apparatus, comprising:
a plurality of flip-flop cells connected in series in a scan chain configuration, each flip-flop cell comprising:
a multiplexer configured to generate a multiplexed output based on a scan enable signal indicating either a scan shift mode or a capture mode,
a flip-flop receiving the multiplexed output and generating an internal flip-flop output,
a standard function flip-flop cell output configured to pass the internal flip-flop output in the capture mode and present a fixed logic state output in the scan shift mode, and
a test flip-flop cell output configured to pass an inversion of the internal flip-flop output in the scan shift mode and present a fixed logic state output in the capture mode.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the standard function flip-flop cell output is supplied to circuitry external to the flip-flop cell during capture mode.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the test flip-flop cell output is supplied to a test input of another flip-flop cell in the scan chain configuration.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein each flip-flop cell in the scan chain configuration receives a data input signal from circuitry under test.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein a first NOR gate is configured to generate a first signal for the test flip-flop cell output based on the internal data signal and the scan enable signal.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein a second NOR gate is configured to generate a second signal for the standard function flip-flop cell output based on the internal data signal and the scan enable signal.
