Hello Pooneh,

There is currently no support for compressed L1 caches (and there is no plan to 
add, since it would require great modifications to the caches), therefore if 
you setup the configuration in src/mem/cache/Cache.py it is going to break it 
(it sets for all caches, including L1).

What you want is to create your own config file (Jason's website can help you 
with that) that sets the L2 (L3,L4...; as many as you want) as compressed. A 
quick and VERY dirty fix just to check if it works would be to add the 
compression parameters (tags = CompressedTags() \n compressor = BDI()) to 
L2Cache in configs/common/Caches.py (Again, you'd better create your own config 
file; it takes a bit of time, but it is worth it).


By the way, you might want to check out the other existing debug flags for 
caches too (src/mem/cache/SConscript).


Regards,
Daniel
   Em quinta-feira, 16 de maio de 2019 21:11:03 GMT+2, Pooneh Safayenikoo 
<poneh.saf...@gmail.com> escreveu:  
 
 Hi,
I installed a new version of Gem5 that has compression patches. So, I changed 
Null to BDI() for compressor in src/mem/cache/Cache.p. but I have a 
segmentation fault when I write a --caches or --l2cache in the command line. I 
wrote dprintf to print data in l2 by adding cache for debug-flage but there is 
nothing in trace file. Could you please tell me how I can fix it?  

Many Thanks!
Best,Pooneh    
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to