# US 2022/0035704 A1 · Error correction methods and semiconductor devices and semiconductor systems using the error correction methods and the semiconductor devices

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

- Number: US 2022/0035704 A1
- Document ID: US20220035704A1
- Status: Published application
- Kind: A1
- Application number: 17/504,936
- Filed: 2021-10-19
- Published: 2022-02-03
- Earliest claimed: 2020-03-31
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Choung Ki SONG
- Web page: https://patentgrep.com/patent/US20220035704A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 29/20: using counters or linear-feedback shift registers [LFSR]
- G11C 29/4401: {for self repair}
- G11C 29/765: {in solid state disks}
- G11C 29/781: {combined in a redundant decoder}
- G11C 29/783: {with refresh of replacement cells, e.g. in DRAMs}
- G11C 29/81: {using a hierarchical redundancy scheme}
- G11C 29/846: {by choosing redundant lines at an output stage}
- H03M 13/1575: {Direct decoding, e.g. by a direct determination of the error locator polynomial from syndromes and subsequent analysis or by matrix operations involving syndromes, e.g. for codes with a small minimum Hamming distance}
- G11C 7/10: Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 2029/0411: {Online error correction}
- G11C 2211/4062: Parity or ECC in refresh operations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- 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)

## Abstract

An electronic device includes an error correction circuit configured to detect an error included in internal data, to generate a failure detection signal during a read operation, and to correct the error included in the internal data during a refresh operation, and a core circuit configured to store an address signal for activating a word line in which the internal data including the error is stored through as a failure address signal when the failure detection signal is input to the core circuit, and store the error-corrected internal data in the core circuit through a word line activated by the failure address signal during the refresh operation.

## Claims

### Claim 1

A semiconductor device comprising:
an error correction circuit configured to detect an error included in internal data, to generate a failure detection signal during a read operation, and to correct the error included in the internal data during a refresh operation; and
a core circuit configured to store an address signal for activating a word line in which the internal data including the error is stored as a failure address signal when the failure detection signal is input to the core circuit, and store the error-corrected internal data in the core circuit through a word line activated by the failure address signal during the refresh operation.

### Claim 2 (depends on 1)

The semiconductor device of claim 1, wherein during the refresh operation, the core circuit is configured to perform a read modify write operation to output the internal data stored in the core circuit through the word line activated by the failure address signal, and then, store the error-corrected internal data in the core circuit through the word line activated by the failure address signal.

### Claim 3 (depends on 1)

The semiconductor device of claim 1, wherein the core circuit includes:
a memory region configured to output the internal data stored through the word line selected by the address signal to an input and output (input/output) line when a read signal is input to the memory region, perform the refresh operation based on a refresh address signal, output the internal data stored through the word line activated by the failure address signal when an internal read signal is input to the memory region, and then, store the error-corrected internal data when an internal write signal is input to the memory region; and
an address storage circuit configured to store the address signal as the failure address signal when the failure detection signal is input to the address storage circuit, and output the stored failure address signal when the internal read signal and the internal write signal are input to the address storage circuit.

### Claim 4 (depends on 1)

The semiconductor device of claim 1, wherein the error correction circuit includes:
a parity syndrome generation circuit configured to generate a syndrome signal including error information included in the internal data loaded on the input/output line;
a syndrome decoder configured to decode the syndrome signal to generate an error correction signal;
an error corrector configured to correct the error included in the internal data based on the error correction signal to output the error-corrected internal data to the input/output line; and
a failure detection signal generation circuit configured to detect the error of the internal data to generate the failure detection signal.

### Claim 5 (depends on 1)

The semiconductor device of claim 1, further comprising a refresh control circuit configured to generate a refresh address signal that is sequentially counted when the refresh signal is input to the refresh control circuit, generate the internal read signal for performing the read modify write operation, and then generate the internal write signal.

### Claim 6 (depends on 5)

The semiconductor device of claim 5, wherein the refresh control circuit includes:
a refresh address generation circuit configured to generate the refresh address signal that is sequentially counted when the refresh signal is input to the refresh address generation circuit; and
an internal signal generation circuit configured to generate the internal read signal and the internal write signal that are sequentially generated when the refresh signal is input to the internal signal generation circuit.

### Claim 7

A semiconductor device comprising:
an error correction circuit configured to detect an error included in first and second internal data, to generate a failure detection signal during a read operation, and to correct the error included in the first and second internal data during a refresh operation;
a refresh control circuit configured to store an address signal for activating a word line in which the first and second internal data including an error are stored as first and second failure address signals, to output the first and second failure address signals during the refresh operation, and to control a read modify write operation during the refresh operation; and
a core circuit configured to output the first and second internal data stored in the core circuit through the word line activated by the first and second failure address signals during the read modify write operation, and then, store the error-corrected first and second internal data.

