I am doing a project in which i want to perform tag comparisons as follows :

In the first cycle of any instruction execution ; i want to compare only the
tags of the Most Recently Used(MRU) way of a particular set . if it is a HIT
,execute next instruction .

If it is a MISS for MRU way  ,in the second instruction cycle i will compare
the rest of the (associativity - 1 )ways of the same set and determine if it
a hit or not ;

If it hit , execute next instruction , but if it is still a MISS i will
replace the block according to Lru replacement policy in the third
instruction cycle;

Can somebody help me with this ?The cache architecture is called WAY
PREDICTING CACHE.

I think I will have to make some changes in the file "
mem/cache/tags/cacheset.hh "


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to