Hi all, I am not quite understand the code structure between ruby and others. As to my understand, if I want to use MESI_CMP_directory or MOESI_CMP_directory (to implement inclusive cache hierarchy), I have to compile and run M5 with Ruby supported (scons RUBY=True..) Is it correct? If so, is the cache-related code still in the src/mem/cache directory? I mean, before turning on the ruby option, I made some modifications under the cache directory, such as adding new replacement policies under tags directory, and adding a l3 cache by modifying the BaseCache class. How could I keep all these new features I've added as well as getting inclusive cache supported by MESI or MOESI? I noticed that the l1 and l2 cache implemented in Ruby inherited from RubyCache. I made some modifications in RubyCache class but they are not reflected in the output. So I am confusing about Ruby code. Does that mean I have to modify some code other than, for example, cache_impl.hh? Or is my understanding totally wrong and is there any method to use MESI protocol without Ruby?
Sorry for the big mess and thanks in advance, Yingying
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