### Claim 8 (depends on 7)

The semiconductor device of claim 7, wherein the error correction circuit includes:
a parity syndrome generation circuit configured to generate a syndrome signal including error information included in the first and second internal data loaded on an input and output (input/output) line;
a syndrome decoder configured to decode the syndrome signal to generate an error correction signal;
an error corrector configured to correct the error included in the first and second internal data based on the error correction signal to output the error-corrected internal data to the input/output line; and
a failure detection signal generation circuit configured to detect the error of the first and second internal data to generate the failure detection signal.

### Claim 9 (depends on 7)

The semiconductor device of claim 7, wherein the refresh control circuit includes:
a refresh address generation circuit configured to generate a refresh address signal that is sequentially counted when a refresh signal is input to the refresh address generation circuit;
an internal signal generation circuit configured to generate an internal read signal and an internal write signal that are sequentially generated when the refresh signal is input to the internal signal generation circuit; and
an address storage circuit configured to store the address signal for activating a word line of a first memory region in which the first internal data including an error is stored as the first failure address signal when the failure detection signal is input to the address storage circuit, store the address signal for activating a word line of a second memory region in which the second internal data including an error is stored as the second failure address signal when the failure detection signal is input to the address storage circuit, and output the first failure address signal and the second failure address signal when the internal read signal and the internal write signal are input to the address storage circuit.

### Claim 10 (depends on 7)

The semiconductor device of claim 7, wherein the core circuit includes:
a first memory region configured to output the first internal data stored in the first memory region through a word line activated by the internal read signal and the first failure address that are generated during the read modify write operation, and store the error-corrected first internal data in the first memory region through a word line activated by the internal write signal and the first failure address; and
a second memory region configured to output the second internal data stored in the second memory region through a word line activated by the internal read signal and the second failure address that are generated during the read modify write operation, and store the error-corrected second internal data in the second memory region through a word line activated by the internal write signal and the second failure address.

### Claim 11 (depends on 10)

The semiconductor device of claim 10,
wherein the first memory region is configured to output the first internal data stored in the first memory region through the word line activated by the read signal and the address signal to the input/output line during the read operation, store the first internal data in the first memory region through the word line activated by a write signal and the address signal during a write operation, and perform the refresh operation in which multiple word lines are sequentially activated by a refresh address signal, and
the second memory region is configured to output the second internal data stored in the second memory region through the word line activated by the read signal and the address signal to the input/output line during the read operation, store the second internal data in the second memory region through a word line activated by the write signal and the address signal during the write operation, and perform the refresh operation in which the multiple word lines are sequentially activated by the refresh address signal.

### Claim 12

A semiconductor device comprising:
an error correction circuit configured to detect an error included in internal data, to generate a failure detection signal during a read operation, and to correct the error included in the internal data during a refresh operation;
a core circuit configured to store an address signal for activating a word line in which the internal data including the error is stored as a failure address signal when the failure detection signal is input to the core circuit and store the error-corrected internal data in the core circuit through a word line activated by the failure address during the refresh operation; and
a repair control circuit configured to generate a repair signal for replacing the word line in which the internal data is stored through with another word line when the failure address signal is generated with the same logic level combination.

### Claim 13 (depends on 12)

The semiconductor device of claim 12, wherein the core circuit is configured to perform a read modify write operation during the refresh operation to output the internal data stored in in the core circuit through the word line activated by the failure address signal, and then, store the error-corrected internal data in the core circuit through the word line activated by the failure address signal.

### Claim 14 (depends on 12)

The semiconductor device of claim 12, wherein the core circuit is configured to output the stored internal data by replacing the word line activated by the failure address signal with another word line when the repair signal is input during the refresh operation, and store the internal data by replacing the word line activated by the failure address signal with another word line when the repair signal is input during the refresh operation.

### Claim 15 (depends on 12)

The semiconductor device of claim 12, wherein the core circuit includes:
a memory region configured to output the internal data stored through the word line selected by the address signal to an input and output (input/output) line when a read signal is input to the memory region, perform the refresh operation based on a refresh control signal, output the internal data stored through the word line activated by the failure address signal when an internal read signal is input to the memory region, and then, store the error-corrected internal data when an internal write signal is input to the memory region; and
an address storage circuit configured to store the address signal as the failure address signal when the failure detection signal is input to the address storage circuit, and output the stored failure address signal when the internal read signal and the internal write signal are input to the address storage circuit.

### Claim 16 (depends on 12)

The semiconductor device of claim 12, wherein the error correction circuit includes:
a parity syndrome generation circuit configured to generate a syndrome signal including error information included in the internal data loaded on the input/output line;
a syndrome decoder configured to decode the syndrome signal to generate an error correction signal;
an error corrector configured to correct the error included in the internal data based on the error correction signal to output the error-corrected internal data to the input/output line; and
a failure detection signal generation circuit configured to detect the error of the internal data to generate the failure detection signal.

