summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-07-18 08:29:08 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-07-18 08:29:08 -0400
commit204df3b9282fe8f178e9eecf466155912cb8b67c (patch)
treeb37373af13335fc228549e701c6009d48f2cf28b
parentfb29dcf378374bf1e5c93afbe002e66e882ca21d (diff)
downloadgem5-204df3b9282fe8f178e9eecf466155912cb8b67c.tar.xz
sim: Make MaxTick in Python match the one in C++
This patch aligns the MaxTick in Python with the one in C++. Thus, both reflect the maximum value that an unsigned 64-bit integer can have.
-rw-r--r--src/python/m5/simulate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/simulate.py b/src/python/m5/simulate.py
index 682104c26..a3ca77af1 100644
--- a/src/python/m5/simulate.py
+++ b/src/python/m5/simulate.py
@@ -57,8 +57,8 @@ from m5.internal.stats import updateEvents as updateStatEvents
from util import fatal
from util import attrdict
-# define a MaxTick parameter
-MaxTick = 2**63 - 1
+# define a MaxTick parameter, unsigned 64 bit
+MaxTick = 2**64 - 1
_memory_modes = {
"atomic" : objects.params.atomic,