# US 2021/0286672 A1 · Circuit and method for soft-error protection in operation of ecc and register

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

- Number: US 2021/0286672 A1
- Document ID: US20210286672A1
- Status: Published application
- Kind: A1
- Application number: 16/817,717
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Marvell Semiconductor, Inc.
- Applicants: Marvell Semiconductor, Inc.
- Inventors: Michael A. Ziegerhofer
- Web page: https://patentgrep.com/patent/US20210286672A1

## CPC

- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 9/30134: {Register stacks; shift registers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure provide an a circuit including: first logic to compare output data from the shift register with output data from error correcting code circuitry (ECC), to output an error signal in response to a data bit output from the shift register being different from a data bit output from the ECC; second logic for receiving the error signal from the first logic gate, and a correctability signal from the ECC, to output an overwrite signal in response to receiving the error signal and the correctability signal; and a selector receiving the overwrite signal and the data bit of the output data from the ECC, and coupled between a data source and an input line to the shift register. The selector causes the shift register to receive the ECC output in response to receiving the overwrite signal.

## Claims

### Claim 1

A circuit for replacing bit values in a shift register, the circuit comprising:
a first logic gate for comparing output data from the shift register with output data from an error-correcting code circuitry (ECC), wherein the first logic gate outputs an error signal in response to a data bit output from the shift register being different from a data bit output from the ECC;
a second logic gate for receiving the error signal from the first logic gate, and a correctability signal from the ECC indicating the data bit output from the shift register as being correctable, wherein the second logic gate outputs an overwrite signal in response to receiving the error signal and the correctability signal; and
a selector receiving the overwrite signal and the data bit of the output data from the ECC, and coupled between a data source and an input line to the shift register, wherein the selector causes the shift register to receive the data bit of the output data from the ECC in response to receiving the overwrite signal.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the first logic gate comprises an exclusive or (XOR) gate or a set of compare function logic circuits.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein the second logic gate comprises an and (AND) gate or a set of true function logic circuits.

### Claim 4 (depends on 1)

The circuit of claim 1, wherein the ECC includes logic for distinguishing a soft error from other error types, and identifying the soft error as correctable.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the shift register comprises a serial in serial out (SISO) register having a plurality of latches.

### Claim 6 (depends on 5)

The circuit of claim 5, wherein the selector selecting the data bit of the output data from the ECC replaces a bit stored on a latch of the SISO register.

### Claim 7 (depends on 1)

A memory circuit comprising a plurality of circuits according to claim 1 coupled in parallel and configured to process a parallel data input.

### Claim 8

An apparatus comprising:
a shift register for driving operation of a digital circuit;
an error-correcting code circuitry (ECC) receiving an output from the shift register, the ECC being coupled to identify error bits in the output signal and classify the error bits as being a correctable error or a non-correctable error;
first logic gate for comparing the output from the shift register with an output from the ECC, wherein the first logic gate outputs an error signal in response to a data bit output from the shift register being different from a data bit output from the ECC;
a second logic gate for receiving the error signal from the first logic gate, and a correctability signal from the ECC indicating the data bit output from the shift register as being a correctable error, wherein the second logic gate outputs an overwrite signal in response to receiving the error signal and the correctability signal; and
a selector receiving the overwrite signal and the data bit of the output data from the ECC, and coupled between a data source and an input line to the shift register, wherein the selector causes the shift register to receive the data bit of the output data from the ECC in response to receiving the overwrite signal.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the first logic gate comprises an exclusive or (XOR) gate or a set of compare function logic circuits.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the second logic gate comprises an and (AND) gate or a set of true function logic circuits.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein the ECC includes logic for identifying the error as a correctable soft error.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the shift register comprises a serial in serial out (SISO) register having a plurality of latches.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the selector selecting the data bit of the output data from the ECC replaces a bit stored on a latch of the SISO register.

### Claim 14 (depends on 8)

A memory circuit comprising a plurality of apparatuses according to claim 8 coupled in parallel and configured to process a parallel data input.

### Claim 15

A method for replacing bit values in a shift register, the method comprising:
comparing output data from the shift register with output data from an error-correcting code circuitry (ECC);
identifying an error in response to a data bit output from the shift register being different from a data bit output from the ECC;
determining whether the error is a correctable error based on the ECC; and
replacing a data input to the shift register with the output data from the ECC in response to identifying the error, and determining the error as correctable.

### Claim 16 (depends on 15)

The method of claim 15, wherein comparing the output data from the shift register with the output data from the ECC includes transmitting the output data from the shift register and the output data from the ECC using a first logic gate to identify the error.

### Claim 17 (depends on 15)

The method of claim 15, wherein determining whether the error is a correctable soft error via the ECC.

### Claim 18 (depends on 17)

The method of claim 17, wherein determining whether the error is correctable includes outputting a correctability signal to a second logic gate, and outputting a signal indicative of the identified error to the second logic gate, wherein an output from the second logic gate causes a selector to replace the data input to the shift register with the output data from the ECC.

### Claim 19 (depends on 15)

The method of claim 15, wherein replacing the data input to the shift register causes the output data from the ECC to overwrite a latch within the shift register.

### Claim 20 (depends on 15)

The method of claim 15, further comprising implementing the comparing, the identifying, the determining, and the replacing on a plurality of additional shift registers coupled in parallel to a parallel data input.
