Hello Gabriel

Thank you for your reply. Will realise your suggestions.

Best regards
JO

-----Original Message-----
From: Gabriel Busnot via gem5-users [mailto:gem5-users@gem5.org] 
Sent: 12 July 2021 09:23
To: gem5-users@gem5.org
Cc: Gabriel Busnot <gabriel.bus...@arteris.com>
Subject: [gem5-users] Re: CHI - Cluster CPUs having a private L2 cache

Hi Javed,

This looks fine to me, at least regarding L2s being private.
CHI_config.py:538 in the line where you instantiate a cache memory per CPU and 
CHI_config.py:557 is the line where you instantiate the CHI ruby controller 
that makes use of that cache memory instance.

One way to check if two python variables point to the same instance or not is 
to test them with "is": ((a is b) == True) means that a and b are the same  
object. (a is not b) is the test syntax you want to test for non-identity. Just 
check that ruby_system.littleCluster._cpus[i].l2 as well as 
ruby_system.littleCluster._cpus[i].l2.cache are different for all i.

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
_______________________________________________
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