summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorJason Power <power.jg@gmail.com>2012-08-16 23:39:36 -0500
committerJason Power <power.jg@gmail.com>2012-08-16 23:39:36 -0500
commit44b4c9625331670d11f5bddb94c50a55c5864d7c (patch)
tree8e64f2d864c5928b5d9e7e3c1573a306952575ff /src/mem/ruby
parent649e37793776757d4076ce194fbe537b8d49e1db (diff)
downloadgem5-44b4c9625331670d11f5bddb94c50a55c5864d7c.tar.xz
Ruby: Add RubySystem parameter to MemoryControl
This guarantees that RubySystem object is created before the MemoryController object is created.
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/system/MemoryControl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/system/MemoryControl.py b/src/mem/ruby/system/MemoryControl.py
index dafd0a789..c4c852932 100644
--- a/src/mem/ruby/system/MemoryControl.py
+++ b/src/mem/ruby/system/MemoryControl.py
@@ -35,5 +35,6 @@ class MemoryControl(SimObject):
type = 'MemoryControl'
cxx_class = 'MemoryControl'
version = Param.Int("");
+ ruby_system = Param.RubySystem("")
mem_bus_cycle_multiplier = Param.Int(10, "");