# US 2022/0294472 A1 · Low density parity check decoder

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

- Number: US 2022/0294472 A1
- Document ID: US20220294472A1
- Status: Published application
- Kind: A1
- Application number: 17/744,576
- Filed: 2022-05-13
- Published: 2022-09-15
- Earliest claimed: 2007-05-01
- Assignees: The Texas A&M University System
- Applicants: The Texas A&M University System
- Inventors: Kiran Kumar GUNNAM; Gwan S. CHOI
- Web page: https://patentgrep.com/patent/US20220294472A1

## CPC

- H03M 13/1128: {Judging correct decoding and iterative stopping criteria other than syndrome check and upper limit for decoding iterations}
- H03M 13/1105: {Decoding}
- H03M 13/116: {Quasi-cyclic LDPC [QC-LDPC] codes, i.e. the parity-check matrix being composed of permutation or circulant sub-matrices}
- H03M 13/1177: {Regular LDPC codes with parity-check matrices wherein all rows and columns have the same row weight and column weight, respectively}
- H03M 13/13: Linear codes
- H03M 13/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- 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 method and system for decoding low density parity check (“LDPC”) codes. An LDPC code decoder includes LDPC decoding circuitry comprising a Q message generator and a P sum adder array. The Q message generator combines an R message from a previous iteration with a P message to produce a Q message. The P sum adder array adds the P message to a difference of an R message from a current iteration and the R message from the previous iteration to produce an updated P message.

## Claims

### Claim 1

A method for decoding a low density parity check (LDPC) code, comprising:
routing, by circuitry and to a Q message generator:
a P message generated for a layer of an LDPC parity check matrix processed prior to a most recently processed layer of the LDPC parity check matrix for use with a first block of a currently processed layer of the LDPC parity check matrix,
wherein the first block is dependent on a result of the most recently processed layer that is unavailable at a time that the first block is being processed,
wherein the circuitry comprises an array of final state register banks, each bank comprising a plurality of registers for storing final state data for a layer of the LDPC parity check matrix.

### Claim 2 (depends on 1)

The method of claim 1, further comprising the circuitry routing, to the Q message generator:
a P message generated for a second block of the LDPC parity check matrix for use with a third block of the currently processed layer of the LDPC parity check matrix;
wherein the third block is dependent on a result of the second block that is available at a time that the third block is being processed; and
the third block and the second block are in a same block column.

### Claim 3 (depends on 1)

The method of claim 1, further comprising the circuitry selecting one of an updated P message and a channel log-likelihood ratio (LLR) for storage in a P memory, wherein the channel LLR is selected to initialize decoding.

### Claim 4 (depends on 1)

The method of claim 1, wherein the circuitry comprises a P sum adder, and further comprising the P sum adder adding a P message read from a P memory to a difference of an R message from a current iteration and an R message from the previous iteration to produce an updated P message.

### Claim 5 (depends on 1)

The method of claim 1, wherein the circuitry comprises a control unit, and further comprising the control unit controlling the operation of the decoder and the circuitry decoding multiple code rates by changing LDPC code parameters stored in the control unit.

### Claim 6 (depends on 5)

The method of claim 5, further comprising the control unit scheduling no processing of zero blocks of the LDPC parity check matrix.

### Claim 7 (depends on 5)

The method of claim 5, further comprising the control unit causing the circuitry to update the P message based on a determination of a final state for each layer.

### Claim 8 (depends on 1)

The method of claim 1, wherein the circuitry further comprises a multiplexer, and further comprising the multiplexer selecting one of a channel log-likelihood ratio (LLR) value and an updated P message to input to a permuter, and further comprising the multiplexer selecting the channel LLR value to initialize the decoder.

### Claim 9 (depends on 1)

The method of claim 1, wherein the circuitry further comprises a Q message memory and a multiplexer, and further comprising the multiplexer selecting one of a channel log-likelihood ratio (LLR) values and a Q message to input to the Q message memory, and further comprising the multiplexer selecting the channel LLR value to initialize the decoder.

### Claim 10 (depends on 1)

The method of claim 1, further comprising the circuitry selecting an R message from a plurality of previously generated possible R messages based on at least a message index value.

### Claim 11

A method for decoding a low density parity check (LDPC) code, comprising:
routing, by circuitry and to a Q message generator:
a P message generated for a first non-zero block of an LDPC matrix for use with a second non-zero block of the LDPC matrix based on a P message from a third non-zero block being unavailable at a time that the second non-zero block is being processed,
wherein the first non-zero block, the second non-zero block and the third non-zero block are in a same block column of the LDPC matrix, and the third non-zero block is an only non-zero block between the first non-zero block and the second non-zero block in the block column;
selecting, by the circuitry, one of an updated P message and a channel log-likelihood ratio (LLR) for storage in a P memory; and
selecting, by the circuitry, the channel LLR to initialize decoding.

### Claim 12 (depends on 11)

