summaryrefslogtreecommitdiff
path: root/configs/ruby/MESI_CMP_directory.py
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 /configs/ruby/MESI_CMP_directory.py
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 'configs/ruby/MESI_CMP_directory.py')
-rw-r--r--configs/ruby/MESI_CMP_directory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/ruby/MESI_CMP_directory.py b/configs/ruby/MESI_CMP_directory.py
index d877543c0..017fe3a4a 100644
--- a/configs/ruby/MESI_CMP_directory.py
+++ b/configs/ruby/MESI_CMP_directory.py
@@ -144,7 +144,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
# Create the Ruby objects associated with the directory controller
#
- mem_cntrl = RubyMemoryControl(version = i)
+ mem_cntrl = RubyMemoryControl(version = i,
+ ruby_system = ruby_system)
dir_size = MemorySize('0B')
dir_size.value = mem_module_size