A METHOD AND APPARATUS FOR INCORPORATING CACHE LINE REPLACEMENT AND CACHE WRITE POLICY INFORMATION INTO TAG DIRECTORIES IN A CACHE SYSTEM
Patent №
US 5,325,504
Granted
1994-06-28
Filed 1991
Owner
COMPAQ COMPUTER CORPORATION, A DE CORP.
Lab
—
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
07752761
A method and apparatus for incorporating cache line replacement and cache write policy information into the tag directories in a cache system. In a 2 way set-associative cache, one bit in each way's tag RAM is reserved for LRU information, and the bits are manipulated such that the Exclusive-OR of each way's bits points to the actual LRU cache way. Since all of these bits must be read when the cache controller determines whether a hit or miss has occurred, the bits are available when a cache miss occurs and a cache line replacement is required. The method can be generalized to caches which include a number of ways greater than two by using a pseudo-LRU algorithm and utilizing group select bits in each of the ways to distinguish between least recently used groups. Cache write policy information is stored in the tag RAM's to designate various memory areas as write-back or write-through. In this manner, system memory situated on an I/O bus which does not recognize inhibit cycles can have its data cached.
AI classification
Ownership
COMPAQ COMPUTER CORPORATION, A DE CORP.
assignment · 58430573
Assignors
TIPLEY, ROGER E., KELLY, PHILIP C.
On an employer assignment, the assignors are typically the inventors.