### Claim 17 (depends on 12)

The semiconductor device of claim 12, further comprising a refresh control circuit configured to generate a refresh address signal that is sequentially counted when the refresh signal is input to the refresh control circuit, generate an internal read signal for performing the read modify write operation, and then, generate an internal write signal.

### Claim 18 (depends on 17)

The semiconductor device of claim 17, wherein the refresh control circuit includes:
a refresh address generation circuit configured to generate the refresh address signal that is sequentially counted when the refresh signal is input to the refresh address generation circuit; and
an internal signal generation circuit configured to generate the internal read signal and the internal write signal that are sequentially generated when the refresh signal is input to the internal signal generation circuit.

### Claim 19

A semiconductor system comprising:
a controller configured to input and output (input/output) a command signal, an address signal, and data, to store the address signal as a failure address signal when a failure detection signal is input to the controller, and to output the stored failure address signal during a refresh operation; and
a semiconductor device configured to detect an error of internal data generated by the address signal to generate the failure detection signal based on the command signal during a read operation, correct the error included in the internal data to output the error-corrected internal data as the data, and correct the error of the internal data stored in the semiconductor device through a word line activated by the failure address signal to store the error-corrected internal data during the refresh operation.

### Claim 20 (depends on 19)

The semiconductor system of claim 19, wherein the controller includes an address storage circuit configured to store the address signal as the failure address signal when the failure detection signal is input to the address storage circuit, and output the stored failure address signal to the semiconductor device during the refresh operation.

### Claim 21 (depends on 19)

The semiconductor system of claim 19, wherein the semiconductor device includes:
an error correction circuit configured to detect an error included in internal data loaded on an input/output line, to generate the failure detection signal by the command signal during the read operation, and to correct the error included in the internal data loaded on the input/output line by the command signal during the refresh operation;
a refresh control circuit configured to generate an internal read signal and an internal write signal that are sequentially generated for performing a read modify write operation during the refresh operation; and
a core circuit configured to output the internal data stored in the core circuit through the word line activated by the address signal to the input/output line when a read signal generated by the command signal is input to the core circuit, output the internal data stored in the core circuit through the word line activated by the failure address signal when the internal read signal is input to the core circuit, and store the error-corrected internal data when the internal write signal is input to the core circuit.

### Claim 22 (depends on 21)

The semiconductor system of claim 21, wherein the error correction circuit includes:
a parity syndrome generation circuit configured to generate a syndrome signal including error information included in the internal data loaded on the input/output line;
a syndrome decoder configured to decode the syndrome signal to generate an error correction signal;
an error corrector configured to correct the error included in the internal data based on the error correction signal to output the error-corrected internal data to the input/output line; and
a failure detection signal generation circuit configured to detect the error of the internal data to generate the failure detection signal.

### Claim 23 (depends on 21)

The semiconductor system of claim 21, wherein the refresh control circuit includes:
a refresh address generation circuit configured to generate a refresh address signal that are sequentially counted when a refresh signal is input to the refresh address generation circuit; and
an internal signal generation circuit configured to generate the internal read signal and the internal write signal that are sequentially generated when the refresh signal is input to the internal signal generation circuit.

### Claim 24

An error correction method comprising:
performing an address detection operation to detect an error included in internal data output from a memory region during a read operation;
performing an error correction operation to generate a failure detection signal when an error is included in the internal data and to correct the error of the internal data; and
performing an address storage operation to store an address signal for activating a word line in which the internal data is stored through as a failure address signal when the failure detection signal occurs, wherein error-corrected internal data is stored through the word line activated by the failure address signal during a refresh operation.

### Claim 25 (depends on 24)

The error correction method of claim 24, further comprising performing a data output operation to output the error-corrected internal data to an external device or to output the internal data to the external device when the internal data does not include an error.

### Claim 26 (depends on 24)

The error correction method of claim 24, further comprising:
performing an error storage detection operation to detect the failure address signal during the refresh operation;
performing a read modify write operation to correct the error of the internal data after performing an internal read operation on the failure address signal and to perform an internal write operation on the failure address to store the error-corrected internal data; and
performing a refresh operation to activate multiple word lines by a refresh address.

### Claim 27 (depends on 26)

The error correction method of claim 26, further comprising:
performing a repair signal generation operation of generating a repair signal when the failure address signal is generated with the same logic level combination;
performing an address update operation to store the address signal as the failure address signal when the failure address signal is not generated with the same logic level combination; and
performing a data copy operation to replace the word line in which the internal data is stored through with another word line by the repair signal and to store the internal data through the replacing word line.
