# US 2021/0265002 A1 · Method and system for replacement of memory cells

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

- Number: US 2021/0265002 A1
- Document ID: US20210265002A1
- Status: Published application
- Kind: A1
- Application number: 17/011,991
- Filed: 2020-09-03
- Published: 2021-08-26
- Earliest claimed: 2020-02-26
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Co., Ltd.
- Inventors: Hiroki NOGUCHI
- Web page: https://patentgrep.com/patent/US20210265002A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/20: using counters or linear-feedback shift registers [LFSR]
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 29/72: {with optimized replacement algorithms}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G11C: STATIC STORES (semiconductor memory devices H10B)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A memory system is disclosed. The memory system includes a first memory array, an error correction code circuit, and a monitor circuit. The error correction code circuit is configured to receive data from the first memory array to correct, at least one error bit in the received data. The error correction code circuit is further configured to generate an error determination signal. The monitor circuit is coupled to the error correction code circuit. The monitor circuit is configured to receive the error determination signal and record at least one fail word address associated with the at least one error bit and corresponding failure times in an error table.

## Claims

### Claim 1

A memory system, comprising:
a first memory array;
an error correction code circuit configured to receive data from the first memory array to correct at least one error bit in the received data, and configured to generate an error determination signal; and
a monitor circuit coupled to the error correction code circuit, wherein the monitor circuit is configured to receive the error determination signal and record at least one fail word address associated with the at least one error bit and corresponding failure times in an error table.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the corresponding failure times are recorded and incremented as a counter value in the error table.

### Claim 3 (depends on 1)

The memory system of claim 1, further comprising:
a second memory array; and
a replace circuit configured to replace memory locations, corresponding to the at least one fail word address, in the first memory array with backup memory locations in the second memory array when the corresponding failure times as a counter value is greater than a predetermined threshold value.

### Claim 4 (depends on 1)

The memory system of claim 1, wherein the monitor circuit comprises:
a compare circuit configured to determine, in response to the error determination signal, whether the at least one fail word address is in the error table; and
a control circuit configured to generate an increment signal to increment a counter value corresponding to the at least one fail word address when the at least one fail word address is in the error table.

### Claim 5 (depends on 1)

The memory system of claim 1, further comprising:
a replace circuit coupled to the monitor circuit;
wherein the monitor circuit further comprises:
a control circuit configured to determine whether a counter value corresponding to the failure times is greater than a predetermined threshold value, and to transfer the at least one fail word address to the replace circuit.

### Claim 6 (depends on 1)

The memory system of claim 1, further comprising:
a processing unit coupled to the monitor circuit and configured to set the monitor circuit to read at least one fail word address associated with M error bits in the error table.

### Claim 7 (depends on 1)

The memory system of claim 1, wherein the at least one fail word address in the error table is different from word addresses stored in a repair information configured for a replacement operation.

### Claim 8 (depends on 1)

The memory system of claim 1, wherein the at least one fail word address includes a plurality of fail word addresses, and the monitor circuit is further configured to sort the plurality of fail word addresses in descending order based on counter values associated with failure times;
wherein the memory system further comprises:
a replace circuit configured to replace periodically memory locations corresponding to a first address, having a maximal counter value of the counter values, of the plurality of fail word address.

### Claim 9

A method, comprising:
detecting, by an error correction code circuit, error bits of a plurality of sequences of data received from a memory array;
incrementing, by a monitor circuit, a plurality of counter values in an error table, wherein the plurality of counter values are associated with a plurality of fail word addresses corresponding to the plurality of sequences of data;
determining, by the monitor circuit, whether the plurality of counter values are greater than a threshold value; and
in response to the determining, replacing, by a replace circuit, a plurality memory locations corresponding to the plurality of fail word addresses with a plurality of backup memory locations.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
correcting, by the error correction code circuit, a maximum N number of error bits of the plurality of sequences of data; and
setting, by a processing unit, a number M for the monitor circuit to record the plurality of fail word addresses associated with M error bits;
wherein N and M are positive integers, and N is greater than M.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
adjusting the number M, in response to a control signal, to be equal to N.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
determining whether the plurality of fail word addresses are in the error table; and
recording the plurality of fail word address in the error table.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
after replacing, removing the corresponding fail word addresses from the error table.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
sorting the plurality of fail word addresses based on the plurality of counter values; and
replacing periodically memory locations corresponding to a first address, of the plurality of fail word address, having a maximal counter value of the counter values.

### Claim 15

A method, comprising:
counting, by a monitor circuit, a plurality of counter values associated with a plurality of fail word addresses, wherein the plurality of fail word addresses are associated with error bits of data received from a plurality of memory cells;
updating, by the monitor circuit, a repair information with a first word address of the plurality of fail word addresses, wherein the first word address corresponds to a maximal one of the plurality of counter values; and
replacing, by a replace circuit, the plurality of memory cells with a plurality of backup memory cells corresponding to the first word address before the plurality of memory cells are not able to be repaired.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
correcting, by an error correction code circuit, the error bits in the data; and
generating an error determination signal, by an error correction code circuit, wherein the error determination signal includes at least one of the plurality of fail word addresses.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
recording, in response to the error determination signal, the at least one of plurality of fail word addresses in an error table.

### Claim 18 (depends on 15)

The method of claim 15, wherein counting the plurality of counter values comprises:
determining whether a second word address of the plurality of fail word addresses is in an error table; and
when the second word address is not in the error table, recording the second word address in the error table and setting a corresponding counter value being 1.

### Claim 19 (depends on 18)

The method of claim 18, wherein counting the plurality of counter values comprises:
when the second word address is in the error table, incrementing the corresponding counter value by 1.

### Claim 20 (depends on 15)

The method of claim 15, further comprising:
comparing the plurality of counter values with a threshold value; and
when a first value of the plurality of counter values is greater than the threshold value, replacing memory locations, corresponding to one of fail word addresses associated with the first value, with backup memory locations.
