# US 2026/0086898 A1 · Pipelined read-modify-write operations in cache memory

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

- Number: US 2026/0086898 A1
- Document ID: US20260086898A1
- Status: Published application
- Kind: A1
- Application number: 19/408,524
- Filed: 2025-12-04
- Published: 2026-03-26
- Earliest claimed: 2019-05-24
- Applicants: Texas Instruments Incorporated
- Inventors: Abhijeet Ashok Chachad; David Matthew Thompson; Daniel Brad Wu
- Web page: https://patentgrep.com/patent/US20260086898A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 9/3816: {Instruction alignment, e.g. cache line crossing}
- G06F 11/1064: {in cache or content addressable memories}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0815: Cache consistency protocols
- G06F 12/0855: Overlapped cache accessing, e.g. pipeline (G06F12/0846 takes precedence)
- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- H04W 24/10: Scheduling measurement reports {; Arrangements for measurement reports}
- H04W 56/001: {Synchronization between nodes}
- H04W 72/02: Selection of wireless resources by user or terminal
- H04W 72/044: based on the type of the allocated resource
- H04W 74/0841: {with collision treatment}
- H04W 74/0866: {using a dedicated channel for access}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/1024: Latency reduction
- G06F 2212/608: Details relating to cache mapping
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

In described examples, a processor system includes a processor core that generates memory write requests, a cache memory, and a memory pipeline of the cache memory. The memory pipeline has a holding buffer, an anchor stage, and an RMW pipeline. The anchor stage determines whether a data payload of a write request corresponds to a partial write. If so, the data payload is written to the holding buffer and conforming data is read from a corresponding cache memory address to merge with the data payload. The RMW pipeline has a merge stage and a syndrome generation stage. The merge stage merges the data payload in the holding buffer with the conforming data to make merged data. The syndrome generation stage generates an ECC syndrome using the merged data. The memory pipeline writes the data payload and ECC syndrome to the cache memory.

## Claims

### Claim 1

A device, comprising:
a cache memory including a first memory bank; and
a memory controller including a first set of pipeline stages that further includes:
a first pipeline stage; and
a second pipeline stage coupled to the first pipeline stage and the first memory bank,
wherein the second pipeline stage is configurable to:
receive a first memory transaction; and
based on the first memory transaction being associated with a read-modify-write (RMW) operation, store a first set of data associated with the first memory transaction in a first buffer; and
wherein the first pipeline stage is configurable to:
receive a second memory transaction; and
based on a second memory transaction being associated with the first memory transaction,
merge a second set of data associated with the second memory transaction with the first set of data to produce a first merged set of data; and
store the first merged set of data in the first buffer.

### Claim 2 (depends on 1)

The device of claim 1, wherein:
the second pipeline stage is configurable to, based on the first memory transaction, read a third set of data from the first memory bank; and
the first set of pipeline stages includes a merge stage configurable to merge the third set of data with either the first merged set of data in the first buffer or the first set of data associated with the first memory transaction to produce a second merged set of data.

### Claim 3 (depends on 2)

The device of claim 2, wherein the second pipeline stage is configurable to write the second merged set of data to the first memory bank.

### Claim 4 (depends on 1)

The device of claim 1, wherein to determine whether the second memory transaction is associated with the first memory transaction, the first pipeline stage is configurable to determine whether the second memory transaction and the first memory transaction are directed to a same address.

### Claim 5 (depends on 1)

The device of claim 1, wherein to determine whether the first memory transaction is associated with an RMW operation, the second pipeline stage is configurable to determine whether the first memory transaction is a partial write of the first memory bank.

### Claim 6 (depends on 1)

The device of claim 1, wherein the first pipeline stage precedes the second pipeline stage in the first set of pipeline stages such that the first pipeline stage provides the first memory transaction to the second pipeline stage.

### Claim 7 (depends on 1)

The device of claim 1, wherein the first pipeline stage is configurable to merge the second set of data and the first set of data by overwriting a portion of the first set of data with a portion of the second set of data.

