# US 11,119,936 B2 · Error cache system with coarse and fine segments for power optimization

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

- Number: US 11,119,936 B2
- Document ID: US11119936B2
- Status: Granted
- Kind: B2
- Application number: 16/598,647
- 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/US11119936B2

## CPC

- G06F 12/0893: Caches characterised by their organisation or structure
- G06F 12/0873: Mapping of cache memory to specific storage devices or parts thereof
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G11C 7/1039: {using pipelining techniques, i.e. using latches between functional memory parts, e.g. row/column decoders, I/O buffers, sense amplifiers}
- G11C 7/20: Memory cell initialisation circuits, e.g. when powering up or down, memory clear, latent image memory
- G11C 11/1675: {Writing or programming circuits or methods}
- G11C 11/1677: {Verifying circuits or methods}
- G11C 11/1695: {Protection circuits or methods}
- G06F 2212/608: Details relating to cache mapping
- G11C 7/22: Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management
- G11C 11/1655: {Bit-line or column circuits}
- G11C 11/1657: {Word-line or row circuits}
- G11C 11/1673: {Reading or sensing circuits or methods}
- G11C 11/1693: {Timing circuits or methods}
- G11C 2207/2245: Memory devices with an internal cache buffer
- H10W 90/00: Package configurations
- H10W 90/297: {characterised by the through-semiconductor vias [TSVs] in the stacked chips}
- 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)
- H10W: GENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
- 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 for storing data comprises a memory bank comprising a plurality of addressable memory cells, wherein the memory bank is divided into a plurality of segments. The memory device also comprises a cache memory operable for storing a second plurality of data words, wherein further each data word of the second plurality of data words is either awaiting write verification 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 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 each of the plurality of secondary segments comprises at least one counter for tracking a number of valid entries stored therein.

## Claims

### Claim 1

A memory device for storing data, the 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; and
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 each of the plurality of secondary segments comprises at least one counter for tracking a number of valid entries stored therein, and wherein a secondary segment for storing a data word from the second plurality of data words is selected based on a selection criterion.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein a number of the plurality of primary segments is a power of 2.

### Claim 3 (depends on 1)

The memory device of claim 1, wherein each of the plurality of primary segments comprises a same number of secondary segments.

### Claim 4 (depends on 1)

The memory device of claim 1, wherein a number of total entries in a primary segment of the plurality of primary segments is a non power of 2.

### Claim 5 (depends on 1)

The memory device of claim 1, wherein a number of secondary segments in each of the plurality of primary segments is a non power of 2.

### Claim 6 (depends on 1)

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

### Claim 7 (depends on 1)

The memory device of claim 1, wherein the memory bank comprises a plurality of magnetic random access memory (MRAM) cells.

### Claim 8 (depends on 1)

The memory device of claim 1, wherein the memory bank comprises a plurality of spin-transfer torque magnetic random access memory (STT-MRAM) cells.

### Claim 9

A memory device for storing data, the memory device comprising:
a plurality of memory banks, each 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; and
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 bank from the plurality of memory banks or is to be re-written into a 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 plurality of memory banks, wherein each primary segment of the plurality of primary segments of the cache memory is sub-divided into a plurality of secondary segments, wherein each of the plurality of secondary segments comprises at least one counter for tracking a number of valid entries stored therein, and wherein a secondary segment from the plurality of secondary segments is selected for performing an access operation based on a selection criterion.

### Claim 10 (depends on 9)

The memory device of claim 9, wherein each of the plurality of primary segments comprises an equal number of secondary segments.

### Claim 11 (depends on 9)

The memory device of claim 9, wherein each secondary segment 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 therein.

### Claim 12 (depends on 9)

The memory device of claim 9, wherein the memory bank comprises a plurality of magnetic random access memory (MRAM) cells.

### Claim 13 (depends on 9)

The memory device of claim 9, wherein the memory bank comprises a plurality of spin-transfer torque magnetic random access memory (STT-MRAM) cells.

### Claim 14

A memory device comprising:
a memory bank comprising a plurality of magnetic random access memory (MRAM) cells, wherein each memory cell is configured to store a data word at a respective one of a plurality of memory addresses, and wherein the memory bank is divided into a plurality of segments;
a dynamic redundancy register comprising data storage elements, wherein the dynamic redundancy register is divided into a plurality of primary segments, wherein each primary segment of the dynamic redundancy register 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 dynamic redundancy register 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 a respective secondary segment; and
a pipeline bank coupled to the memory bank and the dynamic redundancy register, wherein the pipeline bank is configured to:
write a data word into a segment of the memory bank that corresponds to a selected address of the plurality of memory addresses;
verify the data word written into the memory bank to determine whether the data word was successfully written; and
responsive to a determination that the data word was not successfully written, writing the data word and the selected address into a selected secondary segment of a selected primary segment of the dynamic redundancy register, wherein the selected primary segment directly maps to the segment of the memory bank associated with the selected address of the data word, and wherein the selected secondary segment is selected based on a selection criteria.

### Claim 15 (depends on 14)

The memory device of claim 14, wherein the selected secondary segment within the primary segment for storing the data word in the dynamic redundancy register is selected based on a counter value of the selected secondary segment.

### Claim 16 (depends on 15)

The memory device of claim 15, wherein each secondary segment of the dynamic redundancy register is associated with two respective counters to track a number of valid entries corresponding to write 1 errors and a number of valid entries corresponding to write 0 errors stored therewithin.

### Claim 17 (depends on 15)

The memory device of claim 15, wherein a direct mapping between the plurality of primary segments of the dynamic redundancy register and the plurality of segments of the memory bank comprise a logical mapping.

### Claim 18 (depends on 15)

The memory device of claim 15, wherein a direct mapping between the plurality of primary segments of the dynamic redundancy register and the plurality of segments of the memory bank comprise a physical mapping.

### Claim 19 (depends on 14)

The memory device of claim 14, wherein the memory bank comprises a plurality of magnetic random access memory (MRAM) cells.

### Claim 20 (depends on 14)

The memory device of claim 14, wherein power consumed by a secondary segment is limited to a size of the secondary segment, wherein the size of the secondary segment is smaller than a size of a primary segment.
