# US 2022/0283942 A1 · Distributed error detection and correction with hamming code handoff

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

- Number: US 2022/0283942 A1
- Document ID: US20220283942A1
- Status: Published application
- Kind: A1
- Application number: 17/749,921
- Filed: 2022-05-20
- Published: 2022-09-08
- Earliest claimed: 2018-10-15
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Kai CHIRCA; Daniel WU; Matthew David PIERSON
- Web page: https://patentgrep.com/patent/US20220283942A1

## CPC

- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 9/30101: {Special purpose registers}
- G06F 9/30123: {according to context, e.g. thread buffers}
- G06F 9/3897: {with adaptable data path}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5016: {the resource being the memory}
- G06F 12/0607: {Interleaved addressing}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0815: Cache consistency protocols
- G06F 12/0828: {with concurrent directory accessing, i.e. handling multiple concurrent coherency transactions}
- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/084: with a shared cache
- G06F 12/0855: Overlapped cache accessing, e.g. pipeline (G06F12/0846 takes precedence)
- G06F 12/0857: {by multiple requestors}
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 12/10: Address translation
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 13/124: {where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine}
- G06F 13/1642: {with request queuing}
- G06F 13/1663: {Access to shared memory}
- G06F 13/1668: {Details of memory controller}
- G06F 13/4027: {using bus bridges (G06F13/4022 takes precedence)}
- H03M 13/015: {Simulation or testing of codes, e.g. bit error rate [BER] measurements}
- H03M 13/098: {using single parity bit}
- H03M 13/1575: {Direct decoding, e.g. by a direct determination of the error locator polynomial from syndromes and subsequent analysis or by matrix operations involving syndromes, e.g. for codes with a small minimum Hamming distance}
- H03M 13/276: {Interleaving address generation}
- H03M 13/2785: {Interleaver using in-place interleaving, i.e. writing to and reading from the memory is performed at the same memory location}
- G06F 12/0833: {in combination with broadcast means (e.g. for invalidation or updating)}
- G06F 12/0846: Cache with multiple tag or data arrays being simultaneously accessible
- G06F 12/0851: {Cache with interleaved addressing}
- G06F 12/0862: with prefetch
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/1016: Performance improvement
- G06F 2212/1024: Latency reduction
- G06F 2212/1048: Scalability
- G06F 2212/304: In main memory subsystem
- G06F 2212/452: Instruction code
- G06F 2212/6024: History based prefetching
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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 device includes a data path, a first interface connected to the data path and configured to receive a request from a processor package to write a data value to a memory address, and a controller connected to the data path and configured to receive the request to write the data value to the memory address and to calculate a Hamming code of the data value. The controller is configured to transmit the data value and the Hamming code on the data path. The device includes an external memory interleave connected to the data path. The external memory interleave is configured to receive the data value and calculate a test Hamming code of the data value and to determine whether to send the data value to an external memory interface to be written to the memory address based on a comparison of the Hamming code and the test Hamming code.

## Claims

### Claim 1

A device comprising:
a bus;
a controller coupled to the bus, the controller configured to:
receive a memory access request associated with a memory address;
generate a first error code associated with the memory access request; and
transmit the first error code on the bus; and
a plurality of components coupled to the bus, wherein each of the plurality of components utilizes data associated with the memory access request, and each of the plurality of components is configured to:
determine a number of bit errors associated with the first error code;
in response to the number of bit errors indicating more than one bit error, transmit an error code on the bus; and
in response to the number of bit errors indicating a single bit error, correct the single bit error.

### Claim 2 (depends on 1)

The device of claim 1, wherein:
the first error code is an address Hamming code for the memory address.

### Claim 3 (depends on 1)

The device of claim 1, wherein:
the memory access request is a write memory access request;
the controller is configured to generate a second error code in response to the data associated with the write memory access request;
the second error code is a data Hamming code for the data of the write memory access request; and
the controller is configured to transmit on the bus the second error code with the data of the write memory access request.

### Claim 4 (depends on 3)

The device of claim 3, wherein:
the first error code and the second error code are each selected from one of an in band Hamming code and an out of band Hamming code.

### Claim 5 (depends on 1)

The device of claim 1, wherein:
the plurality of components includes a data path manager configured to output the data associated with the memory access request.

### Claim 6 (depends on 1)

The device of claim 1, wherein:
the plurality of components includes a memory access arbiter configured to arbitrate access to a cache and an external memory interleave.

### Claim 7 (depends on 6)

The device of claim 6, wherein:
the plurality of components includes the external memory interleave;
the external memory interleave is configured to arbitrate access to a first memory interface and a second memory interface; and
the plurality of components includes the first memory interface and the second memory interface.

### Claim 8

A method comprising:
receiving, by a controller, a memory access request associated with data and a memory address;
generating, by the controller, a first error code associated with the memory access request;
receiving, by a memory queue, the first error code;
determining, by the memory queue, a number of bit errors associated with the first error code;
in response to the number of bit errors indicating more than one bit error, transmitting, by the memory queue, an error code; and
in response to the number of bit errors indicating a single bit error, correcting, by the memory queue, the single bit error.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the first error code is an address Hamming code for the memory address.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
generating, by the controller, a second error code in response to the data associated with a write memory access request, wherein the second error code is a data Hamming code for the data of the write memory access request; and
transmitting, by the controller, the second error code with the data of the write memory access request.

### Claim 11 (depends on 10)

The method of claim 10, wherein:
the memory access request is a write memory access request; and
the first error code and the second error code are each selected from one of an in band Hamming code and an out of band Hamming code.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
outputting, by a data path manager, the data associated with the memory access request.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
arbitrating, by a memory access arbiter, access to a cache and an external memory interleave.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
arbitrating, by the external memory interleave, access to a first memory interface and a second memory interface.

### Claim 15

A system comprising:
a bus;
a controller configured to:
receive a write access request that includes an address and data;
generate an address error code;
generate a data error code; and
transmit the address error code, the data error code, and the data on the bus; and
a plurality of components coupled to the bus, wherein each of the plurality of components utilizes the data, and each of the plurality of components is configured to:
determine a first number of bit errors associated with the address error code;
determine a second number of bit errors associated with the data error code;
in response to the first number of bit errors or the second number of bit errors indicating more than one bit error, transmit an error code on the bus;
in response to the first number of bit errors indicating a first single bit error, correct the first single bit error; and
in response to the second number of bit errors indicating a second single bit error, correct the second single bit error.

### Claim 16 (depends on 15)

The system of claim 15, wherein:
the address error code and the data error code are Hamming codes.

### Claim 17 (depends on 16)

The system of claim 16, wherein:
the address error code and the data error code are each selected from one of an in band Hamming code and an out of band Hamming code.

### Claim 18 (depends on 15)

The system of claim 15, wherein:
the plurality of components includes a data path manager configured to output the data to a slave interface.

### Claim 19 (depends on 15)

The system of claim 15, wherein:
the plurality of components includes a memory access arbiter configured to arbitrate access to a cache and an external memory interleave.

### Claim 20 (depends on 19)

The system of claim 19, wherein:
the plurality of components includes the external memory interleave;
the external memory interleave is configured to arbitrate access to a first memory interface and a second memory interface; and
the plurality of components includes the first memory interface and the second memory interface.
