On Sun, 2 Dec 2012, Udayan Umapathi wrote:
Hello,
I am trying to modify the existing Cache model in Gem5. I figured that,
\ruby\System\Cache_memory.cc has the definition for the cache memory
model. There is a 2d array, "m_cache" of size
(cache_number_of_sets*associativity). There is "m_tag_index" hash map o
store the tags for the cache entry. Can someone tell me how the tag
entry and the data entry are related. My implementation requires the
increasing the number of tags per set to twice the number of tags that
currently exist.
Take a look at the function CacheMemory::allocate(). You should be able to
figure out how m_cache and m_tag_index are populated.
--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users