# US 2023/0274787 A1 · Method to increase the usable word width of a memory providing an error correction scheme

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

- Number: US 2023/0274787 A1
- Document ID: US20230274787A1
- Status: Published application
- Kind: A1
- Application number: 18/313,669
- Filed: 2023-05-08
- Published: 2023-08-31
- Earliest claimed: 2021-09-17
- Assignees: NXP B.V.
- Applicants: NXP B.V.
- Inventors: Soenke Ostertun; Björn Fay; Vitaly Ocheretny
- Web page: https://patentgrep.com/patent/US20230274787A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/1056: {Updating check bits on partial write, i.e. read/modify/write}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1096: {Parity calculation or recalculation after configuration or reconfiguration of the system}
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/2942: {wherein a block of parity bits is computed only from combined information bits or only from parity bits, e.g. a second block of parity bits is computed from a first block of parity bits obtained by systematic encoding of a block of information bits, or a block of parity bits is obtained by an XOR combination of sub-blocks of information bits}
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various embodiments relate to a method for storing and reading data from a memory. Data words stored in the memory may be grouped, and word specific parity information and shared parity information is generated, and the shared parity information is distributed among the group of words. During reading of a word, if more errors are detected than can be corrected with word parity data, the shared parity data is retrieved and used to make the error corrections.

## Claims

### Claim 1

A method for storing data in a memory, comprising:
for each of group of G data words, where G is an integer:
determining parity information that may be used to detect up to 2 t bit errors in the data word and correct up to t bit errors in the data word, where t is an integer; and
splitting the parity information into word parity information and split parity information, wherein the word parity information may be used to detect or detect and correct errors in the data word;
combining the split parity information of each of the G data words into combined parity information;
distributing the combined parity information into G sets of distributed parity bits;
associating each of the G sets of distributed parity bits with a different one of data words of the group of G data words; and
storing each of the G data words along with its related word parity information and distributed parity bits.

### Claim 2 (depends on 1)

The method of claim 1, wherein word parity information includes an error detection bit and error correction bits.

### Claim 3 (depends on 1)

The method of claim 1, wherein combining the split parity information for each of the G data words into combined parity information includes XORing the split parity information for each of the G data words.

### Claim 4

A method for storing data in a memory that stores a group of G data words with w data-bits per data word, comprising:
generating a first generator polynomial g(x);
for each of the plurality of G data words:
generating the first parity bits of the data word, wherein the first parity bits are the coefficients of a polynomial p(x) and wherein the polynomial is based upon a polynomial a(x) and the polynomial g(x), wherein a(x) is a binary polynomial with the coefficients being the data bits of the data word;
generating first split parity bits of the data word based upon p(x); and generating second split parity bits of the data word based upon the first parity bits and p(x);
combining the second parity bits for each word into Q;
distributing the bits of Q among the G data words; and
storing the G data words in the memory, wherein each data word includes a(x), first parity bits, and distributed bits of Q.

### Claim 5 (depends on 4)

The method of claim 4, further comprising
encoding Q into additional parity bits P; and
distributing the bits of P among the G data words,
wherein storing the G data words in the memory, includes the distributed bits of P.

### Claim 6 (depends on 5)

The method of claim 5, further comprising determining a parity bit B for Q and P, where B is distributed with the bits of Q and P among the G data words.

### Claim 7 (depends on 4)

The method of claim 4, further comprising determining extra parity information for each of the G data words based upon the data word and its associated parity information and wherein storing the G data words in the memory includes storing the extra parity information with the respective data word.

### Claim 8 (depends on 4)

The method of claim 4, wherein
g
x
=
lcm
m
1
x
,
…
,
m
δ
−
1
x
,
where mi is the minimal polynomial of αi and α a primitive element in GF(2m), δ = 2 • t + 1, and t is the maximum number of correctable bit-errors in the group of G words, where GF(2m) is a finite field with 2m elements where m is an integer.

### Claim 9 (depends on 8)

The method of claim 8, wherein
p
x
=
a
x
⋅
x
n
−
k
mod
g
x
,
where n is the code length and k is n minus the degree of the polynomial g(x).

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
generating a second generator polynomial g′ (x) that is based upon the first generator polynomial g(x) with a lesser degree;
wherein generating first split parity bits p′ (x) of the data word is further based upon g′(x)
wherein generating second split parity bits q (x) of the data word is further based upon g′(x).

### Claim 11 (depends on 10)

The method of claim 10, wherein
p
′
x
=
p
x
mod
g
′
x
=
a
x
⋅
x
n
−
k
mod
g
′
x
,
where
g
′
x
=
lcm
m
1
x
,
…
,
m
δ
′
−
1
x
,
where
δ
′
=
2
⋅
t
′
+
1
and
t
′
≥
t
/
2
.

### Claim 12 (depends on 11)

The method of claim 11, wherein
q
x
=
p
x
−
p
′
x
/
g
′
x
.

### Claim 13 (depends on 12)

The method of claim 12, wherein combining q(x) for each word into Q includes XORing q(x) for each word into Q.

### Claim 14 (depends on 4)

The method of claim 4, further comprising:
generating a second generator polynomial g′(x) that is based upon the first generator polynomial g(x) with a lesser degree;
wherein generating first split parity bits p′(x) of the data word is calculated as
p
′
x
=
p
H
x
⋅
x
u
m
o
d
g
′
x
+
p
L
x
,
where
p
x
=
p
H
x
⋅
x
u
+
p
L
x
,
with
u
=
deg
g
′
,
and
wherein the second split parity bits are pH(x).

### Claim 15 (depends on 4)

The method of claim 4, wherein when t′ = 1, the first split parity bits result in a Hamming code if only one of the first split parity bits and the second split parity bits are available, where t′ is the maximum number of errors that may be corrected by only using the first split parity bits.

### Claim at position 16

16-25. (canceled)
