# US 2013/0254626 A1 · Memory system and method using ecc with flag bit to identify modified data

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

- Number: US 2013/0254626 A1
- Document ID: US20130254626A1
- Status: Published application
- Kind: A1
- Application number: 13/855,534
- Filed: 2013-04-02
- Published: 2013-09-26
- Earliest claimed: 2006-10-18
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc
- Inventors: J. Thomas Pawlowski; John F. SCHRECK
- Web page: https://patentgrep.com/patent/US20130254626A1

## CPC

- H03M 13/151: {using error location or error correction polynomials}
- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 11/1044: {with specific ECC/EDC distribution}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 11/406: Management or control of the refreshing or charge-regeneration cycles
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 2029/0411: {Online error correction}
- G11C 2211/4062: Parity or ECC in refresh operations
- 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)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A DRAM device includes an ECC generator/checker that generates ECC syndromes corresponding to items of data stored in the DRAM device, The DRAM device also includes an ECC controller that causes the ECC syndromes to be stored in the DRAM device. The ECC controller also causes a flag bit having a first value to be stored in the DRAM device when a corresponding ECC syndrome is stored. The ECC controller changes the flag bit to a second value whenever the corresponding data bits are modified, this indicating that the stored syndrome no longer corresponds to the stored data. In such case, the ECC controller causes a new ECC syndrome to be generated and stored, and the corresponding flag bit is reset to the first value. The flag bits may be checked in this manner during a reduced power refresh to ensure that the stored syndromes correspond to the stored data.

## Claims

### Claim 1

An apparatus, comprising:
an ECC logic configured to generate an ECC syndrome associated with stored data;
an ECC control circuit configured to store the ECC syndrome and a flag bit associated with the stored data, the flag bit having a first value when the ECC syndrome is stored and having a second value when any portion of the stored data is modified,
wherein the ECC logic is further configured to use the flag bit to determine if the stored data has been modified, and to generate a new ECC syndrome for the stored data responsive, at least in part, to determining the stored data has been modified,

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the ECC logic is further configured to use the syndrome to determine whether the stored data includes an error.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the ECC logic is further configured to correct the error responsive, at least in part, to determining the stored data includes the error.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the flag bit is appended to the syndrome.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the ECC logic is configured to generate an ECC syndrome during a low power refresh mode.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the stored data and the syndrome, the flag bit, or a combination thereof, are stored in a same array.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the apparatus is included in a memory.

### Claim 8

A method, comprising:
storing an ECC syndrome and flag bit for a plurality of data bits, the flag bit indicative of whether any of the data bits in the respective group have been modified;
using the flag bit to determine if any of the data bits in the respective group have been modified; and
if the flag bit indicates any of the data bits in the respective group have been modified, generating a new ECC syndrome for the plurality of data bits; and
if the flag bit indicates none of the data bits in the respective group have been modified, using the ECC syndrome to check the correctness of the retrieved data bits.

### Claim 9 (depends on 8)

The method of claim 8, wherein storing an ECC syndrome and flag bit for a plurality of data bits comprises:
storing the ECC syndrome; and
appending the flag bit to the ECC syndrome.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
if the retrieved data bits comprise an error, using the ECC syndrome to correct the error.

### Claim 11 (depends on 8)

The method of claim 8, wherein storing an ECC syndrome and flag bit for a plurality of data bits comprises:
storing the ECC syndrome and the flag bit in an array including the plurality of data bits.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
entering a low power refresh mode before using the flag bit to determine if any of the data bits in the respective group have been modified.

### Claim 13 (depends on 12)

The method of claim 12, wherein the ECC syndrome is generated before entering the low power refresh mode.

### Claim 14 (depends on 8)

The method of claim 8, wherein at least one of the ECC syndrome and the flag bit comprises an odd number of bits.

### Claim 15

A method, comprising:
determining, with a flag bit, if any stored data has been modified; and
if the flag bit indicates the stored data has been modified, generating an ECC syndrome for the stored data; and
if the flag bit indicates the stored data has not been modified:
determining whether the stored data is in error using the ECC syndrome; and
if the stored data is in error, correcting the stored data using the ECC syndrome.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
before generating an ECC syndrome, entering a self-refresh mode.

### Claim 17 (depends on 15)

The method of claim 15, wherein the stored data is stored in a row of memory, the method further comprising:
storing the ECC syndrome, the flag bit, or a combination thereof in the row of memory.

### Claim 18 (depends on 17)

The method of claim 17, wherein the flag bit is appended to the ECC syndrome.

### Claim 19 (depends on 15)

The method of claim 15, wherein the ECC syndrome comprises a Hamming code syndrome.

### Claim 20 (depends on 15)

The method of claim 15, wherein correcting the stored data using the ECC syndrome comprises correcting a single bit error.

### Claim 21 (depends on 15)

The method of claim 15, wherein determining, with a flag bit, if any stored data has been modified comprises determining, with a flag bit, if any stored data has been modified after a refresh of the stored data.
