from __future__ import print_function
from __future__ import absolute_import
-from .SysPaths import script, disk, binary
+from common.SysPaths import script, disk, binary
from os import environ as env
from m5.defines import buildEnv
import m5
from m5.objects import *
-from .Caches import *
+from common.Caches import *
from common import ObjectList
def config_cache(options, system):
import m5
from m5.objects import *
from m5.util import *
-from .Benchmarks import *
-from . import ObjectList
+from common.Benchmarks import *
+from common import ObjectList
# Populate to reflect supported os types per target ISA
os_types = { 'mips' : [ 'linux' ],
import m5.objects
from common import ObjectList
-from . import HMC
+from common import HMC
def create_mem_ctrl(cls, r, i, nbr_mem_ctrls, intlv_bits, intlv_size):
"""
from m5.defines import buildEnv
from m5.objects import *
-from .Benchmarks import *
-from . import ObjectList
+from common.Benchmarks import *
+from common import ObjectList
vio_9p_help = """\
Enable the Virtio 9P device and set the path to share. The default 9p path is
def addFSOptions(parser):
- from .FSConfig import os_types
+ from common.FSConfig import os_types
# Simulation options
parser.add_option("--timesync", action="store_true",
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.defines import buildEnv
from m5.util import addToPath
-from .Ruby import create_topology
-from .Ruby import send_evicts
+from Ruby import create_topology
+from Ruby import send_evicts
addToPath('../')
import m5
from m5.objects import *
from m5.defines import buildEnv
-from .Ruby import create_topology, create_directories
-from .Ruby import send_evicts
+from Ruby import create_topology, create_directories
+from Ruby import send_evicts
#
# Declare caches used by the protocol
from __future__ import print_function
from __future__ import absolute_import
-from .BaseTopology import BaseTopology
+from topologies.BaseTopology import BaseTopology
class Cluster(BaseTopology):
""" A cluster is a group of nodes which are all one hop from eachother
from m5.params import *
from m5.objects import *
-from .BaseTopology import SimpleTopology
+from topologies.BaseTopology import SimpleTopology
class Crossbar(SimpleTopology):
description='Crossbar'
from m5.params import *
from m5.objects import *
-from .BaseTopology import SimpleTopology
+from topologies.BaseTopology import SimpleTopology
class CrossbarGarnet(SimpleTopology):
description='CrossbarGarnet'
from common import FileSystemConfig
-from .BaseTopology import SimpleTopology
+from topologies.BaseTopology import SimpleTopology
# Creates a Mesh topology with 4 directories, one at each corner.
# One L1 (and L2, depending on the protocol) are connected to each router.
from common import FileSystemConfig
-from .BaseTopology import SimpleTopology
+from topologies.BaseTopology import SimpleTopology
# Creates a generic Mesh assuming an equal number of cache
# and directory controllers.
from m5.params import *
from m5.objects import *
-from .BaseTopology import SimpleTopology
+from topologies.BaseTopology import SimpleTopology
# Creates a generic Mesh assuming an equal number of cache
# and directory controllers.
from m5.params import *
from m5.objects import *
-from .BaseTopology import SimpleTopology
+from topologies.BaseTopology import SimpleTopology
class Pt2Pt(SimpleTopology):
description='Pt2Pt'