# US 2015/0149864 A1 · Bit recovery system

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

- Number: US 2015/0149864 A1
- Document ID: US20150149864A1
- Status: Published application
- Kind: A1
- Application number: 14/088,867
- Filed: 2013-11-25
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Taehyun Kim; Jung Pill Kim; Sungryul Kim
- Web page: https://patentgrep.com/patent/US20150149864A1

## CPC

- G06F 11/102: {Error in check bits}
- G06F 11/1064: {in cache or content addressable memories}
- G06F 12/00: Accessing, addressing or allocating within memory systems or architectures (digital input from, or digital output to record carriers, e.g. to disk storage units, G06F3/06)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A particular device includes a resistance-based memory device, a tag random-access memory (RAM), and a bit recovery (BR) memory. The resistance-based memory device is configured to store a data value and error-correcting code (ECC) data associated with the data value. The tag RAM is configured to store information that maps memory addresses of a main memory to wordlines of a cache memory, where the cache memory includes the resistance-based memory device. The BR memory is configured to store additional error correction data associated with the data value, where the BR memory corresponds to a volatile memory device.

## Claims

### Claim 1

An apparatus comprising:
a resistance-based memory device configured to store a data value and error-correcting code (ECC) data associated with the data value;
a tag random-access memory (RAM) configured to store information that maps memory addresses of a main memory to wordlines of a cache memory, wherein the cache memory comprises the resistance-based memory device; and
a bit recovery (BR) memory configured to store additional error correction data associated with the data value, wherein the BR memory corresponds to a volatile memory device.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising a total tag memory that comprises the BR memory and the tag RAM.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the tag RAM is configured, in response to receiving a memory address of the main memory, to provide a memory address of the cache memory corresponding to the memory address of the main memory or to indicate that the cache memory does not store data corresponding to the memory address of the main memory.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the resistance-based memory device comprises a Level 3 (L3) cache.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the BR memory is configured to provide the additional error correction data in response to the tag RAM receiving a request for a mapping associated with the data value.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the resistance-based memory device comprises a plurality of wordlines, wherein the data value and the ECC data are stored at a first wordline of the plurality of wordlines, and wherein the BR memory stores additional error correction data for each of the plurality of wordlines included in the resistance-based memory device.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the data value comprises a plurality of words, wherein the ECC data enables correction of a first erroneous bit in each of the plurality of words, and wherein the additional error correction data enables correction of a second erroneous bit in each of the plurality of words.

### Claim 8 (depends on 1)

The apparatus of claim 1, further comprising a second BR memory, wherein the second BR memory corresponds to a non-volatile memory device, wherein the additional error correction data is mirrored between the BR memory and the second BR memory, and wherein the additional error correction data stored at the second BR memory is used to initialize the BR memory in response to a powerup of an electronic device that comprises the BR memory and the second BR memory.

### Claim 9 (depends on 8)

The apparatus of claim 8, further comprising a controller to generate the additional error correction data associated with the data value and to store the additional error correction data at the BR memory and the second BR memory.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the BR memory comprises a static random-access memory (SRAM) device and the second BR memory comprises a magnetoresistive random-access memory (MRAM) device.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the resistance-based memory device comprises a magnetoresistive random-access memory (MRAM) device.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the MRAM device comprises a magnetic tunnel junction (MTJ) device.

### Claim 13 (depends on 1)

The apparatus of claim 1, further comprising a controller configured to cause the additional error correction data to be deleted when the resistance-based memory device is checked to determine whether an error writing the data value to the resistance-based memory device has occurred.

### Claim 14 (depends on 1)

The apparatus of claim 1, integrated in at least one die.

### Claim 15 (depends on 1)

The apparatus of claim 1, further comprising an electronic device selected from a mobile phone, a tablet, a computer, a communications device, a set top box, a music player, a video player, an entertainment unit, a navigation device, a personal digital assistant (PDA), and a fixed location data unit into which the resistance-based memory device, the tag RAM, and the BR memory are integrated.

### Claim 16

