# US 11,119,910 B2 · Heuristics for selecting subsegments for entry in and entry out operations in an error cache system with coarse and fine grain segments

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

- Number: US 11,119,910 B2
- Document ID: US11119910B2
- Status: Granted
- Kind: B2
- Application number: 16/598,634
- Filed: 2019-10-10
- Published: 2020-04-16
- Granted: 2021-09-14
- Earliest claimed: 2016-09-27
- Assignees: Spin Memory, Inc.
- Applicants: Spin Memory, Inc.
- Inventors: Neal Berger; Susmita Karmakar; TaeJin Pyon; Kuk-Hwan Kim
- Web page: https://patentgrep.com/patent/US11119910B2

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0855: Overlapped cache accessing, e.g. pipeline (G06F12/0846 takes precedence)
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 12/0873: Mapping of cache memory to specific storage devices or parts thereof
- G06F 12/0886: Variable-length word access
- G11C 11/1653: {Address circuits or decoders}
- G11C 11/1675: {Writing or programming circuits or methods}
- G11C 11/1677: {Verifying circuits or methods}
- G11C 11/1693: {Timing circuits or methods}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 29/702: {by replacing auxiliary circuits, e.g. spare voltage generators, decoders or sense amplifiers, to be used instead of defective ones}
- G11C 29/74: {using duplex memories, i.e. using dual copies}
- G06F 2212/313: In storage device
- G11C 7/22: Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management
- G11C 2207/2245: Memory devices with an internal cache buffer
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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 device comprises a memory bank comprising a plurality of addressable memory cells, wherein the memory bank is divided into a plurality of segments. Further, the device comprises a cache memory operable for storing a second plurality of data words, wherein each data word of the second plurality of data words is either awaiting write verification associated with the memory bank or is to be re-written into the memory bank. The cache memory is divided into a plurality of primary segments, wherein each primary segment of the cache memory is direct mapped to a corresponding segment of the plurality of segments, wherein each primary segment is sub-divided into a plurality of secondary segments, and wherein each of the plurality of secondary segments comprises at least one counter for tracking a number of entries stored therein.

## Claims

### Claim 1

A memory device comprising:
a memory bank comprising a plurality of addressable memory cells, wherein the memory bank is divided into a plurality of segments;
a pipeline configured to process write operations of a first plurality of data words addressed to the memory bank;
a cache memory operable for storing a second plurality of data words and associated memory addresses, wherein the second plurality of data words are a subset of the first plurality of data words, wherein the cache memory is associated with the memory bank and wherein further each data word of the second plurality of data words is either awaiting write verification associated with the memory bank or is to be re-written into the memory bank, wherein the cache memory is divided into a plurality of primary segments, wherein each primary segment of the cache memory is direct mapped to a corresponding segment of the plurality of segments of the memory bank, wherein each primary segment of the plurality of primary segments of the cache memory is sub-divided into a plurality of secondary segments, and wherein each of the plurality of secondary segments comprises at least one counter for tracking a number of entries stored therein; and
a logic module operable to:
determine a first primary segment of the plurality of primary segments of the cache memory for performing an access operation; and
select a first secondary segment from the plurality of secondary segments within the first primary segment for performing the access operation, wherein the first secondary segment is selected based on a value of a counter of the selected secondary segment.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein the access operation is an entry-in operation into the first secondary segment, wherein the value of the counter of the first secondary segment is lower than corresponding counter values of other secondary segments within the first primary segment.

### Claim 3 (depends on 1)

The memory device of claim 1, wherein the access operation is an entry-out operation for removing an entry from the first secondary segment, wherein the value of the counter of the first secondary segment is higher than corresponding counter values of other secondary segments within the first primary segment.

### Claim 4 (depends on 3)

The memory device of claim 3, wherein the entry-out operation is incident to a verify operation.

### Claim 5 (depends on 3)

The memory device of claim 3, wherein the entry-out operation is incident to a re-write operation.

### Claim 6 (depends on 1)

The memory device of claim 1, wherein to determine the first primary segment of the plurality of primary segments of the cache memory for performing the access operation, the logic module is further operable to:
determine the first primary segment in the cache memory based on an address of a data word associated with the access operation, wherein the first primary segment directly maps to a segment of the memory bank associated with the access operation.

