diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-05-22 06:36:01 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-05-22 06:36:01 -0700 |
commit | 0484867d85da6c1f97c5e1c55056cf48b6b7c37d (patch) | |
tree | 552a440a3d926d2b6daa77e22add3d508319656c /configs/example/memtest.py | |
parent | 41dde5f6fdf195b8d51d70119737c5e3f7391f78 (diff) | |
parent | 9f1c104ccd835ce390d9e9fd24e59a6ea626ed17 (diff) | |
download | gem5-0484867d85da6c1f97c5e1c55056cf48b6b7c37d.tar.xz |
Merge vm1.(none):/home/stever/bk/newmem-head
into vm1.(none):/home/stever/bk/newmem-cache2
src/mem/cache/base_cache.hh:
Manual conflict resolution.
--HG--
extra : convert_revision : 5ebfd7abb4f978caa88bf43d25935869edfc6b9f
Diffstat (limited to 'configs/example/memtest.py')
-rw-r--r-- | configs/example/memtest.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configs/example/memtest.py b/configs/example/memtest.py index 5300c6fd9..9fd943aaa 100644 --- a/configs/example/memtest.py +++ b/configs/example/memtest.py @@ -75,7 +75,7 @@ if options.numtesters > 8: print "Error: NUmber of testers limited to 8 because of false sharing" sys,exit(1) -cpus = [ MemTest(atomic=options.timing, max_loads=options.maxloads, +cpus = [ MemTest(atomic=not options.timing, max_loads=options.maxloads, percent_functional=50, percent_uncacheable=10, progress_interval=1000) for i in xrange(options.numtesters) ] @@ -83,11 +83,11 @@ cpus = [ MemTest(atomic=options.timing, max_loads=options.maxloads, # system simulated system = System(cpu = cpus, funcmem = PhysicalMemory(), physmem = PhysicalMemory(latency = "50ps"), - membus = Bus(clock="500GHz", width=16)) + membus = Bus(clock="500MHz", width=16)) # l2cache & bus if options.caches: - system.toL2Bus = Bus(clock="500GHz", width=16) + system.toL2Bus = Bus(clock="500MHz", width=16) system.l2c = L2(size='64kB', assoc=8) system.l2c.cpu_side = system.toL2Bus.port @@ -118,6 +118,9 @@ if options.timing: else: root.system.mem_mode = 'atomic' +# Not much point in this being higher than the L1 latency +m5.ticks.setGlobalFrequency('1ns') + # instantiate configuration m5.instantiate(root) |