From d56d56110257895bc942cba6a50984f282501601 Mon Sep 17 00:00:00 2001 From: Jason Lowe-Power Date: Wed, 30 Mar 2022 17:11:20 -0700 Subject: [PATCH] configs,mem-ruby: Protocol-spec. in learning gem5 Use protocol-specific names in Learning gem5 configs. Now, we should no longer use the generic names for the controllers (it's deprecated). This updates Learning gem5. Website changes coming soon. (Hopefull before I push this...) Change-Id: I18fc5b8bb0fef7c3b8b5cea8de4f73fc0f66a1b3 Signed-off-by: Jason Lowe-Power --- configs/learning_gem5/part3/msi_caches.py | 6 ++++-- configs/learning_gem5/part3/ruby_caches_MI_example.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configs/learning_gem5/part3/msi_caches.py b/configs/learning_gem5/part3/msi_caches.py index 5aa7abed24..691b5fdcbf 100644 --- a/configs/learning_gem5/part3/msi_caches.py +++ b/configs/learning_gem5/part3/msi_caches.py @@ -111,7 +111,8 @@ class MyCacheSystem(RubySystem): self.sequencers[i].connectCpuPorts(cpu) -class L1Cache(L1Cache_Controller): +class L1Cache(MSI_L1Cache_Controller): + _version = 0 @classmethod @@ -176,7 +177,8 @@ class L1Cache(L1Cache_Controller): self.responseFromDirOrSibling.in_port = ruby_system.network.out_port -class DirController(Directory_Controller): +class DirController(MSI_Directory_Controller): + _version = 0 @classmethod diff --git a/configs/learning_gem5/part3/ruby_caches_MI_example.py b/configs/learning_gem5/part3/ruby_caches_MI_example.py index 583041a674..6eaec7276c 100644 --- a/configs/learning_gem5/part3/ruby_caches_MI_example.py +++ b/configs/learning_gem5/part3/ruby_caches_MI_example.py @@ -109,7 +109,8 @@ class MyCacheSystem(RubySystem): self.sequencers[i].connectCpuPorts(cpu) -class L1Cache(L1Cache_Controller): +class L1Cache(MI_example_L1Cache_Controller): + _version = 0 @classmethod @@ -165,7 +166,8 @@ class L1Cache(L1Cache_Controller): self.responseToCache.in_port = ruby_system.network.out_port -class DirController(Directory_Controller): +class DirController(MI_example_Directory_Controller): + _version = 0 @classmethod