# US 2021/0288672 A1 · Systems and methods for interleaved hamming encoding and decoding

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

- Number: US 2021/0288672 A1
- Document ID: US20210288672A1
- Status: Published application
- Kind: A1
- Application number: 16/818,864
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Inphi Corporation
- Applicants: Inphi Corporation
- Inventors: Benjamin SMITH; Volodymyr SHVYDUN; Jamal RIANI; ILya LYUBOMIRSKY
- Web page: https://patentgrep.com/patent/US20210288672A1

## CPC

- H03M 13/253: {with concatenated codes}
- H03M 13/2792: {Interleaver wherein interleaving is performed jointly with another technique such as puncturing, multiplexing or routing}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/2732: {Convolutional interleaver; Interleavers using shift-registers or delay lines like, e.g. Ramsey type interleaver}
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/19: Single error correction without using particular properties of the cyclic codes, e.g. Hamming codes, extended or generalised Hamming codes
- 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

The present invention is directed to data communication and encoding techniques. More specifically, an embodiment of the present invention provides a communication device that aligns a data stream with RS symbols. An interleaver interleaves RS symbols to generate an interleaved RS symbol data stream. Hamming parity blocks are generated for corresponding groups of RS symbols and inserted into the interleaved RS symbol data stream. There are other embodiments as well.

## Claims

### Claim 1

A communication device comprising:
an m number of communication lanes including a first communication lane configured to receive a first encoded data stream;
a first alignment module configured to align the first encoded data stream to output aligned Reed-Solomon (RS) symbols;
a convolutional interleaver configured to interleave the aligned RS symbols into RS symbol sections, each of RS symbol sections consisting of n RS symbols;
an encoder configured to generate Hamming parity blocks corresponding to the RS symbol sections and to output a first Hamming encoded data stream; and
a distribution block for distributing m Hamming encoded data streams to k physical channels, the m Hamming encoded data streams including the first Hamming encoded data stream.

### Claim 2 (depends on 1)

The device of claim 1 wherein the first encoded data stream comprises alignment markers.

### Claim 3 (depends on 1)

The device of claim 1 further comprising a mapper for mapping the m Hamming encoded data streams to PAM4 format, each of the m encoded data streams corresponds to a distinct 25G FEC data stream.

### Claim 4 (depends on 1)

The device of claim 1 wherein each of the RS symbol consists of 10 bits.

### Claim 5 (depends on 4)

The device of claim 4 wherein each of the RS symbol sections consists of 12 RS symbols.

### Claim 6 (depends on 5)

The device of claim 5 wherein the first encoded data stream is two-way RS codeword interleaved, n=12, the convolutional interleaver being configured to perform six-way interleaving, the 12 RS symbols in a Hamming codeword being from 12 distinct RS codewords, the Hamming codeword comprising the 12 RS symbols and a Hamming parity block.

### Claim 7 (depends on 1)

The device of claim 1 wherein the m Hamming encoded data streams are associated with independent alignments.

### Claim 8 (depends on 1)

The device of claim 1 wherein the m Hamming encoded data streams are distributed according to a round-robin scheme.

### Claim 9 (depends on 1)

The device of claim 1 wherein the convolutional interleaver comprises n or n/2 delay lines.

### Claim 10 (depends on 1)

The device of claim 1 further comprising m alignment modules, the m alignment modules including the first alignment module.

### Claim 11 (depends on 1)

The device of claim 1 wherein the convolutional interleaver is configured to perform 12-way interleaving, wherein n=12.

### Claim 12

A method for encoding a data stream, the method comprising:
receiving a first encoded data stream, the first encoded data stream comprising a plurality of Reed-Solomon (RS) symbols;
aligning the first encoded data stream based on boundaries of RS symbols to generate a first aligned RS symbol stream;
interleaving the first aligned RS symbol stream into RS symbol sections, each of the RS symbol sections consisting of n RS symbols;
performing inner FEC encoding on the first aligned RS symbol stream to generate a first inner FEC encoded stream, the first inner FEC encoded stream including inner FEC blocks corresponding to RS symbol sections; and
distributing m inner FEC encoded streams to k physical channels, the m inner FEC encoded data streams including the first inner FEC encoded stream.

### Claim 13 (depends on 12)

The method of claim 12 wherein the inner FEC encoding comprises Hamming encoding.

### Claim 14 (depends on 12)

The method of claim 12 wherein the inner FEC encoding comprises BCH encoding.

### Claim 15 (depends on 13)

The method of claim 13 wherein the BCH encoding is characterized by a payload of n*10 bits.

### Claim 16 (depends on 12)

The method of claim 12 further comprising mapping the m inner FEC encoded streams to PAM4 format.

### Claim 17 (depends on 12)

The method of claim 12 wherein the interleaving comprises convolutional interleaving.

### Claim 18

A method for decoding a data stream with data blocks and interleaved Hamming codewords, the method comprising:
receiving a hard decoding input and reliability information associated for each bits of the hard decoding input;
calculating a syndrome portion and a parity check bit for each of the Hamming codewords in a Hamming decoding process;
providing an odd error correction map and an even error correction map;
selecting between the odd error correction and the even error correction map based on the parity bit;
flipping one or more bits from the hard decoding input and using a selected error correction map and a value of the syndrome portion to determine a candidate codeword; and
decoding a codeword using at least the candidate codeword.

### Claim 19 (depends on 18)

The device of claim 18 wherein:
a position of bits flipped prior to decoding correspond to different combinations of a least reliable received bits;
the reliability information is expressed as log-likelihood ratios, the decoding codeword being the candidate codeword with a smallest LLR magnitude in a position inverted relative to the hard decoding input.

### Claim 20 (depends on 18)

The device of claim 18 further comprising:
sending successfully flipped bits from a Reed-Solomon hard-decision decoding process to a Hamming soft decoder;
updating a reliability indication of the flipped bits; and
repeating the Hamming decoding process, followed by a final Reed-Solomon decoding process.
