import os, optparse, sys
addToPath('../common')
addToPath('../ruby')
+
+import Options
import Ruby
# Get paths we might need. It's expected this file is in m5/configs/example.
m5_root = os.path.dirname(config_root)
parser = optparse.OptionParser()
+Options.addCommonOptions(parser)
parser.add_option("--synthetic", type="int", default=0,
help="Synthetic Traffic type. 0 = Uniform Random,\
# create the desired simulated system
system = System(cpu = cpus,
- physmem = PhysicalMemory())
+ physmem = SimpleMemory())
Ruby.create_system(options, system)
#
# Tie the cpu test ports to the ruby cpu port
#
- cpus[i].test = ruby_port.port
+ cpus[i].test = ruby_port.slave
ruby_port.access_phys_mem = False
i += 1