# US 2025/0156328 A1 · Memory interface having multiple snoop processors

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

- Number: US 2025/0156328 A1
- Document ID: US20250156328A1
- Status: Published application
- Kind: A1
- Application number: 19/022,425
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2018-02-28
- Assignees: Imagination Technologies Limited
- Applicants: Imagination Technologies Limited
- Inventors: Martin John Robinson; Mark Landers
- Web page: https://patentgrep.com/patent/US20250156328A1

## CPC

- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/0833: {in combination with broadcast means (e.g. for invalidation or updating)}
- G06F 12/0846: Cache with multiple tag or data arrays being simultaneously accessible
- G06F 12/10: Address translation
- G06F 13/1673: {using buffers}
- G06F 13/4068: {Electrical coupling}
- G06F 12/1018: involving hashing techniques, e.g. inverted page tables
- G06F 2212/62: Details of cache specific to multiprocessor cache arrangements
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory interface for interfacing between a memory bus and a cache memory. A plurality of bus interfaces are configured to transfer data between the memory bus and the cache memory, and a plurality of snoop processors are configured to receive snoop requests from the memory bus. Each snoop processor is associated with a respective bus interface and each snoop processor is configured, on receiving a snoop request, to determine whether the snoop request relates to the bus interface associated with that snoop processor and to process the snoop request in dependence on that determination.

## Claims

### Claim 1

A memory interface for interfacing between a memory bus addressable using a physical address space and a cache memory addressable using a virtual address space, the memory interface comprising:
a coherency manager comprising a reverse translation module having a reverse translation data structure configured to maintain the mapping from the physical address space to the virtual address space, and wherein the coherency manager is configured to determine a fill level of at least one of the reverse translation data structure and the cache, and to evict cache line data from the cache memory in dependence on determining that the fill level exceeds a fill level threshold;
wherein the memory interface is configured to:
receive a snoop request from the memory bus, the snoop request being addressed in the physical address space; and
translate the snoop request, at the coherency manager, to a translated snoop request addressed in the virtual address space for processing in connection with the cache memory.

### Claim 2 (depends on 1)

The memory interface of claim 1, in which the memory interface is configured to allocate new data to a cache line undergoing writeback and/or eviction before the writeback and/or eviction process completes, to store data relating to the allocation, and to respond to the received snoop request in dependence on the stored data relating to the allocation.

### Claim 3 (depends on 1)

The memory interface of claim 1, wherein the memory interface is further configured to:
receive a memory read request from the cache memory, the memory read request being addressed in the virtual address space;
translate the memory read request, at the memory management unit, to a translated memory read request addressed in the physical address space for transmission on the memory bus.

### Claim 4 (depends on 1)

The memory interface of claim 1, in which the reverse translation module comprises logic for calculating the virtual address in dependence on the physical address, based on a known relationship between the physical address space and the virtual address space.

### Claim 5 (depends on 1)

The memory interface of claim 1, in which the reverse translation module comprises a reverse translation data structure configured to maintain a mapping from the physical address space to the virtual address space.

### Claim 6 (depends on 5)

The memory interface of claim 5, in which the reverse translation data structure comprises a directory linking a physical address in the physical address space to a corresponding virtual address in the virtual address space.

### Claim 7 (depends on 5)

The memory interface of claim 5, in which the reverse translation data structure comprises one or more field associated with each physical to virtual address mapping entry, the one or more field being for storing data relating to the mapping.

### Claim 8 (depends on 7)

The memory interface of claim 7, in which the coherency manager is configured to process the snoop request in dependence on the data relating to the mapping stored in the one or more field.

### Claim 9 (depends on 8)

The memory interface of claim 8, in which the one or more field comprises a state field for indicating an overall state of the entry, and where the state field indicates that the entry is in an invalid state, the coherency manager is configured to determine that the snoop request results in a cache miss and to cause a corresponding response to the snoop request to be sent on the bus.

