# US 2024/0413840 A1 · Iterative error correction in memory systems

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

- Number: US 2024/0413840 A1
- Document ID: US20240413840A1
- Status: Published application
- Kind: A1
- Application number: 18/609,417
- Filed: 2024-03-19
- Published: 2024-12-12
- Earliest claimed: 2022-01-19
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Marco SFORZIN; DI HSIEN NGU
- Web page: https://patentgrep.com/patent/US20240413840A1

## CPC

- H03M 13/098: {using single parity bit}
- H03M 13/19: Single error correction without using particular properties of the cyclic codes, e.g. Hamming codes, extended or generalised Hamming codes
- 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/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- H03K 19/1737: {using multiplexers (H03K19/1738 takes precedence)}
- H03M 13/1171: {Parity-check or generator matrices with non-binary elements, e.g. for non-binary LDPC codes}
- H03M 13/1174: {Parity-check or generator matrices built from sub-matrices representing known block codes such as, e.g. Hamming codes, e.g. generalized LDPC codes}
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/2927: {Decoding strategies}
- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H03M 13/134: {Non-binary linear block codes not provided for otherwise}
- 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)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A system and method for memory error detection and recovery in a decoding system in CXL components is presented. The method includes receiving, into a first decoder within the decoding system, a memory transfer block (MTB) having data and parity information, and having a vertical portion and a horizontal portion, performing error detection and correction on the vertical portion of the MTB using binary hamming code logic within the first decoder; and upon performing error detection and correction in the first decoder, then forwarding MTB to a second decoder, and performing error detection and correction, via the second decoder, on the horizontal portion of the MTB using a non-binary hamming code logic within the second decoder such that the first and second decoders perform the error detection and correction on the vertical and horizontal portions of the MTB in a serial manner.

## Claims

### Claim 1

A method for memory error detection and recovery in a decoding system, comprising:
receiving, into a first decoder within the decoding system, a memory transfer block (MTB) (i) comprising data and parity information and having (ii) a vertical portion and a horizontal portion;
performing error detection and correction on the vertical portion of the MTB using binary hamming code logic within the first decoder; and
upon performing error detection and correction in the first decoder, then forwarding MTB to a second decoder, and performing error detection and correction, via the second decoder, on the horizontal portion of the MTB using a non-binary hamming code logic within the second decoder;
wherein the first and second decoders perform the error detection and correction on the vertical and horizontal portions of the MTB in a serial manner.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first decoder comprises an error correction code (ECC) decoder and the second decoder comprises a low power chip kill (LPCK) decoder.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
performing, via the second decoder, detection and correction based on use of a non-binary hamming code working on a single beat.

### Claim 4 (depends on 1)

The method of claim 1, further comprising forwarding the MTB directly to a CXL component, bypassing the binary hamming code logic and the non-binary hamming code logic, if the binary hamming code logic and the non-binary hamming code logic each determine, upon receipt of the MTB, that the MTB contains no memory errors.

### Claim 5 (depends on 1)

The method of claim 1, further comprising, upon initial receipt of the MTB, if either the binary hamming code logic or the non-binary hamming code logic determines that the MTB contains one or more initial errors, performs a decoding comprising:
forwarding the MTB to the binary hamming code logic for correction;
outputting a MTB′ from the binary hamming code logic;
forwarding the MTB′ to the non-binary hamming code logic for correction; and
outputting a MTB″ from the non-binary hamming code logic.

### Claim 6 (depends on 5)

The method of claim 5, further comprising, determining, after the MTB is output from the non-binary hamming code logic, if either the binary hamming code logic or the non-binary hamming code logic determines that the MTB still contains a remaining or a new error, performing an iterative decoding comprising:
directing the MTB″ back to the binary hamming code logic for correction;
outputting an MTB″′ from the binary hamming code logic;
forwarding the MTB″′ to the non-binary hamming code logic for correction;
outputting an MTB″″ from the non-binary hamming code logic to a multiplexor; and
outputting the MTB″″ from the multiplexor to a CXL component.

### Claim 7 (depends on 5)

The method of claim 5, wherein if the non-binary hamming code logic and the binary hamming code logic determine that the MTB″ contains no errors, then the MTB″ is output to a multiplexor and output from the multiplexor to a CXL component.

### Claim 8

