# US 2025/0147840 A1 · Implicit storage of metadata at a memory device

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

- Number: US 2025/0147840 A1
- Document ID: US20250147840A1
- Status: Published application
- Kind: A1
- Application number: 18/930,772
- Filed: 2024-10-29
- Published: 2025-05-08
- Earliest claimed: 2023-11-02
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Casto Salobrena Garcia; Kevin Gajera
- Web page: https://patentgrep.com/patent/US20250147840A1

## 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 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and devices for implicit storage of metadata at a memory device are described. A memory device may perform an error correction code (ECC) decoding operation on a first set of parity bits for a set of data and a second set of parity bits for the set of data. The memory device may compare the first set of parity bits to the second set of parity bits based on the ECC decoding operation indicating that the set of data has an uncorrectable error, the first set of parity bits to the second set of parity bits. The memory device may recover metadata information, for the set of data, previously received by the memory device, based on the comparison.

## Claims

### Claim 1

A method, comprising:
performing, by a memory device, an error correction code (ECC) decoding operation on a first set of parity bits for a set of data and a second set of parity bits for the set of data;
comparing, based at least in part on the ECC decoding operation indicating that the set of data has an uncorrectable error, the first set of parity bits to the second set of parity bits; and
recovering metadata information, for the set of data, previously received by the memory device, based at least in part on the comparison.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining an updated error status for the set of data based at least in part on the comparison.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
determining, based at least in part on the comparison, that the first set of parity bits do not match the second set of parity bits, wherein the metadata information is recovered, and the set of data is determined to be error-free, based at least in part on the determination.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining, based at least in part on the comparison, that the first set of parity bits comprises a threshold quantity of bits that do not match the second set of parity bits, wherein the metadata information is recovered, and the set of data is determined to have a correctable error, based at least in part on the determination.

### Claim 5 (depends on 1)

The method of claim 1, wherein comparing the first set of parity bits to the second set of parity bits comprises:
performing a bitwise XOR operation on the first set of parity bits and the second set of parity bits.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining a quantity of bits in a set of output bits, from the bitwise XOR operation, that are a first logic value, wherein the metadata information is recovered based at least in part on the quantity of bits.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
comparing the quantity of bits to a threshold quantity, wherein the metadata information is recovered based at least in part on comparing the quantity of bits to the threshold quantity.

### Claim 8 (depends on 1)

The method of claim 1, wherein the metadata information is a single metadata bit.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
determining, based at least in part on the comparison, that the first set of parity bits is inverted relative to the second set of parity bits, wherein the metadata information is recovered based at least in part on determining that the first set of parity bits is inverted relative to the second set of parity bits.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
determining, based at least in part on the comparison, that the first set of parity bits comprises a threshold quantity of bits that match the second set of parity bits, wherein the metadata information is recovered based at least in part on determining that the first set of parity bits comprises the threshold quantity of bits that match the second set of parity bits.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
inverting, based at least in part on the metadata information, the first set of parity bits before storing the first set of parity bits in the memory device; and
reading the first set of parity bits from the memory device after storing the first set of parity bits in the memory device, wherein the ECC decoding operation is performed based at least in part on reading the first set of parity bits.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
generating, after reading the set of data, the second set of parity bits based at least in part on the set of data.

### Claim 13

A method, comprising:
performing, by a memory device, an error correction code (ECC) decoding operation for a set of data;
determining an error status for the set of data based at least in part on performing the ECC decoding operation; and
recovering metadata information for the set of data, the metadata information previously received by the memory device, based at least in part on the error status for the set of data.

### Claim 14 (depends on 13)

The method of claim 13, wherein the metadata information is a single metadata bit.

### Claim 15 (depends on 13)

The method of claim 13, wherein the metadata information comprises multiple metadata bits.

### Claim 16 (depends on 13)

The method of claim 13, wherein the set of data is determined to be error-free, the method further comprising:
sending the set of data, along with the metadata information, to a host system.

### Claim 17 (depends on 13)

The method of claim 13, wherein the set of data is determined to have a correctable error, the method further comprising:
correcting the set of data based at least in part on the set of data having a correctable error; and
sending the corrected set of data, along with an indication of the metadata information, to a host system.

### Claim 18 (depends on 13)

The method of claim 13, wherein the ECC decoding operation is performed on a first set of parity bits and a second set of parity bits for the set of data, and wherein determining the error status comprises determining that the set of data has an uncorrectable error, the method further comprising:
comparing the first set of parity bits and the second set of parity bits based at least in part on determining that the set of data has an uncorrectable error, wherein the metadata information is recovered, and an updated error status for the set of data is determined, based at least in part on the comparison.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
determining, based at least in part on the comparison, that the first set of parity bits is inverted relative to the second set of parity bits, wherein the metadata information is recovered, and the set of data is determined to be error-free, based at least in part on the first set of parity bits being inverted relative to the second set of parity bits.

### Claim 20 (depends on 18)

The method of claim 18, further comprising:
determining, based at least in part on the comparison, that the first set of parity bits comprises a threshold quantity of bits that match the second set of parity bits, wherein the metadata information is recovered, and the set of data is determined to have a correctable error, based at least in part on the first set of parity bits comprising a threshold quantity of bits that match the second set of parity bits.

### Claim 21 (depends on 13)

The method of claim 13, wherein the ECC decoding operation is performed on a first set of parity bits and a second set of parity bits for the set of data, the method further comprising:
inverting the first set of parity bits before storing the first set of parity bits in the memory device and based at least in part on the metadata information, wherein the ECC decoding operation is performed after reading the first set of parity bits from the memory device.

### Claim 22

A memory device, comprising:
a memory array; and
an error correction code (ECC) circuit coupled with the memory array, wherein the memory device is configured to:
perform, by the ECC circuit, an ECC decoding operation on a first set of parity bits for a set of data and a second set of parity bits for the set of data;
compare, based at least in part on the ECC decoding operation indicating that the set of data has an uncorrectable error, the first set of parity bits to the second set of parity bits; and
recover metadata information, for the set of data, previously received by the memory device, based at least in part on the comparison.

### Claim 23 (depends on 22)

The memory device of claim 22, wherein the memory device is further configured to:
determine an updated error status for the set of data based at least in part on the comparison.

### Claim 24 (depends on 23)

The memory device of claim 23, wherein the memory device is further configured to:
determine, based at least in part on the comparison, that the first set of parity bits do not match the second set of parity bits, wherein the metadata information is recovered, and the set of data is determined to be error-free, based at least in part on the determination.

### Claim 25 (depends on 23)

The memory device of claim 23, wherein the memory device is further configured to:
determine, based at least in part on the comparison, that the first set of parity bits comprises a threshold quantity of bits that do not match the second set of parity bits, wherein the metadata information is recovered, and the set of data is determined to have a correctable error, based at least in part on the determination.
