summaryrefslogtreecommitdiff
path: root/python/m5/objects/BaseCPU.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/BaseCPU.mpy')
-rw-r--r--python/m5/objects/BaseCPU.mpy2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/m5/objects/BaseCPU.mpy b/python/m5/objects/BaseCPU.mpy
index d84e30e53..707d1b94f 100644
--- a/python/m5/objects/BaseCPU.mpy
+++ b/python/m5/objects/BaseCPU.mpy
@@ -23,3 +23,5 @@ simobj BaseCPU(SimObject):
defer_registration = Param.Bool(False,
"defer registration with system (for sampling)")
+
+ cycle_time = Param.ClockPeriod(parent.frequency, "clock speed")