# US 2025/0147888 A1 · Hardware coherence signaling protocol

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

- Number: US 2025/0147888 A1
- Document ID: US20250147888A1
- Status: Published application
- Kind: A1
- Application number: 19/017,952
- Filed: 2025-01-13
- Published: 2025-05-08
- Earliest claimed: 2019-05-24
- Applicants: Texas Instruments Incorporated
- Inventors: Abhijeet Ashok CHACHAD; David Matthew THOMPSON; Naveen BHORIA; Pete Michael HIPPLEHEUSER
- Web page: https://patentgrep.com/patent/US20250147888A1

## CPC

- G06F 12/0811: with multilevel cache hierarchies
- G06F 9/3004: {to perform operations on memory}
- G06F 9/30047: {Prefetch instructions; cache control instructions}
- G06F 9/30079: {Pipeline control instructions, e.g. multicycle NOP}
- G06F 9/3867: {using instruction pipelines}
- G06F 9/467: {Transactional memory (G06F9/528 takes precedence)}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3055: {Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16)}
- G06F 12/0808: with cache invalidating means (G06F12/0815 takes precedence)
- G06F 12/0815: Cache consistency protocols
- G06F 12/0828: {with concurrent directory accessing, i.e. handling multiple concurrent coherency transactions}
- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/084: with a shared cache
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- G06F 13/1668: {Details of memory controller}
- G06F 2212/1021: Hit rate improvement
- 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)

## Abstract

An apparatus includes a CPU core and a L1 cache subsystem including a L1 main cache, a L1 victim cache, and a L1 controller. The apparatus includes a L2 cache subsystem including a L2 main cache, a shadow L1 main cache, a shadow L1 victim cache, and a L2 controller configured to receive a read request from the L1 controller as a single transaction. Read request includes a read address, a first indication of an address and a coherence state of a cache line A to be moved from the L1 main cache to the L1 victim cache to allocate space for data returned in response to the read request, and a second indication of an address and a coherence state of a cache line B to be removed from the L1 victim cache in response to the cache line A being moved to the L1 victim cache.

## Claims

### Claim 1

A circuit device comprising:
a processor core;
a first cache controller coupled to the processor core, wherein the first cache controller is associated with a first cache level;
a first cache memory coupled to the first cache controller, wherein:
the first cache memory is associated with the first cache level; and
the first cache memory is configured to store a set of cache entries;
a second cache controller coupled to the first cache controller, wherein the second cache controller is associated with a second cache level; and
a memory coupled to the second cache controller and configured to store a set of data that identifies the set of cache entries stored in the first cache memory;
wherein the second cache controller is configured to:
receive a first request;
determine, based on the set of data, whether the first request is a hit in the set of cache entries stored in the first cache memory; and
based on the first request being a hit in the set of cache entries, provide a second request associated with the first request to the first cache controller.

### Claim 2 (depends on 1)

The circuit device of claim 1, wherein:
the first cache level is a level one (L1) cache level; and
the second cache level is a level two (L2) cache level.

### Claim 3 (depends on 2)

The circuit device of claim 2, wherein the first cache level is a level one data (L1D) cache level.

### Claim 4 (depends on 1)

The circuit device of claim 1, wherein:
the first cache memory is a main cache memory;
the set of cache entries is a first set of cache entries;
the memory is a first memory;
the set of data is a first set of data;
the circuit device further comprises:
a victim cache memory coupled to the first cache controller, wherein:
the victim cache memory is associated with the first cache level; and
the victim cache memory is configured to store a second set of cache entries; and
a second memory coupled to the second cache controller and configured to store a second set of data that identifies the second set of cache entries stored in the victim cache memory; and
the second cache controller is configured to determine, based on the second set of data, whether the first request is a hit in the second set of cache entries stored in the victim cache memory.

### Claim 5 (depends on 1)

The circuit device of claim 1, wherein:
the first request is a read request; and
the second request is a snoop read request.

### Claim 6 (depends on 5)

The circuit device of claim 5, wherein the first request is a snoop read request.

### Claim 7 (depends on 1)

The circuit device of claim 1, wherein:
the first request is a write request; and
the second request is a snoop read and invalidate request.

### Claim 8 (depends on 7)

The circuit device of claim 7, wherein:
the first request specifies a set of write data; and
the second cache controller is configured to:
receive a set of read data in response to the second request; and
determine, based on whether the set of read data is modified data, whether to merge the set of write data with the set of read data to produce a set of merged data.

### Claim 9 (depends on 8)

The circuit device of claim 8 further comprising a second cache memory coupled to the second cache controller, wherein the second cache controller is configured to write the set of merged data to the second cache memory.

### Claim 10 (depends on 1)

The circuit device of claim 1, wherein the set of data stored in the memory includes a set of addresses associated with the set of cache entries stored in the first cache memory.

### Claim 11 (depends on 1)

The circuit device of claim 1, wherein the set of data stored in the memory includes a set of coherence states associated with the set of cache entries stored in the first cache memory.

### Claim 12

A circuit device comprising:
a first cache memory associated with a first cache level;
a tag memory; and
a first cache controller coupled to the first cache memory and the tag memory, wherein the first cache controller is configured to:
store a first set of cache entries in the first cache memory;
store a set of tag data in the tag memory, wherein the set of tag data is associated with a second set of cache entries of a second cache memory associated with a second cache level;
receive a first request;
determine, based on the set of tag data, whether the first request is a hit in the second set of cache entries; and
based on the first request being a hit in the set of cache entries, provide a second request to a second cache controller associated with the second cache level.

### Claim 13 (depends on 12)

The circuit device of claim 12, wherein the second cache level is closer to a processor than the first cache level.

### Claim 14 (depends on 12)

The circuit device of claim 12, wherein:
the second cache memory is a main cache memory;
the tag memory is a first tag memory;
the set of tag data is a first set of tag data;
the circuit device further comprises a second tag memory coupled to the first cache controller;
the first cache controller is configured to:
store a second set of tag data in the second tag memory, wherein the second set of tag data is associated with a third set of cache entries of a victim cache memory associated with the second cache level; and
determine, based on the second set of tag data, whether the first request is a hit in the third set of cache entries.

### Claim 15 (depends on 12)

The circuit device of claim 12, wherein the set of tag data includes a set of addresses associated with the second set of cache entries.

### Claim 16 (depends on 12)

The circuit device of claim 12, wherein the set of tag data includes a set of coherence states associated with the second set of cache entries.

### Claim 17

A method comprising:
receiving, by a first cache controller, a first request, wherein the first cache controller is associated with a first cache level;
determining, by the first cache controller, whether the first request is a hit in a cache memory of a second cache level using a tag memory of the first cache level; and
determining, by the first cache controller, whether to provide a second request based on the first request to a second cache controller of the second cache level based on whether the first request in a hit in the cache memory of the second cache level.

### Claim 18 (depends on 17)

The method of claim 17, wherein:
the first cache level is a level two (L2) cache level; and
the second cache level is a level one (L1) cache level.

### Claim 19 (depends on 17)

The method of claim 17, wherein:
the cache memory is a main cache memory;
the tag memory is a main tag memory; and
the method further comprises determining, by the first cache controller, whether the first request is a hit in a victim cache memory of the second cache level using a victim tag memory of the first cache level.

### Claim 20 (depends on 17)

The method of claim 17 further comprising storing a set of addresses associated with the cache memory of the second cache level in the tag memory of the first cache level.
