Cache memory system with reduced tag memory power consumption
First Claim
1. A cache memory system comprising:
- an address register for storing a tag address and an index address of data to be accessed;
data memories of n-ways ("n" is an integer which is not less than two) for storing data corresponding to said index address;
tag memories of n-ways corresponding to said data memories for storing tag addresses relating to said data stored in said data memories;
n-tag comparators corresponding to said tag memories of n-ways, for comparing a tag address stored in said tag memories of n-ways with said tag address stored in said address register, and for determining whether a cache hit has occurred, where these tag addresses are the same, or a cache miss has occurred, where these tag addresses are different;
a reference frequency information register for storing information indicating the way of said tag memory which has resulted in said cache hit;
an access control circuit for selecting one of said tag memories of n-ways and one of said comparators corresponding to said selected tag memory based on said information from said reference frequency information register, for operating only said selected tag memory and the selected tag comparator, and for controlling a comparison operation between said tag address stored in said address register and a tag address in said selected tag memory, executed by said selected tag comparator, and when said comparison operation between said tag address stored in said address register and said tag address in said selected tag memory results in a cache miss, said tag memories and said tag comparators except for said selected tag memory and said selected tag comparator are operated thereafter;
wherein n is two in said n-way tag memories and said n-way data memories, and said reference frequency information resister is a Last Recently Used bit register for storing information relating to the way of said tag memory corresponding to said data memory to which data will be overwritten in a following data update operation; and
further comprising a reference mode control signal generation means for generating a reference mode control signal to control operation of said access control circuit, and wherein said access control circuit receives said reference mode control signal and said access control circuit switches between a first reference operation mode where one of said tag memories and one of said tag comparators are executed based on said information from said Last Recently Used bit register and a second reference operation mode where all of said tag memories and all of said tag comparators are executed at the same time.
1 Assignment
0 Petitions
Accused Products
Abstract
A cache memory system has an address register for storing a tag address and an index address of data to be accessed, a plurality of data memories for storing data corresponding to said index address, a plurality of tag memories corresponding to said data memories for storing tag addresses relating to said data stored in said data memories, and tag comparators corresponding to said tag memories for comparing a tag address stored in said tag memories with the tag address stored in the address register and for determining whether a cache hit has occurred or a cache miss has occurred. A reference frequency information register stores information indicating a tag memory which has resulted in a cache hit. An access control circuit selects one of the tag memories and one of the comparators corresponding to the selected tag memory based on the information from the reference frequency information register. Only the selected tag memory and the selected tag comparator are operated in order to control a comparison operation of tag addresses and to reduce power consumption.
44 Citations
5 Claims
-
1. A cache memory system comprising:
-
an address register for storing a tag address and an index address of data to be accessed; data memories of n-ways ("n" is an integer which is not less than two) for storing data corresponding to said index address; tag memories of n-ways corresponding to said data memories for storing tag addresses relating to said data stored in said data memories; n-tag comparators corresponding to said tag memories of n-ways, for comparing a tag address stored in said tag memories of n-ways with said tag address stored in said address register, and for determining whether a cache hit has occurred, where these tag addresses are the same, or a cache miss has occurred, where these tag addresses are different; a reference frequency information register for storing information indicating the way of said tag memory which has resulted in said cache hit; an access control circuit for selecting one of said tag memories of n-ways and one of said comparators corresponding to said selected tag memory based on said information from said reference frequency information register, for operating only said selected tag memory and the selected tag comparator, and for controlling a comparison operation between said tag address stored in said address register and a tag address in said selected tag memory, executed by said selected tag comparator, and when said comparison operation between said tag address stored in said address register and said tag address in said selected tag memory results in a cache miss, said tag memories and said tag comparators except for said selected tag memory and said selected tag comparator are operated thereafter; wherein n is two in said n-way tag memories and said n-way data memories, and said reference frequency information resister is a Last Recently Used bit register for storing information relating to the way of said tag memory corresponding to said data memory to which data will be overwritten in a following data update operation; and further comprising a reference mode control signal generation means for generating a reference mode control signal to control operation of said access control circuit, and wherein said access control circuit receives said reference mode control signal and said access control circuit switches between a first reference operation mode where one of said tag memories and one of said tag comparators are executed based on said information from said Last Recently Used bit register and a second reference operation mode where all of said tag memories and all of said tag comparators are executed at the same time. - View Dependent Claims (2, 3, 5)
-
-
4. A cache memory system comprising:
-
an address register for storing a tag address and an index address of data to be accessed; data memories of n-ways ("n" is an integer which is not less than two) for storing data corresponding to said index address; tag memories of n-ways corresponding to said data memories for storing tag addresses relating to said data stored in said data memories; n-tag comparators corresponding to said tag memories of n-ways, for comparing a tag address stored in said tag memories of n-ways with said tag address stored in said address register, and for determining whether a cache hit has occurred, where these tag addresses are the same, or a cache miss has occurred, where these tag addresses are different; a reference frequency information register for storing information indicating the way of said tag memory which has resulted in said cache hit; an access control circuit for selecting one of said tag memories of n-ways and one of said comparators corresponding to said selected tag memory based on said information from said reference frequency information register, for operating only said selected tag memory and the selected tag comparator, and for controlling a comparison operation between said tag address stored in said address register and a tag address in said selected tag memory, executed by said selected tag comparator, and when said comparison operation between said tag address stored in said address register and said tag address in said selected tag memory results in a cache miss, said tag memories and said tag comparators except for said selected tag memory and said selected tag comparator are operated thereafter; wherein n is not less than three in said n-way tag memories and said n-way data memories, and said reference frequency information register is a Most Recently Used (MRU) bit register for storing information relating to the way of said tag memory corresponding to said data memory which was referred to recently in a reference operation for said tag address; and further comprising a reference mode control signal generation means for generating a reference mode control signal to control operation of said access control circuit, and wherein said access control circuit receives said reference mode control signal and said access control circuit switches between a first reference operation mode where one of said tag memories and one of said tag comparators are executed based on said information from said MRU bit register and a second reference operation mode where all of said tag memories and all of said tag comparators are executed at the same time.
-
Specification