# US 11,119,852 B2 · Memory device having error correction function and error correction method for memory device

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

- Number: US 11,119,852 B2
- Document ID: US11119852B2
- Status: Granted
- Kind: B2
- Application number: 15/916,684
- Filed: 2018-03-09
- Published: 2018-09-13
- Granted: 2021-09-14
- Earliest claimed: 2017-03-09
- Assignees: Research & Business Foundation Sungkyunkwan University
- Applicants: Research & Business Foundation Sungkyunwan University
- Inventors: Joon Sung Yang; Seung Yeob Lee
- Web page: https://patentgrep.com/patent/US11119852B2

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 29/38: Response verification devices
- H03M 13/353: {Adaptation to the channel}
- H03M 13/356: {Unequal error protection [UEP]}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 2029/0411: {Online error correction}
- 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

A memory device having an error correction function includes: a memory element including multiple memory cells, a reconfiguration logic unit configured to group input data according to data retention properties of each memory cell in which each of the input data will be stored or group storage data stored in the memory element according to data retention properties of each memory cell in which each of the storage data is stored and arrange each of the input data or each of the storage data grouped by identical retention properties to be adjacent to each other, an error correction encoder configured to apply an error correction encoding algorithm with a different intensity to the grouped input data in each group, and an error correction decoder configured to apply an error correction decoding algorithm corresponding to an intensity applied by the error correction encoder to the grouped storage data in each group.

## Claims

### Claim 1

A memory device having an error correction function, comprising:
a memory element including multiple memory cells;
a reconfiguration logic unit configured to:
group input data which are input in a predetermined unit according to data retention properties of each memory cell in which each of the input data will be stored, or
group storage data of a predetermined unit stored in the memory element according to data retention properties of each memory cell in which each of the storage data is stored, and
rearrange each of the input data or each of the storage data having identical data retention properties to be adjacent to each other based on a result of the grouping and on a result of a test of the data retention properties of each memory cell;
an error correction encoder configured to apply an error correction encoding algorithm with a different intensity to the grouped input data in each group; and
an error correction decoder configured to apply an error correction decoding algorithm corresponding to an intensity applied by the error correction encoder to the grouped storage data in each group,
wherein:
the reconfiguration logic unit comprises multiple multiplexer (MUX) circuits configured to change an address of each input data according to a selection signal stored in the memory element so as to arrange memory cells with identical data retention properties to be adjacent to each other based on the multiple MUX circuits, and
the selection signal is configured to change an operation state of each MUX circuit to arrange memory cells with data retention properties in the same group to be adjacent to each other based on the result of the test of the data retention properties of each memory cell, and
wherein a codeword produced for each group by the error correction encoder is matched with each of the input data and stored in the memory element, and an error correction process is performed according to a result of a comparison between the codeword produced for each group by the error correction decoder and the codeword for each group stored in the memory element.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein the input data which are input in the predetermined unit are stored in a predetermined area of the memory element before being input into the reconfiguration logic unit, and the codeword produced for each group by the error correction encoder is matched with the predetermined area and then stored.

### Claim 3 (depends on 1)

The memory device of claim 1,
wherein the test occurs after the manufacture of the memory element.

### Claim 4 (depends on 1)

The memory device of claim 1, wherein the selection signal is matched with each of the input data and stored in a predetermined area of the memory element.

### Claim 5 (depends on 1)

The memory device of claim 1, wherein the reconfiguration logic unit divides the input data into a first group having data retention properties which are equal to or smaller than a first threshold value and a second group having data retention properties which are greater than the first threshold value,
wherein the error correction encoder applies the error correction encoding algorithm having a higher intensity to the input data in the first group than to the input data in the second group, and
wherein the error correction decoder applies the error correction decoding algorithm corresponding to the intensity applied by the error correction encoder.

### Claim 6 (depends on 1)

The memory device of claim 1, wherein the reconfiguration logic unit divides the input data into a first group having data retention properties which are equal to or smaller than a first threshold value, a second group having data retention properties which are greater than the first threshold value and equal to or smaller than a second threshold value, and a third group having data retention properties which are greater than the second threshold value,
wherein the error correction encoder applies the error correction encoding algorithm having a first intensity to the input data in the first group, the error correction encoding algorithm having a second intensity to the input data in the second group, and the error correction encoding algorithm having a third intensity to the input data in the third group,
wherein the first intensity is the highest and the third intensity is the lowest, and
wherein the error correction decoder applies the error correction decoding algorithm corresponding to the intensity applied by the error correction encoder.

### Claim 7 (depends on 1)

The memory device of claim 1, wherein the codeword includes the input data and parity bits corresponding to the input data.

### Claim 8

An error correction encoding method for a memory device, the method comprising:
grouping input data which are input in a predetermined unit according to data retention properties of each memory cell in which each of the input data will be stored, through a reconfiguration logic unit;
producing a codeword by applying an error correction encoding algorithm with a different intensity to the grouped input data in each group through an error correction encoder; and
matching the codeword produced for each group by the error correction encoder with the data and storing the codeword in a memory element,
wherein the memory element includes multiple memory cells, and
wherein:
the reconfiguration logic unit comprises multiple multiplexer (MUX) circuits configured to change an address of each input data according to a selection signal stored in the memory element so as to arrange memory cells with identical data retention properties to be adjacent to each other based on the multiple MUX circuits, and
the selection signal is configured to change an operation state of each MUX circuit to arrange memory cells with data retention properties in the same group to be adjacent to each other based on a result of a test of the data retention properties of each memory cell.

### Claim 9 (depends on 8)

The error correction encoding method for a memory device of claim 8, wherein the reconfiguration logic unit divides the input data into a first group having data retention properties which are equal to or smaller than a first threshold value and a second group having data retention properties which are greater than the first threshold value, and
wherein the error correction encoder applies an error correction encoding algorithm having a higher intensity to the input data in the first group than to the input data in the second group.

### Claim 10 (depends on 8)

The error correction encoding method for a memory device of claim 8, wherein the reconfiguration logic unit divides the input data into a first group having data retention properties which are equal to or smaller than a first threshold value, a second group having data retention properties which are greater than the first threshold value and equal to or smaller than a second threshold value, and a third group having data retention properties which are greater than the second threshold value,
wherein the error correction encoder applies an error correction encoding algorithm having a first intensity to the input data in the first group, an error correction encoding algorithm having a second intensity to the input data in the second group, and an error correction encoding algorithm having a third intensity to the input data in the third group, and
wherein the first intensity is the highest and the third intensity is the lowest.

### Claim 11

An error correction decoding method for a memory device, the method comprising:
regrouping storage data of a predetermined unit stored in a memory element according to data retention properties of each memory cell in which each of the storage data is stored, through a reconfiguration logic unit;
producing a codeword by applying an error correction decoding algorithm corresponding to an intensity applied by an error correction encoder to the regrouped storage data in each group, through an error correction decoder;
comparing a codeword produced for each group with a codeword for each group matched with the storage data and stored in the memory element, through the error correction decoder; and
performing an error correction process through the error correction decoder according to a result of the comparison,
wherein:
the memory element comprises multiple memory cells, and the reconfiguration logic unit comprises multiple multiplexer (MUX) circuits configured to change an address of each storage data according to a selection signal stored in the memory element so as to arrange memory cells with identical data retention properties to be adjacent to each other based on the multiple MUX circuits, and
the selection signal is configured to change an operation state of each MUX circuit to arrange memory cells with data retention properties in the same group to be adjacent to each other based on a result of a test of the data retention properties of each memory cell.
