Claims
- 1. In a cache controller tag RAM directory configured into two ways, a right way and a left way, each way including stored tag addresses, valid bits, and a write protect bit, there being least recently used (LRU) pointers that can be set to point to either said left way or said right way to indicate, as between said left way and said right way, a least recently used data entry, a combination comprising:
- first means for asserting a first signal upon a first condition that a warm start reset state is recognized and a second condition that a power up state is recognized;
- second means connected to said first means for withdrawing all pending write requests in response to said first signal;
- third means connected to said first means for, in response to said first signal, only setting said valid bits, and said write protect bit to zero in each of said ways and said LRU pointers to zero to thereby point to said left way;
- said third means including means for unasserting said first signal;
- fourth means connected to said third means for starting a write cycle upon a third condition that said first signal is unasserted;
- fifth means connected to said fourth means for comparing a search tag address presented to said directory with said stored tag addresses;
- sixth means connected to said fifth means for generating a right hit signal upon a fourth condition that a match exists between said search tag address and one of said stored tag addresses stored in said right way;
- seventh means connected to said fifth means for generating a left hit signal upon a fifth condition that a match exists between said search tag address and one of said stored tag addresses stored in said left way;
- eighth means connected to said seventh means for selecting said right way for a right line fill in response to said right hit signal;
- ninth means connected to said eighth means for flipping a corresponding least recently used pointer to point to said left way upon the filling of said right line of said right way;
- tenth means connected to said seventh means for selecting said left way for a left line fill in response to said left hit signal; and,
- eleventh means connected to said tenth means for flipping said corresponding least recently used pointer to point to said right way upon the filling of said left line of said left way.
- 2. In a cache directory that is divided into two ways, a right way and a left way, each way including stored tag addresses valid bites, and a write protect bit, there being least recently used (LRU) pointers that can be set to point to either said left way or said right way to indicate, as between said left way and said right way, a least recently used data entry a method comprising the steps of:
- A. asserting a first signal upon a first condition that a reset state is recognized and a second condition that a power up condition is recognized;
- B. withdrawing all pending write requests in response to said first signal;
- C. setting only said valid bits, and said write protect bit to zero in each of said ways and said LRU pointers to zero to thereby point to said left way, in response to said first signal;
- D. unasserting said first signal;
- E. starting a write cycle upon a third condition that said first signal is unasserted;
- F. comparing a search tag address presented to said cache directory with said stored tag addresses;
- G. generating a right hit signal upon a fourth condition that a match exists between said search tag address and one of said stored tag addresses stored in said right way;
- H. generating a left hit signal upon a fifth condition that a match exists between said search tag stored and one of said stored tag addresses stored in said left way;
- I. selecting said right way for a right line fill in response to said right hit signal;
- J. flipping a corresponding least recently used pointer to point to said left way upon the filling of said right line of said right way;
- K. selecting said left way for a left line fill in response to said left hit signal; and,
- L. flipping said corresponding least recently used pointer to point to said right way upon the filling of said left line of said left way.
- 3. In a cache controller tag random access memory directory configured into two ways, a right way and a left way, each way including stored tag addresses, valid bits, and least recently used (LRU) pointers that can be set to point to either said left way or said right way to indicate, as between said left way and said right way, a least recently used data entry, a combination comprising:
- a processor interface for asserting a flush signal upon a first condition that a warm start reset state is recognized and a second condition that a power up state is recognized;
- a cache controller connected to said processor interface for withdrawing all pending write requests in response to said flush signal being asserted;
- tag flush logic connected to said processor interface for, in response to said flush signal, only setting said valid bits to zero in each of said ways and said LRU pointers to zero to thereby point to said left way;
- said tag flush logic including means for unasserting said flush signal;
- tag access logic connected to said processor interface for starting a write e cycle in response to said flush signal being unasserted;
- a tag random access memory connected to said tag access logic for comparing a search tag address presented to said directory with said stored tag addresses;
- a right hit compare circuit connected to said tag random access memory for generating a right hit signal upon a third condition that a match exists between said search tag address and one of said stored tag addresses stored in said right way;
- a left hit compare circuit connected to said tag random access memory for generating a left hit signal upon a fourth condition that a match exists between said search tag address and one of said stored tag addresses stored in said left way;
- a tag interface connected to said left hit compare circuit and to said right hit compare circuit for selecting said right way for a right line fill in response to said right hit signal and for selecting said left way for a left line fill in response to said left hit signal; and,
- a tag interface connected to said eighth means for flipping a corresponding least recently used pointer to point to said left way upon the filling of said right line of said right way;
- said tag interface including second means connected to said right hit compare circuit for flipping said least recently used pointer to point to said right way upon the filling of said left line of said left way.
Parent Case Info
This application is a continuation of Ser. No. 07/767,700 filed Sept. 3, 1991 now abandoned.
US Referenced Citations (7)
Continuations (1)
|
Number |
Date |
Country |
Parent |
767700 |
Sep 1991 |
|