# US 2016/0259728 A1 · Cache system with a primary cache and an overflow fifo cache

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

- Number: US 2016/0259728 A1
- Document ID: US20160259728A1
- Status: Published application
- Kind: A1
- Application number: 14/889,114
- Filed: 2014-12-12
- Published: 2016-09-08
- Earliest claimed: 2014-10-08
- Assignees: Via Alliance Semiconductor Co., Ltd.
- Applicants: Via Alliance Semiconductor Co., Ltd.
- Inventors: COLIN EDDY; RODNEY E. HOOKER
- Web page: https://patentgrep.com/patent/US20160259728A1

## CPC

- G06F 12/0833: {in combination with broadcast means (e.g. for invalidation or updating)}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 2212/1024: Latency reduction
- G06F 2212/283: Plural cache memories
- G06F 2212/68: Details of translation look-aside buffer [TLB]
- G06F 2212/681: Multi-level TLB, e.g. microTLB and main TLB
- G06F 2212/684: TLB miss handling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A cache memory system including a primary cache and an overflow cache that are searched together using a search address. The overflow cache operates as an eviction array for the primary cache. The primary cache is addressed using bits of the search address, and the overflow cache is configured as a FIFO buffer. The cache memory system may be used to implement a translation lookaside buffer for a microprocessor.

## Claims

### Claim 1

A cache memory system, comprising:
a primary cache memory including a first plurality of storage locations organized as a plurality of sets and a corresponding plurality of ways;
an overflow cache memory that operates as an eviction array for said primary cache memory, wherein said overflow cache memory includes a second plurality of storage locations organized as a first-in, first-out buffer; and
wherein said primary cache memory and said overflow cache memory are searched together for a stored value that corresponds with a received search address.

### Claim 2 (depends on 1)

The cache memory system of claim 1, wherein said overflow cache array comprises N storage locations and N corresponding comparators, wherein each of said N storage locations stores a corresponding one of N stored addresses and a corresponding one of N stored values, and wherein each of said N comparators compares said search address with a corresponding one of said N stored addresses to determine a hit within said overflow cache array.

### Claim 3 (depends on 2)

The cache memory system of claim 2, wherein said N stored addresses and said search address each comprise a virtual address, wherein each of said N stored values comprises a corresponding one of N physical addresses, and wherein said overflow cache array outputs a corresponding one of said N physical addresses that corresponds with said search address when said hit occurs.

### Claim 4 (depends on 1)

The cache memory system of claim 1, wherein an entry stored within any one of said first plurality of storage locations that is evicted from said primary cache memory is pushed onto said first-in, first-out buffer of said overflow cache memory.

### Claim 5 (depends on 1)

The cache memory system of claim 1, further comprising:
a level two cache;
wherein said primary cache memory and said overflow cache memory collectively comprise a level one cache; and
wherein an entry stored within one of said second plurality of storage locations that is evicted from said overflow cache memory is stored in said level two cache.

### Claim 6 (depends on 1)

The cache memory system of claim 1, wherein said primary cache memory and said overflow cache memory each comprise a translation lookaside buffer for storing a plurality of physical addresses of a main system memory for a microprocessor.

### Claim 7 (depends on 1)

The cache memory system of claim 1, wherein said primary cache memory comprises 16 sets by 4 ways of storage locations, and wherein said first-in, first-out buffer of said overflow cache memory comprises 8 storage locations.

### Claim 8 (depends on 1)

The cache memory system of claim 1, further comprising:
logic that combines a first number of hit signals and a second number of hit signals into one hit signal;
wherein said primary cache memory comprises said first number of ways and a corresponding first number of comparators providing said first number of hit signals; and
wherein said overflow cache memory comprises said second number of comparators providing said second number of hit signals.

### Claim 9 (depends on 1)

The cache memory system of claim 1, wherein:
said primary cache memory is operative to evict a tag value from one of said first plurality of storage locations within said primary cache memory and to form a victim address by appending said evicted tag value with an index value stored within said one of said first plurality of storage locations, and to evict a victim value from said one of said first plurality of storage locations that corresponds with said victim address; and
wherein said victim address and said victim value collectively form a new entry that is pushed onto said first-in, first out buffer of said overflow cache array.

### Claim 10 (depends on 1)

The cache memory system of claim 1, further comprising:
wherein a retrieved entry for storage into said primary cache memory includes an address comprising a tag value and a primary index, wherein said primary index is provided to an index input of said primary cache memory, and wherein said tag value is provided to a data input of said primary cache memory;
wherein said primary cache memory is operative to select an entry corresponding to one of said plurality of ways of a set indicated by said primary index, to evict a tag value from said selected entry and to form a victim address by appending said evicted tag value with an index value of said selected entry, and to evict a victim value from said selected entry that corresponds with said victim address; and
wherein said victim address and said victim value collectively form a new entry pushed onto said first-in, first out buffer of said overflow cache array.