### Claim 7 (depends on 1)

The memory device of claim 1, wherein each of the plurality of secondary segments of the cache memory is associated with two respective counters to keep track of a number of valid entries corresponding to write 1 errors and a number of valid entries corresponding to write 0 errors stored therein.

### Claim 8

A memory device comprising:
a plurality of memory banks comprising a plurality of addressable memory cells, wherein each of the plurality of memory banks is divided into a plurality of segments;
a pipeline configured to process write operations of a first plurality of data words addressed to the plurality of memory banks;
a cache memory operable for storing a second plurality of data words and associated memory addresses, wherein the second plurality of data words are a subset of the first plurality of data words, wherein the cache memory is associated with the plurality of memory banks and wherein further each data word of the second plurality of data words is either awaiting write verification associated with a memory bank from the plurality of memory banks or is to be re-written into a memory bank from the plurality of memory banks, wherein the cache memory is divided into a plurality of primary segments, wherein each primary segment of the cache memory is direct mapped to a corresponding segment of the plurality of segments of the memory bank, wherein each primary segment of the plurality of primary segments of the cache memory is sub-divided into a plurality of secondary segments, and wherein each of the plurality of secondary segments comprises at least one counter for tracking a number of entries in stored therein; and
a logic module operable to:
determine a first primary segment of the plurality of primary segments of the cache memory for performing an access operation; and
select a first secondary segment from the plurality of secondary segments within the first primary segment for performing the access operation, wherein the first secondary segment is selected based on a value of a counter of the selected secondary segment.

### Claim 9 (depends on 8)

The memory device of claim 8, wherein the access operation is an entry-in operation into the first secondary segment, wherein the value of the counter of the first secondary segment is lower than corresponding counter values of other secondary segments within the first primary segment.

### Claim 10 (depends on 8)

The memory device of claim 8, wherein the access operation is an entry-out operation for removing an entry from the first secondary segment, wherein the value of the counter of the first secondary segment is higher than corresponding counter values of other secondary segments within the first primary segment.

### Claim 11 (depends on 10)

The memory device of claim 10, wherein the entry-out operation is a verify operation.

### Claim 12 (depends on 10)

The memory device of claim 10, wherein the entry-out operation is a re-write operation.

### Claim 13 (depends on 8)

The memory device of claim 8, wherein to determine the primary segment of the plurality of primary segments of the cache memory for performing the access operation, the logic module is further operable to:
determine the first primary segment in the cache memory based on an address of a data word associated with the access operation, wherein the first primary segment directly maps to a segment of the memory bank associated with the access operation.

### Claim 14 (depends on 8)

The memory device of claim 8, wherein each of the plurality of secondary segments of the cache memory is associated with two respective counters to track of a number of valid entries corresponding to write 1 errors and a number of valid entries corresponding to write 0 errors stored therewithin.

### Claim 15

A memory device comprising:
a memory bank comprising a plurality of addressable memory cells, wherein the memory bank is divided into a plurality of segments;
a pipeline configured to process write operations of a first plurality of data words addressed to the memory bank;
a cache memory operable for storing a second plurality of data words and associated memory addresses, wherein the second plurality of data words are a subset of the first plurality of data words, wherein the cache memory is associated with the memory bank and wherein further each data word of the second plurality of data words is either awaiting write verification associated with the memory bank or is to be re-written into the memory bank, wherein the cache memory is divided into a plurality of primary segments, wherein each primary segment of the cache memory is direct mapped to a corresponding segment of the plurality of segments of the memory bank, wherein each primary segment of the plurality of primary segments of the cache memory is sub-divided into a plurality of secondary segments, and wherein each of the plurality of secondary segments comprises at least one counter for tracking a number of entries stored therein; and
a logic module operable to:
determine a first primary segment of the plurality of primary segments of the cache memory for performing an access operation; and
select a first secondary segment from the plurality of secondary segments within the first primary segment for performing the access operation based on an address space that the first secondary segment maps to in the memory bank.
