# US 2024/0322843 A1 · Determining berlekamp discrepancy values

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

- Number: US 2024/0322843 A1
- Document ID: US20240322843A1
- Status: Published application
- Kind: A1
- Application number: 18/611,441
- Filed: 2024-03-20
- Published: 2024-09-26
- Earliest claimed: 2023-03-20
- Assignees: Microchip Technology Incorporated
- Applicants: Microchip Technology Incorporated
- Inventors: Diego Felipe Gomes Coelho; Peter Graumann
- Web page: https://patentgrep.com/patent/US20240322843A1

## CPC

- H03M 13/1525: {Determination and particular use of error location polynomials}
- H03M 13/153: {using the Berlekamp-Massey algorithm}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/6502: {Reduction of hardware complexity or efficient processing}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method may include generating a first computational circuit of a current iteration of a Berlekamp algorithm, the first computational circuit to determine a Berlekamp discrepancy value at least partially based on a current Error-Locator Polynomial (ELP) and observed syndromes; and generating a second computational circuit of the current iteration of the Berlekamp algorithm, the second computational circuit to determine an intermediate value, the intermediate value useable by one or more first computational circuits of one or more subsequent iterations of the Berlekamp algorithm to determine Berlekamp discrepancy values.

## Claims

### Claim 1

An apparatus, comprising:
a memory;
a pool of hardware resources;
a fabric; and
a discrepancy determination control logic to generate computational circuits from multipliers and adders of the pool of hardware resources, including:
a first computational circuit of a current iteration of a Berlekamp algorithm, the first computational circuit to determine a Berlekamp discrepancy value at least partially based on a current Error-Locator Polynomial (ELP) and observed syndromes respectively stored at the memory; and
a second computational circuit of the current iteration of the Berlekamp algorithm, the second computational circuit to determine an intermediate value useable by one or more first computational circuits of one or more subsequent iterations of the Berlekamp algorithm to determine Berlekamp discrepancy values.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the discrepancy determination control logic to implement, via the first computational circuit, an expression to determine the Berlekamp discrepancy value based on sub-polynomials, the sub-polynomials derived, at least partially based on Winograd's algorithm, from respective polynomials of the observed syndromes and the current ELP.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the discrepancy determination control logic to implement, via the second computational circuit, a portion of an expression to determine a Berlekamp discrepancy value based on sub-polynomials of a subsequent iteration of the Berlekamp algorithm.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the computational circuits generated by the discrepancy determination control logic are at least partially based on Winograd's algorithm for vector inner products.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the respective configurations of the computational circuits generated by the discrepancy determination control logic are iteration-dependent.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the discrepancy determination control logic to assign hardware resources to configure the first computational circuit of the current iteration, the assigned hardware resources comprising one or more of multipliers and adders of the pool of hardware resources.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the discrepancy determination control logic to assign further hardware resources to configure the second computational circuit of the current iteration, the assigned hardware resources comprising one or more of multipliers or adders of the pool of hardware resources.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the second computational circuit implements a repeated sub-expression in Berlekamp discrepancy determinations for multiple iterations of the Berlekamp algorithm.

### Claim 9

A method comprising:
generating a first computational circuit of a current iteration of a Berlekamp algorithm, the first computational circuit to determine a Berlekamp discrepancy value at least partially based on a current Error-Locator Polynomial (ELP) and observed syndromes; and
generating a second computational circuit of the current iteration of the Berlekamp algorithm, the second computational circuit to determine an intermediate value, the intermediate value useable by one or more first computational circuits of one or more subsequent iterations of the Berlekamp algorithm to determine Berlekamp discrepancy values.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first computational circuit of the current iteration of the Berlekamp algorithm to determine the Berlekamp discrepancy value at least partially further based on an intermediate value determined by a second computational circuit of a previous iteration of the Berlekamp algorithm, wherein the previous iteration of the Berlekamp algorithm occurred before the current iteration of the Berlekamp algorithm.

### Claim 11 (depends on 9)

The method of claim 9, comprising implementing, by the first computational circuit of the current iteration of the Berlekamp algorithm, an expression to determine the Berlekamp discrepancy value based on sub-polynomials, the sub-polynomials derived, at least partially based on Winograd's algorithm, from respective polynomials of the observed syndromes and the current ELP.

### Claim 12 (depends on 11)

The method of claim 11, comprising implementing, by the second computational circuit of the current iteration of the Berlekamp algorithm, a portion of an expression to determine a Berlekamp discrepancy value based on sub-polynomials of a subsequent iteration of the Berlekamp algorithm.

### Claim 13 (depends on 9)

The method of claim 9, wherein generating the first computational circuit of the current iteration of the Berlekamp algorithm comprises:
allocating hardware resources to configure the first computational circuit of the current iteration, the assigned hardware resources comprising one or more of multipliers and adders.

### Claim 14 (depends on 9)

The method of claim 9, wherein generating the second computational circuit of the current iteration of the Berlekamp algorithm comprises:
allocating further hardware resources to configure the second computational circuit of the current iteration, the assigned hardware resources comprising one or more of multipliers or adders.

### Claim 15 (depends on 9)

The method of claim 9, comprising:
generating the Berlekamp discrepancy value via operation of the generated first computational circuit.

### Claim 16

A system, comprising:
an Error-Locator-Polynomial (ELP) determination circuit; and
an early exit logic circuit to set a status signal, the status signal to indicate a status of ELP determination by the ELP determination circuit,
wherein the ELP determination circuit to:
stop ELP determination at least partially responsive to a first value of the status signal; and
continue ELP determination at least partially responsive to a second value of the status signal, wherein the second value different than the first value,
wherein the ELP determination circuit and the early exit logic circuit include respective discrepancy determination circuits to determine Berlekamp discrepancy values for a current iteration of a Berlekamp algorithm at least partially based on respective intermediate values determined during a previous iteration of the Berlekamp algorithm.
