From e30ef9911f5c80130210e6995b01b1355c4059bd Mon Sep 17 00:00:00 2001 From: seanzw Date: Wed, 3 Jun 2020 19:59:50 -0700 Subject: [PATCH] mem-ruby: Fix Prefetcher to RubyPrefetcher in StateMachine. After renaming Prefetcher to RubyPrefetcher, the slicc generator should be updated to correctly initialize the prefetcher with the controller. Change-Id: Ia12a4640c35aaedd70a4a14e5a10793b060ba924 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29974 Reviewed-by: Jason Lowe-Power Maintainer: Bobby R. Bruce Tested-by: kokoro --- src/mem/slicc/symbols/StateMachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 8e3a1f84b..2e9700fcf 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -87,7 +87,7 @@ class StateMachine(Symbol): self.symtab.registerSym(param.ident, var) - if str(param.type_ast.type) == "Prefetcher": + if str(param.type_ast.type) == "RubyPrefetcher": self.prefetchers.append(var) self.states = OrderedDict() -- 2.30.2