# US 8,578,251 B1 · Power saving area-efficient hybrid BCH coding system

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

- Number: US 8,578,251 B1
- Document ID: US8578251B1
- Status: Granted
- Kind: B1
- Application number: 13/758,664
- Filed: 2013-02-04
- Granted: 2013-11-05
- Earliest claimed: 2007-02-27
- Assignees: Marvell International Ltd.
- Applicants: Marvell International Ltd.
- Inventors: Heng Tang; Gregory Burd; Zining Wu
- Web page: https://patentgrep.com/patent/US8578251B1

## CPC

- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/153: {using the Berlekamp-Massey algorithm}
- H03M 13/1545: {Determination of error locations, e.g. Chien search or other methods or arrangements for the determination of the roots of the error locator polynomial}
- H03M 13/3707: {Adaptive decoding and hybrid decoding, e.g. decoding methods or techniques providing more than one decoding algorithm for one code}
- H03M 13/3738: {with judging correct decoding}
- 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

Power-saving and area-efficient BCH coding systems are provided that employ hybrid decoder architectures. The BCH decoder architectures comprise both special-purpose hardware and firmware, thereby taking advantage of both the speed of special-purpose hardware and the energy-efficiency of firmware. In particular, the error correction capabilities of the BCH decoders provided herein are split between a hardware component designed to correct a single error and a firmware component designed to correct the remaining errors. In this manner, firmware operation is bypassed in situations where only one error is present and the complexity of the necessary hardware is significantly reduced.

## Claims

### Claim 1

A decoder comprising:
first circuitry configured to correct up to one error in a codeword using a first error correcting process;
second circuitry configured to correct errors in the codeword using a second error correcting process; and
selection circuitry configured to:
based on determining that the codeword contains zero errors, decode the codeword with the first circuitry using the first error correcting process;
based on determining that the codeword contains one error, decode the codeword with the first circuitry using the first error correcting process; and
based on determining that the codeword contains more than one error, decode the codeword with the second circuitry using the second error correcting process.

### Claim 2 (depends on 1)

The decoder of claim 1, wherein the first circuitry comprises a first pipeline stage and a second pipeline stage.

### Claim 3 (depends on 2)

The decoder of claim 2, wherein the first pipeline stage comprises:
an error detection component that detects the presence of errors in the codeword; and
a syndrome computation component that computes a first syndrome component of the codeword, wherein the error detection component and the syndrome computation component operate concurrently on the codeword.

### Claim 4 (depends on 3)

The decoder of claim 3, wherein the second pipeline stage comprises a polynomial root computation component that corrects errors in the codeword based on the first syndrome component to produce a corrected codeword.

### Claim 5 (depends on 4)

The decoder of claim 4, wherein the second pipeline stage further comprises an error detection component that detects presence of errors in the corrected codeword.

### Claim 6 (depends on 2)

The decoder of claim 2, wherein the second circuitry comprises:
a syndrome computation component that computes a complete syndrome of the codeword;
an error-locator polynomial computation component that computes an error-locator polynomial of the codeword; and
a polynomial root computation component that computes roots of the error-locator polynomial.

### Claim 7 (depends on 1)

The decoder of claim 1, wherein the first circuitry comprises:
a syndrome computation component that computes a complete syndrome of the codeword;
a single error pattern determination component that determines when up to a single error is present in the codeword; and
a look-up table for decoding the codeword when a single error is present in the codeword and when zero errors are present in the codeword.

### Claim 8

A method of correcting errors in a codeword, the method comprising:
determining whether an error is present in the codeword;
based on determining that zero errors are present in the codeword, decoding the codeword using a first error correcting process for correcting up to one error in the codeword;
based on determining that one error is present in the codeword, decoding one error in the codeword using the first error correcting process for correcting up to one error in the codeword; and
based on determining that more than one error is present in the codeword, decoding the codeword using a second error correcting process.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
computing a complete syndrome of the codeword; and
determining, based on the computed complete syndrome, whether up to one error is present in the codeword.

### Claim 10 (depends on 8)

The method of claim 8, wherein the decoding the codeword using the first error correcting process comprises performing a table-lookup based on the computed complete syndrome, and decoding the codeword based on the performed table-lookup.

### Claim 11 (depends on 8)

The method of claim 8, wherein the second error correcting process comprises:
computing an error-locator polynomial based on the complete syndrome; and
computing roots of the error-locator polynomial to produce a corrected codeword.

### Claim 12

A decoder comprising:
syndrome circuitry configured to compute a first syndrome component of the codeword;
first circuitry configured to decode the codeword using a first error correcting process for correcting up to one error in the codeword to produce a corrected codeword;
detection circuitry configured to detect a presence of errors in the corrected codeword; and
second circuitry configured to decode the corrected codeword using a second error correcting process based on detecting the presence of at least one error in the corrected codeword.

### Claim 13 (depends on 12)

The decoder of claim 12, wherein the first circuitry is configured to decode a single error in the codeword.

### Claim 14 (depends on 12)

The decoder of claim 12, wherein the first circuitry is configured to perform a polynomial root computation based on the first syndrome component.

### Claim 15 (depends on 14)

The decoder of claim 14, wherein the polynomial root computation is performed using a Chien Search algorithm.

### Claim 16 (depends on 12)

The decoder of claim 12, wherein the second circuitry is configured to:
compute a complete syndrome of the codeword;
compute an error-locator polynomial based on the complete syndrome; and
compute roots of the error-locator polynomial to produce a corrected codeword.

### Claim 17

A method of correcting errors in a codeword, the method comprising:
computing a first syndrome component of the codeword;
decoding the codeword using a first error correcting process for correcting up to one error in the codeword to produce a corrected codeword;
detecting a presence of errors in the corrected codeword; and
based on detecting the presence of at least one error in the corrected codeword, decoding at least one error in the corrected codeword using a second error correcting process.

### Claim 18 (depends on 17)

The method of claim 17, wherein decoding the codeword using the first error correcting process comprises comprises decoding a single error.

### Claim 19 (depends on 18)

The method of claim 18, wherein decoding the single error comprises performing a polynomial root computation based on the first syndrome component.

### Claim 20 (depends on 19)

The method of claim 19, wherein the polynomial root computation is performed using a Chien Search algorithm.

### Claim 21 (depends on 17)

The method of claim 17, wherein decoding at least one error in the correct codeword comprises:
computing a complete syndrome of the codeword;
computing an error-locator polynomial based on the complete syndrome; and
computing roots of the error-locator polynomial to produce a corrected codeword.