The method of claim 11, further comprising the circuitry routing, to the Q message generator:
a P message generated for a fourth non-zero block of the LDPC matrix for use with a fifth non-zero block of the LDPC matrix based on a P message from the fourth non-zero block being available at a time that the fifth non-zero block is being processed; and
wherein the fourth non-zero block and fifth non-zero block are in a same block column, and there is no non-zero block between the fourth non-zero block and the fifth non-zero block in the block column.

### Claim 13 (depends on 11)

The method of claim 11, further comprising the circuitry routing, to the Q message generator:
a P message generated for the third non-zero block of the LDPC matrix for use with the second non-zero block of the LDPC matrix based on the P message from the third non-zero block being available at a time that the second non-zero block is being processed.

### Claim 14 (depends on 11)

The method of claim 11, wherein the circuitry further comprises a P sum adder, and further comprising the P sum adder adding a P message read from a P memory to a difference of an R message from a current iteration and an R message from the previous iteration to produce the updated P message.

### Claim 15 (depends on 11)

The method of claim 11, further comprising the circuitry selecting an R message from a plurality of previously generated possible R messages based on at least a message index value.

### Claim 16 (depends on 11)

The method of claim 11, wherein the circuitry comprises an array of final state register banks, each bank comprising a plurality of registers storing final state data for a layer of the LDPC matrix.

### Claim 17 (depends on 11)

The method of claim 11, wherein the circuitry further comprises a control unit, and further comprising the control unit controlling the operation of the decoder, and further comprising the circuitry decoding multiple code rates by changing LDPC code parameters stored in the control unit.

### Claim 18 (depends on 17)

The method of claim 17, further comprising the control unit scheduling no processing of zero blocks of the LDPC matrix.

### Claim 19 (depends on 17)

The method of claim 17, further comprising the control unit causing the circuitry to update the P message based on a determination of a final state for each layer.

### Claim 20 (depends on 11)

The method of claim 11, wherein the circuitry further comprises a multiplexer, and further comprising the multiplexer selecting one of a channel log-likelihood ratio (LLR) value and a P message to input to a permuter, and further comprising the multiplexer selecting the channel LLR value to initialize the decoder.

### Claim 21 (depends on 11)

The method of claim 11, wherein the circuitry further comprises a Q message memory and a multiplexer, and further comprising the multiplexer selecting one of a channel log-likelihood ratio (LLR) value and a Q message to input to the Q message memory, and further comprising the multiplexer selecting the channel LLR value to initialize the decoder.

### Claim 22

A method for decoding a low density parity check (LDPC) code, comprising:
selectably processing, by an array of reconfigurable minimum finder units in LDPC decoding circuitry, a first plurality (K1) of edges of a first plurality (M1) of check nodes of a first LDPC matrix,
selectably processing, by the array, a second plurality (K2) of edges of a second plurality (M2) of check nodes of a second LDPC matrix, wherein K1 is less than K2, M1 is greater than M2, and a product of K1 and M1 is equal to a product of K2 and M2; and
storing, by a plurality of registers in each bank of an array of final state register banks in the circuitry, final state data for a layer of one of the first LDPC matrix and the second LDPC matrix.

### Claim 23 (depends on 22)

The method of claim 22, wherein the first LDPC matrix and the second LDPC matrix are the same.

### Claim 24 (depends on 22)

The method of claim 22, wherein the circuitry comprises a P memory, and further comprising the circuitry selecting one of an updated P message and a channel log-likelihood ratio (LLR) for storage in the P memory, and further comprising the circuitry selecting the channel LLR to initialize decoding.

### Claim 25 (depends on 22)

The method of claim 22, further comprising the circuitry selecting an R message from a plurality of previously generated possible R messages based on at least a message index value.

### Claim 26 (depends on 22)

The method of claim 22, wherein the circuitry further comprises a control unit, and further comprising the control unit controlling the operation of the decoder, and further comprising the circuitry decoding multiple code rates by changing LDPC code parameters stored in the control unit.

### Claim 27 (depends on 26)

The method of claim 26, further comprising the control unit scheduling no processing of zero blocks of an LDPC parity check matrix.

### Claim 28 (depends on 26)

The method of claim 26, further comprising the control unit causing the circuitry to update a P message based on a determination of a final state for each layer.

### Claim 29 (depends on 22)

The method of claim 22, wherein the circuitry further comprises a permuter and a multiplexer, and further comprising the multiplexer selecting one of a channel log-likelihood ratio (LLR) value and a P message to input to the permuter, and further comprising the multiplexer selecting the channel LLR value to initialize the decoder.

### Claim 30 (depends on 22)

The method of claim 22, wherein the circuitry further comprises a Q message memory and a multiplexer, and further comprising the multiplexer selecting one of a channel log-likelihood ratio (LLR) value and a Q message to input to the Q message memory, and further comprising the multiplexer selecting the channel LLR value to initialize the decoder.