### Claim 10 (depends on 5)

The memory interface of claim 5, in which, where the reverse translation data structure does not comprise a mapping for a particular physical address, the coherency manager is configured to determine that the snoop request results in a cache miss and to cause a corresponding response to the snoop request to be sent on the bus.

### Claim 11 (depends on 1)

The memory interface of claim 1, further comprising a cache line status data structure configured to store status information relating to cache lines associated with each virtual address mapped at the reverse translation module.

### Claim 12 (depends on 11)

The memory interface of claim 11, in which the coherency manager is configured to process the snoop request in dependence on the status information relating to the cache line stored in the cache line status data structure.

### Claim 13 (depends on 12)

The memory interface of claim 12, in which, where the status information relating to the cache line indicates that the cache line is at least one of:
in an invalid state,
undergoing spilling, and
undergoing a writeback or eviction process,
the coherency manager is configured to determine that the snoop request results in a cache miss and to cause a corresponding response to the snoop request to be sent on the bus.

### Claim 14 (depends on 5)

The memory interface of claim 5, in which the coherency manager is further configured to maintain, at the reverse translation data structure, entries in respect of coherent cache lines only.

### Claim 15 (depends on 1)

The memory interface of claim 1, further comprising a buffer configured to store one or more intermediate response generated in response to the received snoop request, the memory interface being configured to respond to the snoop request in dependence on the stored one or more intermediate response.

### Claim 16 (depends on 1)

The memory interface of claim 1, in which the memory interface is further configured to:
cause at least one of the snoop request and the translated snoop request relating to a particular cache line to be stored in a queue, and
prior to processing the translated snoop request, permit a subsequent snoop request relating to the particular cache line to be processed.

### Claim 17 (depends on 1)

The memory interface of claim 1, in which the coherency manager is further configured to store a request counter indicating the number of outstanding requests on cache lines within a memory page, to increment the request counter in response to a snoop request, and to decrement the request counter in response to a snoop request response, in which the coherency manager is configured to restrict eviction of a cache line in the memory page where the request counter is non-zero.

### Claim 18 (depends on 1)

The memory interface of claim 1, in which the cache memory comprises a plurality of cache banks and the memory interface is configured to determine the cache bank to which the translated snoop request is addressed in dependence on the reverse translation module, the memory interface being configured to process the translated snoop request at the determined cache bank.

### Claim 19

A method for interfacing, at a memory interface, between a memory bus addressable using a physical address space and a cache memory addressable using a virtual address space, the memory interface a coherency manager comprising a reverse translation module having a reverse translation data structure configured to maintain the mapping from the physical address space to the virtual address space, and wherein the coherency manager is configured to determine a fill level of at least one of the reverse translation data structure and the cache, and to evict cache line data from the cache memory in dependence on determining that the fill level exceeds a fill level threshold, the method comprising:
receiving a snoop request from the memory bus, the snoop request being addressed in the physical address space; and
translating the snoop request, at the coherency manager, to a translated snoop request addressed in the virtual address space for processing in connection with the cache memory.

### Claim 20

A non-transitory computer readable storage medium having stored thereon a computer readable dataset description of an integrated circuit that, when processed in an integrated circuit manufacturing system, causes the integrated circuit manufacturing system to manufacture a memory interface for interfacing between a memory bus addressable using a physical address space and a cache memory addressable using a virtual address space, the memory interface comprising:
a coherency manager comprising a reverse translation module having a reverse translation data structure configured to maintain the mapping from the physical address space to the virtual address space, and wherein the coherency manager is configured to determine a fill level of at least one of the reverse translation data structure and the cache, and to evict cache line data from the cache memory in dependence on determining that the fill level exceeds a fill level threshold;
wherein the memory interface is configured to:
receive a snoop request from the memory bus, the snoop request being addressed in the physical address space, and
translate the snoop request, at the coherency manager, to a translated snoop request addressed in the virtual address space for processing in connection with the cache memory.
