import Caches
Simulation.py:
Fix typo - L2Cache --> L1Cache
configs/common/Simulation.py:
Fix typo - L2Cache --> L1Cache
configs/example/fs.py:
configs/example/se.py:
import Caches
--HG--
extra : convert_revision :
4292225b322c069665262eab7c83b5341844fba0
self.mem_mode = mem_mode
self.sim_console = SimConsole(listener=ConsoleListener(port=3456))
self.kernel = binary('vmlinux')
- self.pal = binary('ts_osfpal')
+## self.pal = binary('ts_osfpal')
+ self.pal = '/z/hsul/work/m5/alpha-system/palcode/ts_osfpal'
self.console = binary('console')
self.boot_osflags = 'root=/dev/hda1 console=ttyS0'
import m5
from m5.objects import *
m5.AddToPath('../common')
-from Caches import *
+from Caches import L1Cache
def run(options, root, testsys):
if options.maxtick:
from SysPaths import *
from Benchmarks import *
import Simulation
+from Caches import *
if not m5.build_env['FULL_SYSTEM']:
m5.panic("This script requires full-system mode (ALPHA_FS).")
for i in xrange(np):
if options.caches and not options.standard_switch:
test_sys.cpu[i].addPrivateSplitL1Caches(L1Cache(size = '32kB'),
- L2Cache(size = '64kB'))
+ L1Cache(size = '64kB'))
test_sys.cpu[i].connectMemPorts(test_sys.membus)
test_sys.cpu[i].mem = test_sys.physmem
import os, optparse, sys
m5.AddToPath('../common')
import Simulation
+from Caches import *
# Get paths we might need. It's expected this file is in m5/configs/example.
config_path = os.path.dirname(os.path.abspath(__file__))
config_root = os.path.dirname(config_path)
m5_root = os.path.dirname(config_root)
+print m5_root
+print config_path
+print config_root
+
parser = optparse.OptionParser()
for i in xrange(np):
if options.caches and not options.standard_switch:
system.cpu[i].addPrivateSplitL1Caches(L1Cache(size = '32kB'),
- L2Cache(size = '64kB'))
+ L1Cache(size = '64kB'))
system.cpu[i].connectMemPorts(system.membus)
system.cpu[i].mem = system.physmem
system.cpu[i].workload = process