X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configs%2Fcommon%2FSimulation.py;h=e53c755c6c09e1e5528158eaa29966641cd1a8bc;hb=e53de444f665fcb406c75648674ddc4224127515;hp=eadc8defbb09fd2a2062f3c94d2fc4fb89c58740;hpb=31e9714364dba399bf0a5243b342e6efe9088669;p=gem5.git diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index eadc8defb..e53c755c6 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -40,18 +40,22 @@ from __future__ import print_function from __future__ import absolute_import +import six import sys from os import getcwd from os.path import join as joinpath from common import CpuConfig -from . import ObjectList +from common import ObjectList import m5 from m5.defines import buildEnv from m5.objects import * from m5.util import * +if six.PY3: + long = int + addToPath('../common') def getCPUClass(cpu_type):