# US 2023/0056231 A1 · Memory, memory 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 2023/0056231 A1
- Document ID: US20230056231A1
- Status: Published application
- Kind: A1
- Application number: 17/532,826
- Filed: 2021-11-22
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Munseon JANG; Hoiju CHUNG; Jang Ryul KIM
- Web page: https://patentgrep.com/patent/US20230056231A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 7/1039: {using pipelining techniques, i.e. using latches between functional memory parts, e.g. row/column decoders, I/O buffers, sense amplifiers}
- G11C 29/1201: {comprising I/O circuitry}
- G11C 29/702: {by replacing auxiliary circuits, e.g. spare voltage generators, decoders or sense amplifiers, to be used instead of defective ones}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A memory system includes a memory; and a memory controller which includes a spare buffer suitable for storing an error location in the memory and data at the location, and commands the memory to perform a spare read operation when a read operation needs to be performed in a region of the memory including the error location.

## Claims

### Claim 1

A memory system, comprising:
a memory; and
a memory controller which includes a spare buffer suitable for storing an error location in the memory and data at the location, and commands the memory to perform a spare read operation when a read operation needs to be performed in a region of the memory including the error location.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the memory includes:
a memory core;
a data replacing circuit suitable for generating new read data by replacing a portion of data read from the memory core with a predetermined pattern of data during the spare read operation;
an error correction circuit suitable for detecting an error in the new read data based on an error correction code read from the memory core during the spare read operation, and correcting the error when an error is detected; and
a data transferring circuit suitable for transferring output data of the error correction circuit to the memory controller during the spare read operation.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein the memory controller replaces the portion of the data transferred from the memory with the data stored in the spare buffer during the spare read operation.

### Claim 4 (depends on 1)

The memory system of claim 1, wherein the spare buffer includes one or more buffer sets, and
each of the one or more buffer sets stores an error address, the error location, buffer data and a valid bit.

### Claim 5 (depends on 4)

The memory system of claim 4, wherein the error address is an address of the region of the memory including the error location,
the error location is information representing a location of a symbol where an error exists in the region of the memory including the error location,
the buffer data is data of the error location, and
the valid bit is validity information of each buffer set.

### Claim 6 (depends on 2)

The memory system of claim 2, wherein the memory controller informs the memory of a location of data to be replaced by the data replacing circuit during the spare read operation.

### Claim 7 (depends on 2)

The memory system of claim 2, wherein when a write operation is required for the region of the memory including the error location,
the memory controller commands the memory to perform a spare write operation and stores a portion of write data in the spare buffer.

### Claim 8 (depends on 7)

The memory system of claim 7, wherein the memory further includes:
a data receiving circuit suitable for receiving the write data; and
an error correction code generation circuit,
wherein, during the spare write operation,
the data replacing circuit generates new write data by replacing a portion of the write data received through the data receiving circuit with the predetermined pattern of the data,
the error correction code generation circuit generates an error correction code based on the new write data, and
the memory core stores the new write data and the error correction code.

### Claim 9 (depends on 8)

The memory system of claim 8, wherein the memory controller informs the memory of a location of data to be replaced by the data replacing circuit during the spare write operation.

### Claim 10

A memory, comprising:
a memory core;
a data replacing circuit suitable for generating new read data by replacing a portion of data read from the memory core with a predetermined pattern of data during a spare read operation;
an error correction circuit suitable for detecting an error in the new read data based on an error correction code read from the memory core during the spare read operation and, when an error is detected, correcting the error; and
a data transferring circuit suitable for transferring output data of the error correction circuit to the memory controller during the spare read operation.

### Claim 11 (depends on 10)

The memory of claim 10, further comprising:
a data receiving circuit suitable for receiving write data; and
an error correction code generation circuit,
wherein, during the spare write operation,
the data replacing circuit generates new write data by replacing a portion of the write data received through the data receiving circuit with the predetermined pattern of the data,
the error correction code generation circuit generates an error correction code based on the new write data, and
the memory core stores the new write data and the error correction code.

### Claim 12 (depends on 10)

The memory of claim 10, wherein the spare read operation is commanded in response to a command for performing the spare read operation, an address, and information representing a location of data to be replaced by the data replacing circuit from a memory controller.

### Claim 13 (depends on 11)

The memory of claim 11, wherein the spare write operation is commanded in response to a command for performing the spare write operation, an address, and information representing a location of data to be replaced by the data replacing circuit from a memory controller.

### Claim 14

A method for operating a memory system, comprising:
confirming, by a memory controller, that an error exists in a region of a memory where a read operation needs to be performed;
commanding, by the memory controller, the memory to perform a spare read operation in response to the confirming of the error;
reading, by the memory, data and a read error correction code from a memory core;
generating, by the memory, new read data by replacing a portion of the read data with a predetermined pattern of data;
performing, by the memory, an error correction operation of correcting an error of the new read data based on the read error correction code; and
transferring, by the memory to the memory controller, the new read data on which the error correction operation is performed as error-corrected read data.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
replacing, by the memory controller, a portion of the error-corrected read data from the memory with the data stored in a spare buffer.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
confirming, by the memory controller, that an error exists in a region where a write operation needs to be performed;
storing, by the memory controller, a portion of the write data in the spare buffer;
commanding, by the memory controller, the memory to perform a spare write operation;
transferring, by the memory controller, the write data to the memory;
generating, by the memory, new write data by replacing a portion of the write data with the predetermined pattern of the data;
generating, by the memory, a write error correction code based on the new write data; and
storing, by the memory, the new write data and the write error correction code in the memory core.

### Claim 17 (depends on 15)

The method of claim 15, wherein the commanding, by the memory controller, of the memory to perform the spare read operation in response to the confirming of the error includes:
transferring, to the memory, a command for performing the spare read operation, an address, and information representing a location of data to be replaced by a data replacing circuit.

### Claim 18 (depends on 16)

The method of claim 16, wherein the commanding, by the memory controller, of the memory to perform the spare write operation includes:
transferring, to the memory, a command for performing the spare write operation, an address, and information representing a location of data to be replaced by a data replacing circuit.

### Claim 19

A memory system comprising:
a memory including a plurality of regions; and
a memory controller coupled to the memory and including a spare buffer,
wherein the memory controller is configured to:
determine whether a write region among the plurality of regions, which is associated with a write operation on write data, is a region including an error location; and
when it is determined that the write region is the region including the error location, control the memory to perform a spare write operation by:
storing the write data in the spare buffer;
replacing a portion of the write data with a set pattern of data to generate new write data; and
storing the new write data in the write region.

### Claim 20 (depends on 19)

The memory system of claim 19, further comprising:
generating a write error correction code based on the new write data; and
storing the write error correction code in the write region.
