Ruby implements only writeback L1s
The Opal cache.C and cache.h should be
ignored for the most part.
To implement a victim cache, you will
likely need to add this to the SLICC protocol specifications.
--Mike
-----Original Message-----
From:
gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Lei Yang
Sent: Monday, September 04, 2006
1:54 PM
To: Gems-users@xxxxxxxxxxx
Subject: [Gems-users] Cache design
in GEMS
I just recently start using GEMS for my research project on
new CMP cache hierarchy designs. In my simulation I'll be using both ruby and
opal. I was trying to modify code that is related to the cache design, for
example, insert a victim cache between L1 and L2. However I found in
ruby/system a CacheMemory.h, also in opal/system cache.C and cache.h files. I
am wondering which one(s) should I be looking at? Also, where in the code is
the write-back/write-through policy specified for L1 and L2?
Your comments are greatly appreciated. Thanks a lot!!