# US 2015/0149857 A1 · Error correction in memory

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

- Number: US 2015/0149857 A1
- Document ID: US20150149857A1
- Status: Published application
- Kind: A1
- Application number: 14/091,757
- Filed: 2013-11-27
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Ravi H. Motwani; Kiran Pangal
- Web page: https://patentgrep.com/patent/US20150149857A1

## CPC

- G06F 11/1008: {in individual solid state devices (G06F11/1004 takes precedence)}
- 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/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- H03M 13/05: using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits {(H03M13/2906 takes precedence)}
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/23: using convolutional codes, e.g. unit memory codes
- H03M 13/2957: {Turbo codes and decoding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Apparatus, systems, and methods for error correction in memory are described. In one embodiment, a controller comprises logic to receive a read request from a host device for data stored in a memory, retrieve the data and an associated error correction codeword, send the data to a host device, apply an error correction routine to decode the error correction codeword retrieved with the data, and in response to an error in the error correction codeword, send a location of data associated with the error to the host device. Other embodiments are also disclosed and claimed.

## Claims

### Claim 1

A memory, comprising:
a memory device; and
a controller coupled to the memory device and comprising logic to:
receive a read request from a host device for data stored in a memory;
retrieve the data and an associated error correction codeword;
send the data to a host device;
apply an error correction routine to decode the error correction codeword retrieved with the data; and
in response to an error in the error correction codeword, send a location of data associated with the error to the host device.

### Claim 2 (depends on 1)

The memory of claim 1, wherein:
the error correction codeword is a Bose-Chaudhuri-Hocquenghem (BCH) error correction code; and
the ECC routine comprises performing a bitwise XOR of the data retrieved from memory.

### Claim 3 (depends on 1)

The memory of claim 1, wherein the data is sent to the host device before the error correction routine is applied to the codeword.

### Claim 4 (depends on 3)

The memory of claim 3, wherein the controller further comprises logic to:
send a clear signal to the host device when the error correction routine indicates that there are no errors in the data.

### Claim 5

An electronic device, comprising:
a processor; and
a memory, comprising:
a memory device; and
a controller coupled to the memory device and comprising logic to:
receive a read request from a host device for data stored in a memory;
retrieve the data and an associated error correction codeword;
send the data to a host device;
apply an error correction routine to decode the error correction codeword retrieved with the data; and
in response to an error in the error correction codeword, send a location of data associated with the error to the host device.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein:
the error correction codeword is a Bose-Chaudhuri-Hocquenghem (BCH) error correction code; and
the ECC routing comprises performing a bitwise XOR of the data retrieved from memory.

### Claim 7 (depends on 5)

The electronic device of claim 5, wherein the data is sent to the host device before the error correction routine is applied to the codeword.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein the controller further comprises logic to:
send a clear signal to the host device when the error correction routine indicates that there are no errors in the data.

### Claim 9 (depends on 5)

The electronic device of claim 5, further comprising a memory controller coupled to the processor and comprising logic to:
receive data from the controller;
receive a clear signal from the controller, and in response to the clear signal, to return the data to a requestor.

### Claim 10 (depends on 5)

The electronic device of claim 5, further comprising a memory controller coupled to the processor and comprising logic to:
receive data from the controller;
receive a error location from the controller, and in response to the error location, to flip a bit value at the error location.

### Claim 11

A method, comprising:
receiving, in a controller, a read request for data stored in a memory;
retrieving the data and an associated error correction codeword from the memory;
sending the data to a host device;
applying an error correction routine to decode the error correction codeword retrieved with the data; and
in response to an error in the error correction codeword, sending a location of data associated with the error to the host device.

### Claim 12 (depends on 11)

The method of claim 11, wherein:
the error correction codeword is a Bose-Chaudhuri-Hocquenghem (BCH) error correction code; and
the ECC routine comprises performing a bitwise XOR of the data retrieved from memory.

### Claim 13 (depends on 11)

The method of claim 11, wherein the data is sent to the host device before the error correction routine is applied to the codeword.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
sending a clear signal to the host device when the error correction routine indicates that there are no errors in the data.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
receiving, in a memory controller, data from the controller;
receiving, in the memory controller, a clear signal from the controller, and in response to the clear signal, returning the data to a requestor.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
receiving, in a memory controller, data from the controller;
receiving, in the memory controller, an error location from the controller, and in response to the error location, flipping a bit value at the error location.

### Claim 17

A memory, comprising:
a memory device; and
a controller coupled to the memory device and comprising logic to:
receive a read request from a host device for data stored in a memory, wherein the data is stored in a plurality of chunks, and each chunk has an associated error correction code;
retrieve at least one chunk and an associated error correction codeword;
send the chunk to a host device;
apply an error correction routine to decode the error correction codeword retrieved with the chunk; and
in response to an error in the error correction codeword, send a location of data associated with the error to the host device.

### Claim 18 (depends on 17)

The memory of claim 17, wherein:
the error correction codeword is a Bose-Chaudhuri-Hocquenghem (BCH) error correction code; and
the ECC routine comprises performing a bitwise XOR of the data retrieved from memory.

### Claim 19 (depends on 17)

The memory of claim 17, wherein the chunk is sent to the host device before the error correction routine is applied to the codeword.

### Claim 20 (depends on 19)

The memory of claim 19, wherein the data is stored with an associated block error correction code the controller further comprises logic to:
send a clear signal to the host device when the error correction routine indicates that there are no errors in the data.

### Claim 21 (depends on 19)

The memory of claim 19, wherein the data is stored with an associated block error correction code the controller further comprises logic to:
re-send a data chunk to the host device when the error correction routine indicates that there are errors in the data chunk.