A non-transitory computer-readable medium storing instructions that, when executed by one or more processors of a computer system, perform a method for memory error detection and recovery in a decoding system, the method comprising:
receiving, into a first decoder within the decoding system, a memory transfer block (MTB) (i) comprising data and parity information and having (ii) a vertical portion and a horizontal portion;
performing error detection and correction on the vertical portion of the MTB using binary hamming code logic within the first decoder; and
upon performing error detection and correction in the first decoder, then forwarding MTB to a second decoder, and performing error detection and correction, via the second decoder, on the horizontal portion of the MTB using a non-binary hamming code logic within the second decoder;
wherein the first and second decoders perform the error detection and correction on the vertical and horizontal portions of the MTB in a serial manner.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the first decoder comprises an error correction code (ECC) decoder and the second decoder comprises a low power chip kill (LPCK) decoder.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the method further comprises:
performing, via the second decoder, detection and correction based on use of a non-binary hamming code working on a single beat.

### Claim 11 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the method further comprises forwarding the MTB directly to a CXL component, bypassing the binary hamming code logic and the non-binary hamming code logic, if the binary hamming code logic and the non-binary hamming code logic each determine, upon receipt of the MTB, that the MTB contains no memory errors.

### Claim 12 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the method further comprises, upon initial receipt of the MTB, if either the binary hamming code logic or the non-binary hamming code logic determines that the MTB contains one or more initial errors, performs a decoding comprising:
forwarding the MTB to the binary hamming code logic for correction;
outputting a MTB′ from the binary hamming code logic;
forwarding the MTB′ to the non-binary hamming code logic for correction; and
outputting a MTB″ from the non-binary hamming code logic.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, the method further comprises, determining, after the MTB is output from the non-binary hamming code logic, if either the binary hamming code logic or the non-binary hamming code logic determines that the MTB still contains a remaining or a new error, performing an iterative decoding comprising:
directing the MTB″ back to the binary hamming code logic for correction;
outputting an MTB″′ from the binary hamming code logic;
forwarding the MTB″′ to the non-binary hamming code logic for correction;
outputting an MTB″″ from the non-binary hamming code logic to a multiplexor; and
outputting the MTB″″ from the multiplexor to a CXL component.

### Claim 14 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein if the non-binary hamming code logic and the binary hamming code logic determine that the MTB″ contains no errors, then the MTB″ is output to a multiplexor and output from the multiplexor to a CXL component.

### Claim 15

An apparatus comprising:
a decoding system configured to receive a memory transfer block (MTB) (i) comprising data and parity information and (ii) having a vertical portion and a horizontal portion, the decoding system comprising:
a first decoder including binary hamming code logic configured to perform error detection and correction on the vertical portion of the MTB; and
a second decoder including non-binary hamming code logic configured to perform error detection and correction on the horizontal portion of the MTB;
wherein upon performing error detection and correction in the first decoder on the vertical portion of the MTB, then forwarding MTB to the second decoder, and performing error detection and correction, via the second decoder, on the horizontal portion of the MTB,
wherein the first and second decoders perform the error detection and correction on the vertical and horizontal portions of the MTB in a serial manner.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the binary hamming code logic comprises an error correction coding (ECC) logic and the non-binary hamming code logic comprises a low power chip kill (LPCK) logic.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein if the binary hamming code logic and the non-binary hamming code logic each determine, upon receipt of the MTB, that the MTB contains no memory errors the decoder further comprises a multiplexor that forwards the MTB directly to a CXL component bypassing the binary hamming code logic and the non-binary hamming code logic.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein the MTB further comprises Metadata.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein if either the binary hamming code logic or the non-binary hamming code logic determines, upon receipt of the MTB, that the MTB contains one or more initial errors the MTB is fed forward to the binary hamming code logic, modified by the binary hamming code logic and output as a MTB′,
wherein the MTB′ is fed forward to the non-binary hamming code logic, and modified by the non-binary hamming code logic and output as a MTB″.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein if either the binary hamming code logic or the non-binary hamming code logic determines, after the MTB″ is output from the non-binary hamming code logic, that the MTB″ still contains a remaining or a new error, an iterative decoding is performed by directing the MTB″ back to the binary hamming code logic, modified by the binary hamming code logic and output as a MTB″′, and
wherein the MTB″′ is fed forward to the non-binary hamming code logic, modified and output from the non-binary hamming code logic as a MTB″″ to a multiplexor and output from the multiplexor to a CXL component.