### Claim 11

A microprocessor, comprising:
an address generator that provides a virtual address; and
a cache memory system, comprising:
a primary cache memory including a first plurality of storage locations organized as a plurality of sets and a corresponding plurality of ways;
an overflow cache memory that operates as an eviction array for said primary cache memory, wherein said overflow cache memory includes a second plurality of storage locations organized as a first-in, first-out buffer; and
wherein said primary cache memory and said overflow cache memory are searched together for a stored physical address that corresponds with said virtual address.

### Claim 12 (depends on 11)

The microprocessor of claim 11, wherein said overflow cache array comprises N storage locations and N corresponding comparators, wherein each of said N storage locations stores a corresponding one of N stored virtual addresses and a corresponding one of N physical addresses, and wherein each of said N comparators compares said virtual address from said address generator with a corresponding one of said N stored virtual addresses to determine a hit within said overflow cache array.

### Claim 13 (depends on 11)

The microprocessor of claim 11, wherein an entry stored within any one of said first plurality of storage locations that is evicted from said primary cache memory is pushed onto said first-in, first-out buffer of said overflow cache memory.

### Claim 14 (depends on 11)

The microprocessor of claim 11, wherein:
said cache memory system includes a level two cache;
wherein said primary cache memory and said overflow cache memory collectively comprise a level one cache; and
wherein an entry evicted from said overflow cache memory is stored in said level two cache.

### Claim 15 (depends on 14)

The microprocessor of claim 14, further comprising:
a tablewalk engine that accesses system memory to retrieve said stored physical address when a miss occurs in said cache memory system;
wherein said stored physical address found in either one of said level two cache and said system memory is stored in said primary cache memory; and
wherein an entry evicted from said primary cache memory is pushed onto said first-in, first-out buffer of said overflow cache memory.

### Claim 16 (depends on 11)

The microprocessor of claim 11, wherein said cache memory system further comprises:
logic that combines a first plurality of hit signals and a second plurality of hit signals into one hit signal for said cache memory system;
wherein said primary cache memory comprises said first number of ways and a corresponding first number of comparators providing said first number of hit signals; and
wherein said overflow cache memory comprises said second number of comparators providing said second number of hit signals.

### Claim 17 (depends on 11)

The microprocessor of claim 11, wherein said cache memory system comprises a level one translation lookaside buffer for storing a plurality of physical addresses that correspond with a plurality of virtual addresses.

### Claim 18 (depends on 17)

The microprocessor of claim 17, further comprising:
a tablewalk engine that accesses system memory when a miss occurs in said cache memory system; and
wherein said cache memory system includes a level two translation lookaside buffer that forms an eviction array for said overflow cache memory, and wherein said level two translation lookaside buffer is searched when a miss occurs in said primary cache memory and said overflow cache memory.

### Claim 19

A method of caching data, comprising:
storing a first plurality of entries in a primary cache memory that is organized as a plurality of sets and a corresponding plurality of ways;
storing a second plurality of entries in an overflow cache memory that is organized as a first-in, first-out buffer;
operating the overflow cache memory as an eviction array for the primary cache memory; and
searching the primary cache memory at the same time as searching the overflow cache memory for a stored value that corresponds with a received search address.

### Claim 20 (depends on 19)

The method of claim 19, wherein said storing a second plurality of entries in an overflow cache memory comprises storing a plurality of virtual addresses and a corresponding plurality of physical addresses.

### Claim 21 (depends on 19)

The method of claim 19, wherein said searching the overflow cache memory comprises comparing the received search address with each of a plurality of stored addresses stored in the second plurality of entries of the first-in, first-out buffer to determine if the stored value is stored within the overflow cache memory.

### Claim 22 (depends on 19)

The method of claim 19, further comprising:
generating a first hit indication based on said searching the primary cache memory;
generating a second hit indication based on said searching the overflow cache memory;
combining the first and second hit indications to provide a single hit indication.

### Claim 23 (depends on 19)

The method of claim 19, further comprising:
evicting a victim entry from the primary cache memory; and
pushing the victim entry of the primary cache memory into the first-in, first-out buffer of the overflow cache memory.

### Claim 24 (depends on 23)

The method of claim 23, further comprising pushing out an oldest entry of the first-in, first-out buffer.
