# US 2021/0174891 A1 · Memory system, integrated circuit system, and operation method of memory system

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

- Number: US 2021/0174891 A1
- Document ID: US20210174891A1
- Status: Published application
- Kind: A1
- Application number: 16/939,741
- Filed: 2020-07-27
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Hoiju CHUNG; Paul FAHEY
- Web page: https://patentgrep.com/patent/US20210174891A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/36: Data generation devices, e.g. data inverters
- 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 2029/4402: {Internal storage of test result, quality data, chip identification, repair information}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A memory system may include a memory controller suitable for transmitting write data and a first write ECC corresponding to the write data during a write operation, a first error correction circuit suitable for detecting whether the write data received from the memory controller has an error, using the first write ECC received from the memory controller, and correcting the error when the error is detected, a second ECC generation circuit suitable for generating a second write ECC using the write data received from the memory controller, and generating the second write ECC using the write data whose error has been corrected by the first error correction circuit, when the detection of the error is noticed from the first error correction circuit, and one or more memories suitable for storing the second write ECC and write data corresponding to the second write ECC.

## Claims

### Claim 1

A memory system comprising:
a memory controller suitable for transmitting write data and a first Error Correction Code (ECC) corresponding to the write data during a write operation;
a first error correction circuit suitable for correcting an error within the transmitted write data when the error is detected within the transmitted write data, through the transmitted first ECC;
a second ECC generation circuit suitable for generating a second ECC based on the transmitted write data when an error is not detected within the transmitted write data or the error-corrected write data when the error is corrected within the transmitted write data; and
one or more memories suitable for storing the generated second ECC and the transmitted write data or the error-corrected write data.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the second ECC generation circuit generates the second ECC by:
first performing a first operation of generating the second ECC based on the transmitted write data,
cancelling the first operation when the error is corrected within the transmitted write data while the first operation is performed, and
performing a second operation of generating the second ECC based on the error-corrected write data.

### Claim 3 (depends on 1)

The memory system of claim 1, wherein the second ECC has a greater error correction ability than the first ECC.

### Claim 4 (depends on 1)

The memory system of claim 1,
wherein the one or more memories transmit read data and a read second ECC corresponding to the read data during a read operation,
wherein the memory system further comprises:
a second error correction circuit suitable for correcting an error within the transmitted read data when the error is detected within the transmitted read data, through the transmitted second ECC; and
a first ECC generation circuit suitable for generating a first ECC based on the transmitted read data or the error-corrected read data outputted from the second error correction circuit,
wherein the generated first ECC and the transmitted read data or the error-corrected read data are transmitted to the memory controller.

### Claim 5 (depends on 1)

The memory system of claim 1,
wherein the one or more memories transmit read data and a second ECC corresponding to the read data during a read operation,
wherein the memory system further comprises:
a second error correction circuit suitable for correcting an error within the transmitted read data when the error is detected within the transmitted read data, through the transmitted second ECC; and
a first ECC generation circuit suitable for generating a first ECC based on the transmitted read data when an error is not detected within the transmitted read data or the error-corrected read data when the error is corrected within the transmitted read data,
wherein the generated first ECC and the transmitted read data or the error-corrected read data are transmitted to the memory controller.

### Claim 6 (depends on 4)

The memory system of claim 4,
wherein the one or more memories are included in a memory module,
wherein the memory module comprises a module controller, and
wherein the first error correction circuit, the first ECC generation circuit, the second error correction circuit and the second ECC generation circuit are included in the module controller.

### Claim 7

An integrated circuit system comprising a first device, a second device and a third device,
wherein the first device is suitable for transmitting upstream data and a first Error Correction Code (ECC) corresponding to the upstream data during an upstream operation,
wherein the second device comprises:
a first error correction circuit suitable for correcting an error within the transmitted upstream data when the error is detected within the transmitted upstream data, through the transmitted first ECC; and
a second ECC generation circuit suitable for generating a second ECC based on the transmitted upstream data when an error is not detected within the transmitted upstream data or the error-corrected upstream data when the error is corrected within the transmitted upstream data,
wherein the third device receives the generated second ECC and the transmitted upstream data or the error-corrected upstream data.

### Claim 8 (depends on 7)

The integrated circuit system of claim 7, wherein the second ECC generation circuit generates the second ECC by:
first performing a first operation of generating the second ECC based on the transmitted upstream data,
cancelling the first operation when the error is corrected within the transmitted upstream data while the first operation is performed, and
performing a second operation of generating the second ECC based on the error-corrected upstream data.

### Claim 9 (depends on 7)

The integrated circuit system of claim 7, wherein the second ECC has a greater error correction ability than the first ECC.

### Claim 10 (depends on 7)

