summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubySystem.py
diff options
context:
space:
mode:
authorJason Power <power.jg@gmail.com>2015-02-26 09:58:26 -0600
committerJason Power <power.jg@gmail.com>2015-02-26 09:58:26 -0600
commit670f44e05eb8eb1a56b36c4390cf83807a28d823 (patch)
treea050dd6f28aebe5221bcf109c2dadb085ad1a67c /src/mem/ruby/system/RubySystem.py
parentf18d2120fa66803912dcce61fe6c704a6a05a2d1 (diff)
downloadgem5-670f44e05eb8eb1a56b36c4390cf83807a28d823.tar.xz
Ruby: Update backing store option to propagate through to all RubyPorts
Previously, the user would have to manually set access_backing_store=True on all RubyPorts (Sequencers) in the config files. Now, instead there is one global option that each RubyPort checks on initialization. Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/mem/ruby/system/RubySystem.py')
-rw-r--r--src/mem/ruby/system/RubySystem.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/system/RubySystem.py b/src/mem/ruby/system/RubySystem.py
index 0deb79405..81a9a181b 100644
--- a/src/mem/ruby/system/RubySystem.py
+++ b/src/mem/ruby/system/RubySystem.py
@@ -47,3 +47,6 @@ class RubySystem(ClockedObject):
all_instructions = Param.Bool(False, "")
num_of_sequencers = Param.Int("")
phys_mem = Param.SimpleMemory(NULL, "")
+
+ access_backing_store = Param.Bool(False, "Use phys_mem as the functional \
+ store and only use ruby for timing.")