From: seanzw Date: Thu, 4 Jun 2020 02:59:50 +0000 (-0700) Subject: mem-ruby: Fix Prefetcher to RubyPrefetcher in StateMachine. X-Git-Tag: v20.0.0.2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e30ef9911f5c80130210e6995b01b1355c4059bd;p=gem5.git 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 --- 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()