# US 2016/0253227 A1 · Error Detection Circuitry For Use With Memory

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

- Number: US 2016/0253227 A1
- Document ID: US20160253227A1
- Status: Published application
- Kind: A1
- Application number: 14/633,062
- Filed: 2015-02-26
- Published: 2016-09-01
- Earliest claimed: 2015-02-26
- Assignees: Arm Limited
- Applicants: ARM Limited
- Inventors: Andy Wangkun Chen; Mudit Bhargava; Paul Meyer; Vikas Chandra
- Web page: https://patentgrep.com/patent/US20160253227A1

## CPC

- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/085: {using codes with inherent redundancy, e.g. n-out-of-m codes}
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1016: {Error in accessing a memory location, i.e. addressing error}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various implementations described herein may refer to and may be directed to error detection circuitry for use with memory. In one implementation, an integrated circuit may include a memory array having a plurality of rows of memory cells, where a respective row is configured to store a data word and one or more check bits corresponding to the data word. The integrated circuit may also include inline error detection circuitry coupled to the respective row and configured to generate one or more flag bit values based on a detection of one or more bit errors in the data word stored in the respective row. The integrated circuit may further include error correction circuitry configured to correct the one or more bit errors in the data word stored in the respective row in response to the one or more generated flag bit values.

## Claims

### Claim 1

An integrated circuit, comprising:
a memory array having a plurality of rows of memory cells, wherein a respective row is configured to store a data word and one or more check bits corresponding to the data word;
inline error detection circuitry coupled to the respective row and configured to generate one or more flag bit values based on a detection of one or more bit errors in the data word stored in the respective row; and
error correction circuitry configured to correct the one or more bit errors in the data word stored in the respective row in response to the one or more generated flag bit values.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, wherein the inline error detection circuitry is configured to detect the one or more bit errors in the data word in substantially near real-time based on the one or more check bits.

### Claim 3 (depends on 1)

The integrated circuit of claim 1, wherein the one or more check bits comprise one or more parity bits, and wherein the one or more parity bits are generated using the data word prior to the data word being written to the respective row.

### Claim 4 (depends on 3)

The integrated circuit of claim 3, wherein the inline error detection circuitry comprises inline parity checking circuitry, and wherein the inline parity checking circuitry comprises one or more exclusive-OR (XOR) gates, one or more exclusive-NOR (XNOR) gates, or combinations thereof.

### Claim 5 (depends on 3)

The integrated circuit of claim 3, further comprising error-correcting code (ECC) bit generation circuitry configured to generate a plurality of first ECC bits based on the data word prior to the data word being written to the respective row.

### Claim 6 (depends on 5)

The integrated circuit of claim 5, wherein the first ECC bits are written to an ECC array disposed separately from the memory array.

### Claim 7 (depends on 5)

The integrated circuit of claim 5, further comprising ECC detection circuitry, wherein, based on the one or more generated flag bit values indicating the one or more bit errors in the data word, the ECC detection circuitry is configured to:
receive the data word from the respective row;
receive the first ECC bits corresponding to the data word;
generate a plurality of second ECC bits based on the data word received from the respective row;
compare the first ECC bits to the second ECC bits;
determine a position of the one or more bit errors in the data word based on the comparison; and
transmit the position of the one or more bit errors to the error correction circuitry.

### Claim 8 (depends on 7)

The integrated circuit of claim 7, wherein the error correction circuitry comprises ECC correction circuitry, and wherein the ECC correction circuitry is configured to:
receive the data word from the respective row;
correct the one or more bit errors in the data word based on the position of the bit error; and
transmit the corrected data word to the memory array for a write operation.

### Claim 9 (depends on 1)

The integrated circuit of claim 1, wherein the one or more check bits comprises a plurality of first error-correcting code (ECC) bits, and further comprising ECC bit generation circuitry configured to generate a plurality of first ECC bits using the data word prior to the data word being written to the respective row.

### Claim 10 (depends on 9)

