summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2016-08-12 14:11:45 +0100
committerAndreas Hansson <andreas.hansson@arm.com>2016-08-12 14:11:45 +0100
commit080d4e08d627b5b726afec71d38370373b7376c5 (patch)
tree5a0676effdf719cc3d3b0ca1319d70770cc78eb4 /src/mem
parenta23e914519de16061340db62d7a5dfc2cc7d027e (diff)
downloadgem5-080d4e08d627b5b726afec71d38370373b7376c5.tar.xz
mem: Add snoop filter to SystemXBar by default
This patch changes the default behaviour of the SystemXBar, adding a snoop filter. With the recent updates to the snoop filter allocation behaviour this change no longer causes problems for the regressions without caches. Change-Id: Ibe0cd437b71b2ede9002384126553679acc69cc1 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/XBar.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/XBar.py b/src/mem/XBar.py
index 674f9262e..59f0d8d8d 100644
--- a/src/mem/XBar.py
+++ b/src/mem/XBar.py
@@ -153,6 +153,9 @@ class SystemXBar(CoherentXBar):
response_latency = 2
snoop_response_latency = 4
+ # Use a snoop-filter by default
+ snoop_filter = SnoopFilter(lookup_latency = 1)
+
# This specialisation of the coherent crossbar is to be considered
# the point of coherency, as there are no (coherent) downstream
# caches.