# US 2017/0286197 A1 · Validation of memory on-die error correction code

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

- Number: US 2017/0286197 A1
- Document ID: US20170286197A1
- Status: Published application
- Kind: A1
- Application number: 15/089,316
- Filed: 2016-04-01
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: John B. HALBERT; Kuljit S. BAINS
- Web page: https://patentgrep.com/patent/US20170286197A1

## CPC

- G06F 11/2215: {to test error correction or detection circuits}
- G06F 11/008: {Reliability or availability analysis}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 29/02: Detection or location of defective auxiliary circuits, e.g. defective refresh counters
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Embodiments are generally directed to validation of memory on-die error correction code. An embodiment of a memory device includes one or more memory arrays for the storage of data; control logic to control operation of the memory device; and ECC (error correction code) logic, including ECC correction logic to correct data and ECC generation logic to generate ECC code bits and store the ECC bits in the one or more memory arrays. In a validation mode to validate operation of the ECC logic, the control logic is to allow generation of ECC code bits for a first test value and disable generation of ECC code bits for a second test value.

## Claims

### Claim 1

A memory device comprising:
one or more memory arrays for the storage of data;
control logic to control operation of the memory device; and
ECC (error correction code) logic, including ECC correction logic to correct data and ECC generation logic to generate ECC code bits and store the ECC bits in the one or more memory arrays;
wherein, in a validation mode, to validate operation of the ECC logic, the control logic is to allow generation of ECC code bits for a first test value and disable generation of ECC code bits for a second test value.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein the memory device is to write the first test value in a memory array, generate a first set of ECC bits for the first test value, write the second test value in the memory array, and maintain the first set of ECC bits for the second test value.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the validation mode includes the ECC logic to perform an error check of the second test value using the first set of ECC bits.

### Claim 4 (depends on 3)

The memory device of claim 3, wherein the second test value differs from the first test by a single flipped bit value, and wherein the validation mode is to validate whether a single bit error represented by the single flipped bit value is corrected.

### Claim 5 (depends on 4)

The memory device of claim 4, wherein the correction of the single bit error is to correct the second test value to be the first test value.

### Claim 6 (depends on 3)

The memory device of claim 3, wherein the second test value differs from the first test by two flipped bit values, wherein the validation mode is to validate whether either:
a double bit error represented by the two flipped bit values is correctly read out; or
the double bit error represented by the two flipped bit values is miscorrected into a triple bit error, and a double bit error represented by two bit values of the triple bit error is correctly read out in a data value with a third bit value of the triple bit error not being included in the data value.

### Claim 7 (depends on 1)

The memory device of claim 1, wherein validation of operation of the ECC logic is performed by one of a central processing unit (CPU) of a system, another processor of the system, or a separate testing unit.

### Claim 8

One or more non-transitory computer-readable storage mediums having stored thereon data representing sequences of instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
writing a first test value in a computer memory;
generating a first set of ECC (error correction code) code bits by an on-die ECC logic of the computer memory in response to the writing of the first test value;
blocking generation of ECC code bits by a memory controller of the computer memory; and
writing a second test value in the computer memory, the second test value differing from the first test value by one or more bits.

### Claim 9 (depends on 8)

The one or more mediums of claim 8, further comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising
performing an error check of the second test value based on the first set of ECC code bits.

### Claim 10 (depends on 9)

The one or more mediums of claim 9, further comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
validating operation of the on-die ECC logic based at least in part on the error check of the second test value based on the first set of ECC code bits.

### Claim 11 (depends on 10)

The one or more mediums of claim 10, wherein the second test value differs from the first test value by a single bit value; and
further comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
validating whether a single bit error represented by the single bit value is corrected.

### Claim 12 (depends on 11)

The one or more mediums of claim 11, wherein validating whether the single bit error is corrected includes determining whether the second test value is corrected to be the first test value.

### Claim 13 (depends on 10)

The one or more mediums of claim 10, wherein the second test value differs from the first test value by a double bit value; and
further comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
validating whether:
a double bit error represented by the double bit value is correctly read out, or
the double bit error represented by the two flipped bit values is miscorrected into a triple bit error, and a double bit error represented by two bit values of the triple bit error is correctly read out in a data value with a third bit value of the triple bit error not being included in the data value.

### Claim 14 (depends on 10)

The one or more mediums of claim 10, wherein validation of operation of the on-die ECC logic is performed by one of a central processing unit (CPU) of a system, another processor of the system, or a separate testing unit.

### Claim 15

A computing system comprising:
one or more processors; and
synchronous dynamic random access memory (SDRAM) for the storage of data, the SDRAM including a memory device having:
one or more memory arrays for the storage of data,
control logic to control operation of the memory device, and
ECC (error correction code) logic, including ECC correction logic to correct data and ECC generation logic to generate ECC code bits and store the ECC bits in the one or more memory arrays;
wherein, in a validation mode to validate operation of the ECC logic, the control logic is to allow generation of ECC code bits for a first test value and disable generation of ECC code bits for a second test value.

### Claim 16 (depends on 15)

The computing system of claim 15, wherein the memory device is to write the first test value in a memory array, generate a first set of ECC bits for the first test value, write the second test value in the memory array, and maintain the first set of ECC bits for the second test value.

### Claim 17 (depends on 16)

The computing system of claim 16, wherein the validation mode includes the ECC logic to perform an error check of the second test value using the first set of ECC bits.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein the second test value differs from the first test by a single flipped bit value, and wherein the validation mode is to validate whether a single bit error represented by the single flipped bit value is corrected.

### Claim 19 (depends on 18)

The computing system of claim 18, wherein the correction of the single bit error is to correct the second test value to be the first test value.

### Claim 20 (depends on 17)

The computing system of claim 17, wherein the second test value differs from the first test by two flipped bit values, wherein the validation mode is to validate whether either:
a double bit error represented by the two flipped bit values is correctly read out; or
the double bit error represented by the two flipped bit values is miscorrected into a triple bit error, and a double bit error represented by two bit values of the triple bit error is correctly read out in a data value with a third bit value of the triple bit error not being included in the data value.

### Claim 21 (depends on 15)

The computing system of claim 15, wherein validation of operation of the ECC logic is performed by one of a processor of the computing system or a separate testing unit.

### Claim 22 (depends on 15)

The computing system of claim 15, further comprising one or more of:
a display communicatively coupled to the one or more processors,
a network interface communicatively coupled to the one or more processors; or
a battery coupled to the one or more processors.
