# US 2018/0323915 A1 · Characterization of in-chip error correction circuits and related semiconductor memory devices/memory systems

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

- Number: US 2018/0323915 A1
- Document ID: US20180323915A1
- Status: Published application
- Kind: A1
- Application number: 16/032,544
- Filed: 2018-07-11
- Published: 2018-11-08
- Earliest claimed: 2015-06-29
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Hoi-Ju Chung; Sang-Uhn Cha; Hyun-Joong Kim
- Web page: https://patentgrep.com/patent/US20180323915A1

## CPC

- H04L 1/24: Testing correct operation
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 2029/0411: {Online error correction}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A method of operating a semiconductor memory device can include receiving data, from a memory controller, at an Error Correction Code (ECC) engine included in the semiconductor memory device, the data including at least one predetermined error. Predetermined parity can be received at the ECC engine, where the predetermined parity is configured to correspond to the data without the at least one predetermined error. A determination can be made whether a number of errors in the data is correctable by the ECC engine using the data including the at least one predetermined error and the predetermined parity.

## Claims

### Claim 1

A method of validating an error correction code (ECC) circuit, comprising:
1) entering into a code validation mode;
2) generating a first error vector, the first error vector including at least one error bit;
3) writing the first error vector in a memory device;
4) reading a second error vector from the memory device, the second error vector being a result of performing an ECC operation on a first data by the ECC circuit included in the memory device, wherein the first data includes the first error vector;
5) checking positions of error bits included in the second error vector;
6) repeating step 2) to step 5) with different first error vectors until the error bits included in the second error vector are not correctable or until all error combinations have been covered;
7) logging a pass/fail result, the pass/fail result based on whether the error bits included in the second error vector are not correctable at a rank level; and
8) exiting the code validation mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein the method is performed by a memory controller.

### Claim 3 (depends on 2)

The method of claim 2, wherein the memory controller determines that the ECC circuit of the memory device fails when the second error vector includes more error bits than the first error vector.

### Claim 4 (depends on 2)

The method of claim 2, wherein the memory controller determines that the ECC circuit fails when the second error vector includes fail bits which cannot be corrected at the rank level.

### Claim 5 (depends on 2)

The method of claim 2, wherein the memory controller determines that the ECC circuit does not fail when the second error vector does not include a fail bit.

### Claim 6 (depends on 2)

The method of claim 2, wherein the memory controller determines that the ECC circuit does not fail when all fail bits of the second error vector can be corrected at the rank level.

### Claim 7 (depends on 2)

The method of claim 2, further comprising adding additional reset data to the first error vector to form the first data based on a size of the first error vector being smaller than a unit of a codeword of the ECC circuit.

### Claim 8 (depends on 7)

The method of claim 7, wherein the size of the first error vector is half of a size of the unit of the codeword of the ECC circuit, a first half of the codeword comprising the first error vector, and the other half of the codeword being filled with the reset data.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first data further includes a reset parity data provided by a parity selector included in the memory device.

### Claim 10 (depends on 9)

The method of claim 9, wherein a logic level of the reset parity data is different from a logic level of an error bit in the first error vector.

### Claim 11 (depends on 10)

The method of claim 10, wherein a logic level of the error bit is high and logic levels of the reset data and the reset parity data are low respectively.

### Claim 12

A method of validating an error correction code (ECC) circuit, comprising:
1) entering into a code validation mode;
2) generating a first error vector, the first error vector including at least one error bit;
3) writing the first error vector in a memory device;
4) reading a second error vector from the memory device, the second error vector being a result of performing an ECC operation on the first error vector by the ECC circuit included in the memory device;
5) checking positions of error bits included in the second error vector;
6) repeating step 2) to step 5) with different first error vectors until the error bits included in the second error vector are not correctable or until meeting a predetermined condition;
7) logging a pass/fail result, the pass/fail result based on whether the error bits included in the second error vector are not correctable at a rank level; and
8) exiting the code validation mode,
wherein the method is performed by a memory controller.

### Claim 13 (depends on 12)

The method of claim 12, wherein the predetermined condition is exhausting possible combinations of the first error vector.

### Claim 14 (depends on 12)

The method of claim 12, wherein the predetermined condition is all cases covered by varying the first error vector.

### Claim 15 (depends on 12)

The method of claim 12, wherein the predetermined condition is a predetermined iteration number.

### Claim 16 (depends on 12)

The method of claim 12, wherein the memory controller determines that the ECC circuit of the memory device fails when the second error vector includes more error bits than the first error vector.

### Claim 17 (depends on 12)

The method of claim 12, wherein the memory controller determines that the ECC circuit fails when the second error vector includes fail bits which cannot be corrected at the rank level.

### Claim 18 (depends on 12)

The method of claim 12, wherein the memory controller determines that the ECC circuit does not fail when the second error vector does not include a fail bit.

### Claim 19 (depends on 12)

The method of claim 12, wherein the memory controller determines that the ECC circuit does not fail when all fail bits of the second error vector can be corrected at the rank level.