A method comprising:
receiving tag information that maps a main memory address corresponding to a data value to a wordline of a non-volatile memory device;
receiving bit recovery (BR) data associated with the data value from a BR memory, wherein the BR memory corresponds to a volatile memory device;
requesting the data value from the non-volatile memory device after receiving the tag information;
receiving the data value and error-correcting code (ECC) data associated with the data value from the non-volatile memory device, wherein the BR data is distinct from the ECC data; and
performing a first error correction operation to correct a first erroneous bit of the data value based on the BR data.

### Claim 17 (depends on 16)

The method of claim 16, further comprising performing a second error correction operation to correct a second erroneous bit of the data value based on the ECC data, wherein the second error correction operation is performed subsequent to the first error correction operation.

### Claim 18 (depends on 16)

The method of claim 16, wherein the tag information is received from the volatile memory device.

### Claim 19 (depends on 18)

The method of claim 18, wherein the BR memory is configured to provide the BR data in response to the volatile memory device receiving a request for the tag information.

### Claim 20 (depends on 16)

The method of claim 16, further comprising generating the BR data in response to performing a refresh operation associated with the data value, wherein the BR data indicates a recurring data error at a memory element included in a particular wordline of the non-volatile memory device, and wherein the data value is stored at the particular wordline of the non-volatile memory device.

### Claim 21 (depends on 20)

The method of claim 20, wherein the memory element is a failed memory element.

### Claim 22 (depends on 16)

The method of claim 16, further comprising writing the BR data from a second BR memory to the BR memory in response to a powerup of an electronic device that comprises the BR memory and the second BR memory, wherein the second BR memory corresponds to a second non-volatile memory device.

### Claim 23 (depends on 16)

The method of claim 16, further comprising:
in response to receiving new data to be written to a particular wordline of the non-volatile memory device, generating refresh data associated with the particular wordline of the non-volatile memory device;
determining whether the refresh data indicates a presence of a recurring data error at a memory element included in the particular wordline of the non-volatile memory device;
when the refresh data indicates the presence of the recurring data error, updating the BR data at the BR memory to include a bit value to be written to the memory element; and
writing the new data to the particular wordline of the non-volatile memory device.

### Claim 24 (depends on 23)

The method of claim 23, further comprising updating the BR data at a second BR memory to include a bit value to be written to the memory element when the refresh data associated with the particular wordline indicates the presence of the recurring data error, wherein the second BR memory corresponds to a second non-volatile memory device.

### Claim 25 (depends on 16)

The method of claim 16, wherein requesting the data value and performing the first error correction operation are initiated by a processor integrated into an electronic device.

### Claim 26

An apparatus comprising:
means for storing a data value and error-correcting code (ECC) data associated with the data value;
means for storing mapping information that maps memory addresses of means for storing main data to wordlines of means for storing cache data, wherein the means for storing cache data comprises the means for storing the data value and the ECC data; and
means for storing recovery bits that stores additional error correction data associated with the data value, wherein the means for storing recovery bits comprises a volatile memory device.

### Claim 27 (depends on 26)

The apparatus of claim 26, integrated in at least one die.

### Claim 28 (depends on 26)

The apparatus of claim 26, further comprising an electronic device selected from a mobile phone, a tablet, a computer, a communications device, a set top box, a music player, a video player, an entertainment unit, a navigation device, a personal digital assistant (PDA), and a fixed location data unit into which the means for storing the data value and the ECC data, the means for storing mapping information, and the means for storing recovery bits are integrated.

### Claim 29

A non-transitory computer readable medium storing instructions that, when executed by a processor, cause the processor to:
receive tag information that maps a main memory address corresponding to a data value to a wordline of a non-volatile memory device;
receive bit recovery (BR) data associated with the data value from a BR memory, wherein the BR memory corresponds to a volatile memory device;
request the data value from the non-volatile memory device after receiving the tag information;
receive the data value and error-correcting code (ECC) data associated with the data value from the non-volatile memory device, wherein the BR data is distinct from the ECC data; and
perform a first error correction operation to correct a first erroneous bit of the data value based on the BR data.

### Claim 30 (depends on 29)

The non-transitory computer readable medium of claim 29, further comprising a device selected from a fixed location data unit and a computer, into which the non-transitory computer readable medium is integrated.
