# US 2012/0254541 A1 · Methods and apparatus for updating data in passive variable resistive memory

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

- Number: US 2012/0254541 A1
- Document ID: US20120254541A1
- Status: Published application
- Kind: A1
- Application number: 13/079,518
- Filed: 2011-04-04
- Published: 2012-10-04
- Earliest claimed: 2011-04-04
- Assignees: Advanced Micro Devices, Inc.
- Inventors: Brad Beckmann; Lisa Hsu
- Web page: https://patentgrep.com/patent/US20120254541A1

## CPC

- G06F 12/0806: Multiuser, multiprocessor or multiprocessing cache systems
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and apparatus for updating data in passive variable resistive memory (PVRM) are provided. In one example, a method for updating data stored in PVRM is disclosed. The method includes updating a memory block of a plurality of memory blocks in a cache hierarchy without invalidating the memory block. The updated memory block may be copied from the cache hierarchy to a write through buffer. Additionally, the method includes writing the updated memory block to the PVRM, thereby updating the data in the PVRM.

## Claims

### Claim 1

An apparatus comprising:
a cache hierarchy comprising a plurality of memory blocks;
a write through buffer operatively connected to the cache hierarchy;
passive variable resistive memory (PVRM) operatively connected to the write through buffer; and
a processor operatively connected to the cache hierarchy, the processor operative to update a memory block of the plurality of memory blocks in the cache hierarchy without invalidating the memory block, wherein the cache hierarchy is operative to copy the updated memory block to the write through buffer in response to the processor updating the memory block, and wherein the write through buffer is operative to write the updated memory block to the PVRM.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the PVRM comprises at least one of phase-change memory, spin-torque transfer magnetoresistive memory, and memristor memory.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the PVRM is operatively connected to the write through buffer over an on-die interface, and wherein the write through buffer is operative to write the updated memory block to the PVRM over the on-die interface.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the on-die interface comprises a double data rate interface.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the processor is further operative to execute at least one FENCE instruction, each at least one FENCE instruction causing the write through buffer to notify the processor when it has written the updated memory block to the PVRM.

### Claim 6 (depends on 5)

The apparatus of claim 5, further comprising at least one additional processor, wherein the processor and each at least one additional processor have a consistent global view of data in the PVRM following the execution of each at least one FENCE instruction by the processor.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the cache hierarchy comprises at least one of a level 1 cache, a level 2 cache, and a level 3 cache.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the PVRM is byte-addressable.

### Claim 9

A method for updating data in passive variable resistive memory (PVRM), the method comprising:
updating a memory block of a plurality of memory blocks in a cache hierarchy without invalidating the memory block;
copying the updated memory block from the cache hierarchy to a write through buffer; and
writing the updated memory block to the PVRM, thereby updating the data in the PVRM.

### Claim 10 (depends on 10)

The method of claim 10, wherein the PVRM comprises at least one of phase-change memory, spin-torque transfer magnetoresistive memory, and memristor memory.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
executing, by the processor, at least one FENCE instruction; and
notifying the processor when the updated memory block has been written to the PVRM based on the FENCE instruction.

### Claim 12 (depends on 9)

The method of claim 9, wherein the cache hierarchy comprises at least one of a level 1 cache, a level 2 cache, and a level 3 cache.

### Claim 13 (depends on 9)

The method of claim 9, wherein the PVRM is byte-addressable.

### Claim 14

An apparatus comprising:
a cache hierarchy comprising a plurality of memory blocks; passive variable resistive memory (PVRM);
a PVRM controller operatively connected to the cache hierarchy and the PVRM; and
a processor operatively connected to the PVRM controller, the processor operative to transmit control information to the PVRM controller identifying which at least one memory block of the plurality of memory blocks to copy from the cache hierarchy to the PVRM, wherein the PVRM controller is operative to copy the at least one identified memory block from the cache hierarchy to the PVRM in response to the control information.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the PVRM comprises at least one of phase-change memory, spin-torque transfer magnetoresistive memory, and memristor memory.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the processor is operative to obtain completion notification information, wherein the completion notification information is operative to notify the processor that the at least one identified memory block has been copied from the cache hierarchy to the PVRM.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the processor is operative to obtain the completion notification information by polling a status bit associated with the PVRM controller, wherein the status bit indicates whether or not the at least one identified memory block has been copied from the cache hierarchy to the PVRM.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the processor is operative to obtain the completion notification information by receiving, from the PVRM controller, a processor interrupt signal indicating that the at least one identified memory block has been copied from the cache hierarchy to the PVRM.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein the PVRM is operatively connected to the cache hierarchy over an on-die interface, and wherein the PVRM controller is operative to copy the at least one identified memory block from the cache hierarchy to the PVRM over the on-die interface.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the on-die interface comprises a double data rate interface.

### Claim 21 (depends on 14)

The apparatus of claim 14, wherein the cache hierarchy comprises at least one of a level 1 cache, a level 2 cache, and a level 3 cache.

### Claim 22

A method for updating data in passive variable resistive memory (PVRM), the method comprising:
transmitting, by a processor, control information to a PVRM controller identifying which at least one memory block of a plurality of memory blocks in a cache hierarchy to copy from the cache hierarchy to the PVRM;
copying the at least one identified memory block from the cache hierarchy to the persistent file system in PVRM in response to the control information, thereby updating the data in the PVRM.

### Claim 23 (depends on 22)

The method of claim 22, wherein the PVRM comprises at least one of phase-change memory, spin-torque transfer magnetoresistive memory, and memristor memory.

### Claim 24 (depends on 22)

The method of claim 22, further comprising:
obtaining, by the processor, completion notification information, wherein the completion notification information is operative to notify the processor that the at least one identified memory block has been copied from the cache hierarchy to the PVRM.

### Claim 25 (depends on 24)

The method of claim 24, wherein obtaining completion notification information comprises at least one of:
polling, by the processor, a status bit associated with the PVRM controller, wherein the status bit indicates whether or not the at least one identified memory block has been copied from the cache hierarchy to the PVRM; and
receiving, by the processor, a processor interrupt signal from the PVRM controller indicating that the at least one identified memory block has been copied from the cache hierarchy to the PVRM.

### Claim 26 (depends on 20)

The method of claim 20, wherein copying the at least one identified memory block from the cache hierarchy to the PVRM comprises copying the least one identified memory block from the cache hierarchy to the PVRM over an on-die interface.

### Claim 27 (depends on 26)

The method of claim 26, wherein the on-die interface comprises a double data rate interface.

### Claim 28 (depends on 22)

The method of claim 22, wherein the cache hierarchy comprises at least one of a level 1 cache, a level 2 cache, and a level 3 cache.
