Hi Javed,

addSharedL2Cache is only called on lines 465 and 470 of CHI.py and these lines 
are touched only if options.littleclust_l2cache == 'shared'.
You don't set it in the command line and the default value is 'private', which 
explains why it never gets called.

Also I suspect that on lines 475 and 481 at least, you intended to call 
addSharedL2Cache instead of addPrivL2Cache.

Maybe you could start over from the original CHI_config.py file and add the 
addSharedL2Cache to CHI_RNF to check that it works in a simpler case. There 
should really not be much to change from addPricL2Cache implementation to get a 
shared L2. Walk your way up from a single cluster and single cpu cluster to a 
single cluster and dual cpu to a multi cluster and multi cpu configuration. 
Once you are sure about what needs to be done for a shared L2 cache to work, 
you will be able to clean up you current implementation from all these little 
bugs ;) I see no reason for this not to work.

Best,
Gabriel
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to