From 204df3b9282fe8f178e9eecf466155912cb8b67c Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Thu, 18 Jul 2013 08:29:08 -0400 Subject: [PATCH] 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. --- src/python/m5/simulate.py | 4 ++-- 1 file 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, -- 2.30.2