Hi jason,
Apologies for a naive understanding of your tutorial, I just thought the
cache that you designed can be the design of tag-less caches, since there
were no tags used in your implementation. Apparently, I'm understanding is
completely wrong.
I need a tagless architecture for the cache to
Hi Varun,
The SimpleCache is just a starting point. It isn't at all a realistic
model! It's an example to show you how to use gem5 ports. It will not be
able to handle most realistic situations (e.g., being used as anything
other than a single core L1 cache).
You can take this code as a starting
Hi Jason,
I went through the tutorial and understood quite a bit of it. What I
understood is that, there is no usage of tags in the implementation, just
an unordered map. So I thought with some changes in the latencies, I can
create a tagless blocking cache. Is this a correct starting point in
imp
Hi Jason,
So I should understand how to create new objects in the simulator and try
to create a new object for tag-less cache. I will go through the book and
see if I get any leads in this regard. I will update on this in a week.
Thank you.
Regards
Varun
___
Hi Varun,
You might want to check out http://learning.gem5.org/book/part2/. This
walks you through how to create new objects in gem5 and culminates in a
simple cache model (that you may be able to build off of). Additionally,
you can check out the code in the gem5 source that was just committed (s
Hi Cho,
Thank you for replying.
The cache implementation is too huge and confusing when trying to
understand its implementation. I didn't still understand it completely. Any
specific pointers, or methods, to look at while I try to change the
implementation???
Any idea which other files or classe
Dear, Varun.
In my opinion, you can make new class which inherit BaseCache or MemObject.
As I think, if you implement tag-less cache in conventional cache class,
you need to a flag which indicate tag-less cache and many conditional
sentence everywhere operate differently with a conventional cache
Hi,
I'm trying to implement a tag-less cache architecture only for the last
level cache. As I understand, there is only one implementation for all
levels of caches. How do I change only the implementation for the last
level cache, leaving other caches being accessed in a conventional manner.
Any