# US 2023/0402085 A1 · Managing Data Refresh in Semiconductor Devices

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

- Number: US 2023/0402085 A1
- Document ID: US20230402085A1
- Status: Published application
- Kind: A1
- Application number: 17/838,921
- Filed: 2022-06-13
- Published: 2023-12-14
- Earliest claimed: 2022-06-13
- Assignees: Macronix International Co., Ltd.
- Applicants: Macronix International Co., Ltd.
- Inventors: Shuo-Nan Hung
- Web page: https://patentgrep.com/patent/US20230402085A1

## CPC

- G11C 11/40615: {Internal triggering or timing of refresh, e.g. hidden refresh, self refresh, pseudo-SRAMs}
- G11C 11/40618: {Refresh operations over multiple banks or interleaving}
- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- G11C 16/3422: {Circuits or methods to evaluate read or write disturbance in nonvolatile memory, without steps to mitigate the problem}
- G11C 16/3495: {Circuits or methods to detect or delay wearout of nonvolatile EPROM or EEPROM memory devices, e.g. by counting numbers of erase or reprogram cycles, by using multiple memory areas serially or cyclically}
- H03K 19/20: characterised by logic function, e.g. AND, OR, NOR, NOT circuits (H03K19/003 - H03K19/01 take precedence)
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

Methods, devices, and systems for managing data refresh for semiconductor devices are provided. In one aspect, a semiconductor device includes a memory cell array having a plurality of blocks each including multiple pages and one or more integrated circuits coupled to the memory cell array. The one or more integrated circuits are configured to: read specific data from a page of a block in the memory cell array, perform a logic operation on the specific data in the page to obtain a logic operation result, count a number of bits having a specific value among the logic operation result, determine whether the number of bits is within a data refresh criterion for the page, and in response to determining that the number of bits is outside of the data refresh criterion, generate a data refresh warning message for the page in the block.

## Claims

### Claim 1

A system comprising:
a memory comprising a plurality of blocks, each block comprising multiple pages; and
a controller coupled to the memory and configured to send an operation command to the memory, the operation command corresponding to one or more pages in the memory,
wherein the memory is configured to:
read specific data stored in a page of the one or more pages,
perform a logic operation on the specific data in the page to obtain a logic operation result, and
count a number of bits having a specific value among the logic operation result, the number of bits being associated with data refresh determination for a corresponding block including the page.

### Claim 2 (depends on 1)

The system of claim 1, wherein the memory is configured to:
determine whether the number of bits is within a data refresh criterion for the page, and
in response to determining that the number of bits is outside of the data refresh criterion, generate a data refresh warning message for the page in the corresponding block.

### Claim 3 (depends on 2)

The system of claim 2, wherein the memory is configured to:
determine whether there is at least one other data refresh warning message generated for at least one other page in the corresponding block; and
in response to determining that there is no other data refresh warning message generated for the at least one other page in the corresponding block, send the data refresh warning message and information associated with the corresponding block to the controller.

### Claim 4 (depends on 3)

The system of claim 3, wherein the controller is configured to:
in response to receiving the data refresh warning message and the information associated with the corresponding block from the memory, record the corresponding block for data refresh.

### Claim 5 (depends on 2)

The system of claim 2, wherein the memory is further configured to:
in response to determining at least one of (i) the number of bits is within the data refresh criterion or (ii) there is at least one other data refresh warning message generated for at least one other page in the corresponding block, determine whether the page is a last page of the one or more pages corresponding to the operation command.

### Claim 6 (depends on 5)

The system of claim 5, wherein the memory is further configured to:
in response to determining that the page is the last page of the one or more pages corresponding the operation command, send a message to the controller, the message indicating a completion of the operation command, and
in response to determining at least one of: (i) there is a second page following the page in the one or more pages or (ii) there is a resume command received from the controller, continue to read data stored in the second page for further operation.

### Claim 7 (depends on 2)

The system of claim 2, wherein the memory comprises a configuration register storing the data refresh criterion for the page, and
wherein the configuration register is configured to store respective data fresh criterions for different pages in the memory.

### Claim 8 (depends on 7)

