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. It may be also less readable code. But if you make new class, you can write the code for tag-less cache totally. Make a new class and copy the code of the conventional cache. If you inherit MemObject, copy BaseCache code also. After copy them, modify for tag-less cache. Cheers, Haeyoon Cho. 2017-12-06 16:27 GMT+09:00 Saivarun R <rsvaru...@gmail.com>: > 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 help is deeply appreciated :-) > > Thank you in advance > Varun > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users