summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubySystem.py
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2010-01-29 20:29:18 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2010-01-29 20:29:18 -0800
commita8ea70dac6592b63cf957acd33a938189f1712af (patch)
tree0313c8ec3f4760c43468912924eac9a3c3dc05ec /src/mem/ruby/system/RubySystem.py
parent0b54f1db8e8af9094229a55fab302ebfb84c31b5 (diff)
downloadgem5-a8ea70dac6592b63cf957acd33a938189f1712af.tar.xz
ruby: Calculate system total memory capacity in Python
rather than in RubySystem object.
Diffstat (limited to 'src/mem/ruby/system/RubySystem.py')
-rw-r--r--src/mem/ruby/system/RubySystem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/system/RubySystem.py b/src/mem/ruby/system/RubySystem.py
index 2c1d3d789..2e3b7f871 100644
--- a/src/mem/ruby/system/RubySystem.py
+++ b/src/mem/ruby/system/RubySystem.py
@@ -11,6 +11,7 @@ class RubySystem(SimObject):
freq_mhz = Param.Int(3000, "default frequency for the system");
block_size_bytes = Param.Int(64,
"default cache block size; must be a power of two");
+ mem_size_mb = Param.Int("");
network = Param.RubyNetwork("")
debug = Param.RubyDebug("the default debug object")
profiler = Param.RubyProfiler("");