The system of claim 7, wherein a block comprises a plurality of pages that are associated with a same word line and include memory cells having a series of states, and among the series of states, data programmed in a first state has an inclination to suffer from more data degradation than data programmed in a second state, and
wherein the controller is configured to program, for the plurality of pages, first specific data in the first state and second specific data in the second state, and the first specific data has a higher data distribution weight than the second specific data among specific data for the plurality of pages.

### Claim 9 (depends on 1)

The system of claim 1, wherein each programmed page in the memory stores corresponding specific data in the programmed page.

### Claim 10 (depends on 1)

The system of claim 1, wherein the memory is configured to:
read data from the page, the data comprising the specific data stored in a first area of the page and second data stored in a second, different area of the page,
perform the logic operation on the second data to obtain a second logic operation result,
count a second number of bits having a second specific value among the second logic operation result, and
determine whether the second number of bits having the second specific value is no greater than a predetermined threshold.

### Claim 11 (depends on 10)

The system of claim 10, wherein the memory is configured to:
in response to determining that the second number of bits is no greater than the predetermined threshold, send pass data information for the page to the controller, and
in response to determining that the second number of bits is greater than the predetermined threshold, determine whether there is a data refresh warning message generated for the page.

### Claim 12 (depends on 11)

The system of claim 11, wherein the controller is configured to:
in response to receiving the pass data information from the memory, determine whether the page is a last page of the one or more pages corresponding to the operation command.

### Claim 13 (depends on 10)

The system of claim 10, wherein the controller is configured to send a write command and the data including the second data and the specific data to the memory and
wherein the memory is configured to write the second data in the second area and the specific data in the first area of the page.

### Claim 14 (depends on 10)

The system of claim 10, wherein the controller is configured to send a write command and the second data to the memory, and
wherein the memory is configured to write the second data in the second area and program the specific data in the first area of the page based on a predetermined configuration.

### Claim 15 (depends on 1)

The system of claim 1, wherein the memory is configured to send the number of bits to the controller, and
wherein the controller is configured to: determine whether the number of bits is within a data refresh criterion for the page, and in response to determining that the number of bits is outside of the data refresh criterion, record the corresponding block for data refresh.

### Claim 16 (depends on 1)

The system of claim 1, wherein the memory is configured to perform the logic operation on the specific data in the page and input data corresponding to the logic operation to obtain the logic operation result, and
wherein the logic operation comprises at least one of AND, NAND, OR, NOR, XOR, or XNOR, and the input data corresponding to the logic operation comprises a series of “1” or a series of “0” for performing the data refresh determination on the specific data.

### Claim 17

A semiconductor device comprising:
a memory cell array having a plurality of blocks, each block comprising multiple pages; and
one or more integrated circuits coupled to the memory cell array and configured to:
read specific data from a page of a block in the memory cell array,
perform a logic operation on the specific data in the page to obtain a logic operation result,
count a number of bits having a specific value among the logic operation result,
determine whether the number of bits is within a data refresh criterion for the page, and
in response to determining that the number of bits is outside of the data refresh criterion, generate a data refresh warning message for the page in the block.

### Claim 18 (depends on 17)

The semiconductor device of claim 17, wherein the one or more integrated circuits comprise at least one of a page buffer circuit, a cache circuit, or a counting circuit, and
wherein the semiconductor device further comprises a configuration register storing the data refresh criterion for the page, and the configuration register is configured to store respective data fresh criterions for different pages in the memory.

### Claim 19 (depends on 17)

The semiconductor device of claim 17, wherein the one or more integrated circuits are configured to:
read data from the page, the data comprising the specific data stored in a first area of the page and second data stored in a second, different area of the page,
perform the logic operation on the second data to obtain a second logic operation result,
count a second number of bits having a second specific value among the second logic operation result,
determine whether the second number of bits having the second specific value is no greater than a predetermined threshold, and
in response to determining that the second number of bits having the second specific value is greater than the predetermined threshold, determine whether the data refresh warning message is generated for the page.

### Claim 20

A method comprising:
reading specific data from a page of a block in a memory;
performing a logic operation on the specific data in the page to obtain a logic operation result;
counting a number of bits having a specific value among the logic operation result;
determining whether the number of bits is within a data refresh criterion for the page; and
in response to determining that the number of bits is outside of the data refresh criterion, generating a data refresh warning message for the page in the block.
