# US 2020/0402605 A1 · Two-Layer Code with Low Parity Cost for Memory Sub-Systems

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

- Number: US 2020/0402605 A1
- Document ID: US20200402605A1
- Status: Published application
- Kind: A1
- Application number: 16/883,839
- Filed: 2020-05-26
- Published: 2020-12-24
- Earliest claimed: 2019-06-21
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Sanjay Subbarao; James Fitzpatrick
- Web page: https://patentgrep.com/patent/US20200402605A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- G11C 11/5635: {Erasing circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 29/44: Indication or identification of errors, e.g. for repair
- H03M 13/1105: {Decoding}
- G11C 2029/0409: {Online test}
- G11C 2029/0411: {Online error correction}
- G11C 2211/561: Multilevel memory cell aspects
- G11C 2211/5641: Multilevel memory having cells with different number of storage levels
- H03M 13/098: {using single parity bit}
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- 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

A memory sub-system configured to encode data using an error correcting code and an erasure code for storing data into memory cells and to decode data retrieved from the memory cells. For example, the data units of a predetermined size are separately encoded using the error correcting code (e.g., a low-density parity-check (LDPC) code) to generate parity data of a first layer. Symbols within the data units are cross encoded using the erasure code. Parity symbols of a second layer are calculated according to the erasure code. A collection of parity symbols having a total size equal to the predetermined size can be further encoded using the error correcting code to generate parity data for the parity symbols.

## Claims

### Claim 1

A method, comprising:
splitting data received from a host system into data units according to a predetermined size of payload for an error correcting code;
encoding each respective data unit of the size of payload using the error correcting code to generate parity data of a first layer;
encoding symbols within the data units using an erasure code;
calculating parity symbols of a second layer according to the erasure code; and
encoding the parity symbols using the error correcting code to generate parity data for the parity symbols.

### Claim 2 (depends on 1)

The method of claim 1, wherein the error correcting code is a low-density parity-check (LDPC) code.

### Claim 3 (depends on 2)

The method of claim 2, wherein the parity symbols are grouped according to the predetermined size of payload for encoding using the error correcting code to generate the parity data for the parity symbols.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
storing the symbols of the data units, the parity data of the first layer, the parity symbols, and the parity data for the parity symbols in separate planes in one or more integrated circuit dies.

### Claim 5 (depends on 4)

The method of claim 4, wherein among the parity symbols each respective parity symbol stored in a plane is generated based on a portion of the symbols of the data units that is stored in a plane that does not store the respective parity symbol.

### Claim 6 (depends on 5)

The method of claim 5, wherein the portion of the symbols of the data units and the parity symbols are stored in the separate planes using a multi-pass programming operation.

### Claim 7 (depends on 6)

The method of claim 6, wherein the multi-pass programming operation includes a first pass programming of a first page on a first plane and a second pass programming of a second page on a second plane.

### Claim 8 (depends on 6)

The method of claim 6, wherein the separate planes are programmed via in different modes.

### Claim 9 (depends on 8)

The method of claim 8, wherein the different modes include a first mode and a second mode; and the first mode and the second mode are different ones of:
a single level cell (SLC) mode;
a multi-level cell (MLC) mode;
a triple level cell (TLC) mode; and
a quad-level cell (QLC) mode.

### Claim 10

A non-transitory computer storage medium storing instructions which, when executed in a memory sub-system, causes the memory sub-system to perform a method, the method comprising:
decoding data retrieved from memory cells based on an error correcting code;
determining that the decoding is not successful;
identifying first symbols that cannot be successfully decoded via the error correcting code;
generating, based on an erasure code, second symbols as replacement of the first symbols; and
decoding the second symbols based on the error correcting code.

### Claim 11 (depends on 10)

The non-transitory computer storage medium of claim 10, wherein the method further comprises repeating operations of:
identifying third symbols that cannot be successfully decoded via the error correcting code;
generating, based on the erasure code, replacement symbols of replacement of the third symbols; and
decoding, based on the error correcting code, the replacement symbols.

### Claim 12 (depends on 11)

The non-transitory computer storage medium of claim 11, wherein the error correcting code includes a low-density parity-check (LDPC) code.

### Claim 13 (depends on 12)

The non-transitory computer storage medium of claim 12, wherein the method further comprising:
retrieving the data from the memory cells in a multi-plane page programmed using a multi-pass programming operation.

### Claim 14 (depends on 13)

The non-transitory computer storage medium of claim 13, wherein the multi-plane page includes first data programmed on a first plane and second data programmed on a second plane.

### Claim 15 (depends on 14)

The non-transitory computer storage medium of claim 14, wherein the first data is programmed in a first mode; and the second data is programmed in a second mode.

### Claim 16 (depends on 15)

The non-transitory computer storage medium of claim 15, wherein the first mode and the second mode are different ones of:
a mode of storing one bit in each memory cell;
a mode of storing two bits in each memory cell;
a mode of storing three bits in each memory cell; and
a mode of storing four bits in each memory cell.

### Claim 17 (depends on 15)

The non-transitory computer storage medium of claim 15, wherein the second data includes parity symbols generated based on symbols in the first data.

### Claim 18

A memory sub-system, comprising:
a plurality of integrated circuit dies having memory cells;
at least one processing device configured to:
split data received from a host system into data units according to a predetermined size of payload for an error correcting code;
encode each respective data unit of the size of payload using the error correcting code to generate parity data of a first layer;
encode symbols within the data units using an erasure code;
calculate parity symbols of a second layer according to the erasure code; and
encode the parity symbols using the error correcting code to generate parity data for the parity symbols.

### Claim 19 (depends on 18)

The memory sub-system of claim 18, wherein the at least one processing device configured to:
program, using a multi-pass programming technique, the symbols of the data units of the first layer, the parity symbols, and the parity data for the parity symbols in at least two planes in one or more of the integrated circuit dies;
wherein the parity symbols are programmed in a first plane; and
wherein the parity symbols are generated based at least in part on a portion of the symbols of the data units that is programmed in a second plane different from the first plane.

### Claim 20 (depends on 19)

The memory sub-system of claim 19, wherein the at least one processing device configured to:
retrieving data from memory cells which store the symbols of the data units of the first layer, the parity symbols, and the parity data for the parity symbol;
decoding the retrieved data based on the error correcting code;
determining that the decoding is not successful;
identifying first symbols that cannot be successfully decoded via the error correcting code;
generating, based on the erasure code, second symbols as replacement of the first symbols; and
decoding the second symbols based on the error correcting code.
