summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/Cache.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:23 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:23 -0800
commit134cc3d48dc389aecbe6bebe27482e5e378eb692 (patch)
tree13589ed946a9f5d7192a285ae78a11b3bea3916e /src/mem/ruby/system/Cache.py
parent3a835c7cbb481808a46a0491cf23b29378c0f866 (diff)
downloadgem5-134cc3d48dc389aecbe6bebe27482e5e378eb692.tar.xz
ruby: convert to M5 MemorySize
Converted both ruby caches and directory memory to use the M5 MemorySize python type.
Diffstat (limited to 'src/mem/ruby/system/Cache.py')
-rw-r--r--src/mem/ruby/system/Cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/system/Cache.py b/src/mem/ruby/system/Cache.py
index 209d6f6e2..8098e6192 100644
--- a/src/mem/ruby/system/Cache.py
+++ b/src/mem/ruby/system/Cache.py
@@ -5,7 +5,7 @@ from Controller import RubyController
class RubyCache(SimObject):
type = 'RubyCache'
cxx_class = 'CacheMemory'
- size = Param.Int("");
+ size = Param.MemorySize("capacity in bytes");
latency = Param.Int("");
assoc = Param.Int("");
replacement_policy = Param.String("PSEUDO_LRU", "");