Hello

>> If the answer to the above question is yes, then why even have that 
>> attribute for the class?

Looking in more detail, CHI_HNFController is derived from CHI_Cache_Controller 
class.
The CHI_Cache_Controller class is used to derive the CHI_L1Controller and 
CHI_L2Controller class objects. In these cases the number_of_snoop_TBEs 
attribute is used to handle the number of snoop requests the respective cache 
controller can receive.


Best regards
J.Osmany

From: Javed Osmany
Sent: 05 October 2021 16:33
To: gem5-users@gem5.org
Cc: Javed Osmany <javed.osm...@huawei.com>
Subject: CHI_config.py

Hello

In CHI_config.py, for the class CHI_HNFController we have

class CHI_HNFController(CHI_Cache_controller):
          :
          :
        # Some reasonable default TBE params
        self.number_of_TBEs = 32
        self.number_of_repl_TBEs = 32
        self.number_of_snoop_TBEs = 1 # should not receive any snoop
        self.unify_repl_TBEs = False
           :


The number_of_snoop_TBEs is set to 1 with the corresponding comment.
This seems to indicate that the number_of_snoop_TBEs can be left at 1 since the 
CHI_HNFController should not receive any snoop requests.
Is this because a RNF coherence request which gets a hit in the directory will 
generate a snoop request to one or more other RNFs which may be holding a copy 
of the cache line?
If the answer to the above question is yes, then why even have that attribute 
for the class?


Thanks in advance
J.Osmany
_______________________________________________
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