summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubySystem.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-09-10 12:21:01 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-09-10 12:21:01 -0500
commitc5bf1390aa129fefa7102e2de2998c0e6b09b5b0 (patch)
treeabd84f95c72cc3c7652d7471fed0d8cca74a9987 /src/mem/ruby/system/RubySystem.py
parent4e6f048ef0f201718ac1a24ff917fb4d42a2b181 (diff)
downloadgem5-c5bf1390aa129fefa7102e2de2998c0e6b09b5b0.tar.xz
Ruby System: Convert to Clocked Object
This patch moves Ruby System from being a SimObject to recently introduced ClockedObject.
Diffstat (limited to 'src/mem/ruby/system/RubySystem.py')
-rw-r--r--src/mem/ruby/system/RubySystem.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/system/RubySystem.py b/src/mem/ruby/system/RubySystem.py
index d66ada4b9..c9d2e96ac 100644
--- a/src/mem/ruby/system/RubySystem.py
+++ b/src/mem/ruby/system/RubySystem.py
@@ -28,14 +28,14 @@
# Brad Beckmann
from m5.params import *
-from m5.SimObject import SimObject
+from ClockedObject import ClockedObject
-class RubySystem(SimObject):
+class RubySystem(ClockedObject):
type = 'RubySystem'
random_seed = Param.Int(1234, "random seed used by the simulation");
randomization = Param.Bool(False,
"insert random delays on message enqueue times");
- clock = Param.Clock('1GHz', "")
+ clock = '1GHz'
block_size_bytes = Param.Int(64,
"default cache block size; must be a power of two");
mem_size = Param.MemorySize("total memory size of the system");