diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:23 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:23 -0800 |
commit | 134cc3d48dc389aecbe6bebe27482e5e378eb692 (patch) | |
tree | 13589ed946a9f5d7192a285ae78a11b3bea3916e /src/mem/ruby/system/Cache.py | |
parent | 3a835c7cbb481808a46a0491cf23b29378c0f866 (diff) | |
download | gem5-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.py | 2 |
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", ""); |