The integrated circuit system of claim 7,
wherein the third device transmits downstream data and a second ECC corresponding to the downstream data during a downstream operation,
wherein the second device further comprises:
a second error correction circuit suitable for correcting an error within the transmitted downstream data when the error is detected within the transmitted downstream data, through the transmitted second ECC; and
a first ECC generation circuit suitable for generating a first ECC based on the transmitted downstream data or the error-corrected downstream data outputted from the second error correction circuit,
wherein the generated first ECC and the transmitted downstream data or the error-corrected downstream data are transmitted to the first device.

### Claim 11 (depends on 7)

The integrated circuit system of claim 7,
wherein the third device transmits downstream data and a second ECC corresponding to the downstream data during a downstream operation,
wherein the second device further comprises:
a second error correction circuit suitable for correcting an error within the transmitted downstream data when the error is detected within the transmitted downstream data, through the transmitted second ECC; and
a first ECC generation circuit suitable for generating a first ECC based on the transmitted downstream data when an error is not detected within the transmitted downstream data or the error-corrected downstream data when the error is corrected within the transmitted downstream data,
wherein the generated first ECC and transmitted downstream data or the error-corrected downstream data are transmitted to the first device.

### Claim 12 (depends on 7)

The integrated circuit system of claim 7, wherein each of the first to third devices comprises one or more integrated circuit chips.

### Claim 13

An operation method of a memory system, comprising:
transmitting, by a memory controller, write data and a first Error Correction Code (ECC) corresponding to the write data to a module controller;
performing, by the module controller, a first operation of generating a second ECC based on the transmitted write data;
finding and correcting, by the module controller, an error within the transmitted write data through the first ECC;
canceling the first operation in response to the found error;
performing, by the module controller, a second operation of generating the second ECC based on the error-corrected write data; and
transmitting, by the module controller, the generated second ECC and the error-corrected write data to one or more memories.

### Claim 14 (depends on 13)

The operation method of claim 13, further comprising:
transmitting, by the one or more memories, read data and a read second ECC corresponding to the read data to the module controller;
finding and correcting, by the module controller, an error within the transmitted read data through the transmitted second ECC;
generating, by the module controller, a first ECC based on the error-corrected read data; and
transmitting, by the module controller, the generated first ECC and the error-corrected read data to the memory controller.

### Claim 15 (depends on 13)

The operation method of claim 13, further comprising:
transmitting, by the one or more memories, read data and a read second ECC corresponding to the read data to the module controller;
performing, by the module controller, a third operation of generating a first ECC based on the transmitted read data;
finding and correcting, by the module controller, an error within the transmitted read data through the transmitted second ECC;
canceling the third operation in response to the found error;
performing, by the module controller, a fourth operation of generating the first ECC based on the error-corrected read data; and
transmitting, by the module controller, the generated first ECC and the error-corrected read data to the memory controller.

### Claim 16 (depends on 13)

The operation method of claim 13, wherein the second ECC has a greater error correction ability than the first ECC.

### Claim 17

A memory system comprising:
a memory controller suitable for transmitting write data and a first write ECC corresponding to the write data during a write operation;
a first error correction circuit suitable for detecting whether the write data received from the memory controller has an error, using the first write ECC received from the memory controller, and correcting the error when the error is detected;
a second ECC generation circuit suitable for generating a second write ECC using the write data outputted from the first error correction circuit; and
one or more memories suitable for storing the second write ECC and write data corresponding to the second write ECC,
wherein the second write ECC has an error correction ability superior to that of the first write ECC.

### Claim 18 (depends on 17)

The memory system of claim 17, wherein the one or more memories transmit read data and a second read ECC corresponding to the read data during a read operation,
wherein the memory system further comprises:
a second error correction circuit suitable for detecting whether the read data received from the one or more memories have an error, using the second read ECC received from the one or more memories, and correcting the error of the read data and outputting the read data when the error is detected; and
a first ECC generation circuit suitable for generating a first read ECC using the read data outputted from the second error correction circuit,
wherein the first read ECC and the read data outputted from the second error correction circuit are transmitted to the memory controller.

### Claim 19

An operating method of a controller, the operating method comprising:
error-decoding write data through a first error correction code, the write data being provided with the first error correction code;
error-encoding, when the provided write data is not error-corrected during the error-decoding of the provided write data, the provided write data to generate a second error correction code;
error-encoding, when the provided write data is error-corrected during the error-decoding of the provided write data, the error-corrected write data to generate a third error correction code; and
controlling a memory device to store therein a pair of the provided write data and the second error correction code or a pair of the error-corrected write data and the third error correction code.

### Claim 20 (depends on 19)

The operating method of claim 19, further comprising:
error-decoding read data through a read error correction code, the read data being provided with the read error correction code from the memory device;
error-encoding, when the provided read data is not error-corrected during the error-decoding of the provided read data, the provided read data to restore the first error correction code;
error-encoding, when the provided read data is error-corrected during the error-decoding of the provided read data, the error-corrected read data to restore the first error correction code; and
providing an external with the restored first error correction code and one between the provided read data and the error-decoded read data paired with the restored first error correction code,
wherein the read error correction code is one of the second and third error correction codes.
