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.
This commit is contained in:
Andreas Hansson 2013-07-18 08:29:08 -04:00
parent fb29dcf378
commit 204df3b928

View file

@ -57,8 +57,8 @@ from m5.internal.stats import updateEvents as updateStatEvents
from util import fatal from util import fatal
from util import attrdict from util import attrdict
# define a MaxTick parameter # define a MaxTick parameter, unsigned 64 bit
MaxTick = 2**63 - 1 MaxTick = 2**64 - 1
_memory_modes = { _memory_modes = {
"atomic" : objects.params.atomic, "atomic" : objects.params.atomic,