### Claim 8 (depends on 1)

The device of claim 1, wherein the second pipeline stage is configurable to:
receive the second memory transaction;
determine whether the second memory transaction is associated with a full line write of the first memory bank; and
based on the second memory transaction being associated with a full line write, invalidate the first memory transaction.

### Claim 9 (depends on 1)

The device of claim 1, wherein:
the cache memory includes a second memory bank; and
the memory controller includes a second set of pipeline stages that further includes:
a third pipeline stage; and
a fourth pipeline stage coupled to the third pipeline stage and the second memory bank,
wherein the fourth pipeline stage is configurable to
receive a third memory transaction; and
based on the third memory transaction being associated with an RMW operation, store a third set of data associated with the third memory transaction in a second buffer; and
wherein the third pipeline stage is configurable to:
receive a fourth memory transaction; and
based on the fourth memory transaction is associated with the third memory transaction,
merge a fourth set of data associated with the fourth memory transaction with the third set of data to produce a second merged set of data; and
store the second merged set of data in the second buffer.

### Claim 10 (depends on 9)

The device of claim 9, wherein whether the first memory transaction is associated with an RWM operation is independent from whether the third memory transaction is associated with an RMW operation.

### Claim 11

A device, comprising:
a cache memory;
a processor configurable to provide a first memory transaction and a second memory transaction directed to the cache memory; and
a memory controller including a set of pipeline stages that further includes:
a first pipeline stage; and
a second pipeline stage coupled to the first pipeline stage and the cache memory,
wherein the second pipeline stage is configurable to:
based on the first memory transaction being associated with a read-modify-write (RMW) operation, store a first set of data associated with the first memory transaction in a buffer; and
wherein the first pipeline stage is configurable to:
based on a fourth memory transaction being associated with the second memory transaction:
merge a second set of data associated with the second memory transaction with the first set of data to produce a merged set of data; and
store the merged set of data in the buffer.

### Claim 12

A method, comprising:
receiving, by a memory controller, a first memory transaction directed to a cache memory that includes a first memory bank;
determining, by the memory controller, whether to store a first set of data associated with the first memory transaction in a first buffer based on whether the first memory transaction is associated with a read-modify-write (RMW) operation;
receiving, by the memory controller, a second memory transaction directed to the cache memory; and
determining, by the memory controller, based on whether the second memory transaction is associated with the first memory transaction, whether to:
merge the first set of data with a second set of data associated with the second memory transaction to produce a first merged set of data; and
store the first merged set of data in the first buffer.

### Claim 13 (depends on 12)

The method of claim 12, further comprising writing the first merged set of data to the first memory bank.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
based on the first memory transaction, retrieving a third set of data from the first memory bank; and
merging the first merged set of data with the third set of data to produce a second merged set of data.

### Claim 15 (depends on 14)

The method of claim 14, further comprising writing the second merged set of data to the first memory bank.

### Claim 16 (depends on 12)

The method of claim 12, wherein determining whether the second memory transaction is associated with the first memory transaction comprises determining whether the second memory transaction and the first memory transaction are directed to a same address.

### Claim 17 (depends on 12)

The method of claim 12, wherein determining whether the first memory transaction is associated with an RMW operation comprises determining whether the first memory transaction is a partial write of the first memory bank.

### Claim 18 (depends on 12)

The method of claim 12, wherein merging the first set of data with the second set of data comprises overwriting a portion of the first set of data with a portion of the second set of data.

### Claim 19 (depends on 12)

The method of claim 12, further comprising determining whether to invalidate the first memory transaction based on whether the second memory transaction is a full line write.

### Claim 20 (depends on 12)

The method of claim 12, further comprising:
determining whether to store a third set of data associated with a third memory transaction in a second buffer based on whether the third memory transaction is associated with an RMW operation; and
determining based on whether a fourth memory transaction is associated with the third memory transaction whether to:
merge the third set of data with a fourth set of data associated with the fourth memory transaction to produce a second merged set of data; and
store the second merged set of data in the second buffer.