The integrated circuit of claim 9, wherein the inline error detection circuitry comprises ECC detection circuitry, wherein the ECC detection circuitry is configured to:
generate a plurality of second ECC bits based on the data word stored in the respective row;
compare the first ECC bits to the second ECC bits;
determine a position of the one or more bit errors in the data word based on the comparison;
generate the one or more flag bit values indicating the one or more bit errors in the data word; and
transmit the position of the one or more bit errors to the error correction circuitry.

### Claim 11 (depends on 10)

The integrated circuit of claim 10, wherein the error correction circuitry comprises ECC correction circuitry, and wherein, in response to the one or more generated flag bit values, the ECC correction circuitry is configured to:
receive the data word from the respective row;
correct the one or more bit errors in the data word based on the position of the one or more bit errors; and
transmit the corrected data word to the memory array for a write operation.

### Claim 12

A method, comprising:
receiving a data word for storage to a row of a memory array;
generating one or more check bits based on the data word;
storing the data word and the one or more check bits to the row;
performing a detection of one or more bit errors in the stored data word using inline error detection circuitry coupled to the row; and
correcting the one or more bit errors in the stored data word using error correction circuitry.

### Claim 13 (depends on 12)

The method of claim 12, wherein performing the detection of the one or more bit errors comprises performing the detection using a plurality of exclusive-OR (XOR) gates, one or more exclusive-NOR (XNOR) gates, or combinations thereof.

### Claim 14 (depends on 12)

The method of claim 12, wherein generating the one or more check bits comprises generating one or more parity bits using parity bit generation circuitry.

### Claim 15 (depends on 14)

The method of claim 14, further comprising generating a plurality of first ECC bits based on the data word prior to the data word being written to the respective row.

### Claim 16 (depends on 15)

The method of claim 15, further comprising using ECC detection circuitry upon performing the detection of the one or more bit errors, comprising:
receiving the data word from the respective row;
receiving the first ECC bits corresponding to the data word;
generating a plurality of second ECC bits based on the data word received from the respective row;
comparing the first ECC bits to the second ECC bits;
determining a position of the one or more bit errors in the data word based on the comparison; and
transmitting the position of the one or more bit errors to the error correction circuitry.

### Claim 17 (depends on 12)

The method of claim 12, wherein the one or more check bits comprise a plurality of first error-correcting code (ECC) bits.

### Claim 18 (depends on 17)

The method of claim 17, wherein performing the detection of the one or more bit errors comprises performing the detection using inline ECC detection circuitry, and further comprising:
generating a plurality of second ECC bits based on the data word stored in the respective row;
comparing the first ECC bits to the second ECC bits;
determining a position of the one or more bit errors in the data word based on the comparison;
generating one or more flag bit values indicating the one or more bit errors in the data word; and
transmitting the position of the one or more bit errors to the error correction circuitry.

### Claim 19

An integrated circuit, comprising:
a memory array, comprising:
a plurality of rows of memory cells, wherein a respective row is configured to store a horizontal data word and a horizontal parity bit corresponding to the horizontal data word; and
a plurality of columns of memory cells, wherein a respective column is configured to store a vertical data word and a vertical parity bit corresponding to the vertical data word; and
a plurality of error detection circuitry, comprising:
inline horizontal error detection circuitry coupled to the respective row and configured to generate a horizontal flag bit value if the inline horizontal error detection circuitry detects one or more bit errors in the horizontal data word stored in the respective row; and
inline vertical error detection circuitry coupled to the respective column and configured to generate a vertical flag bit if the inline vertical error detection circuitry detects one or more bit errors in the vertical data word stored in the respective column.

### Claim 20 (depends on 19)

The integrated circuit of claim 19, wherein the inline horizontal error detection circuitry comprises inline horizontal parity generation circuitry composed of a plurality of horizontal combinational logic gates configured to use the horizontal data word as input; and wherein the inline vertical error detection circuitry comprises inline vertical parity generation circuitry composed of a plurality of vertical combinational logic gates configured to use the vertical data word as input.
