From 108704169810fa0b444d7eedae070a8621a55760 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Sun, 29 Oct 2023 08:27:19 +0000 Subject: [PATCH] stdlib: Use near atomics in the CHI component nodes This is a temporary solution to fix daily tests. We could revert to the default (policy_type = 1) once the problem is properly fixed Change-Id: Ia80af9a7d84d5c777ddeb441110a91a1680c1030 Signed-off-by: Giacomo Travaglini --- .../components/cachehierarchies/chi/nodes/abstract_node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/gem5/components/cachehierarchies/chi/nodes/abstract_node.py b/src/python/gem5/components/cachehierarchies/chi/nodes/abstract_node.py index 746c66eb01..ed8c3e0d5a 100644 --- a/src/python/gem5/components/cachehierarchies/chi/nodes/abstract_node.py +++ b/src/python/gem5/components/cachehierarchies/chi/nodes/abstract_node.py @@ -85,6 +85,9 @@ class AbstractNode(Cache_Controller): # Use 32-byte channels (two flits per message) self.data_channel_size = 32 + # Use near atomics (see: https://github.com/gem5/gem5/issues/449) + self.policy_type = 0 + self.connectQueues(network) def getBlockSizeBits(self):