More realistic parameters

--HG--
extra : convert_revision : aaa4ea2b7c97df3d6b731e9252984b45715e9d6f
This commit is contained in:
Nathan Binkert 2007-06-09 22:43:08 -07:00
parent 1493ceda8f
commit e9936a6250
2 changed files with 3 additions and 3 deletions

View file

@ -82,8 +82,7 @@ cpus = [ MemTest(atomic=not options.timing, max_loads=options.maxloads,
# system simulated # system simulated
system = System(cpu = cpus, funcmem = PhysicalMemory(), system = System(cpu = cpus, funcmem = PhysicalMemory(),
physmem = PhysicalMemory(latency = "50ps"), physmem = PhysicalMemory(latency = "50ns"), membus = Bus(clock="500MHz", width=16))
membus = Bus(clock="500MHz", width=16))
# l2cache & bus # l2cache & bus
if options.caches: if options.caches:

View file

@ -27,6 +27,7 @@
# Authors: Nathan Binkert # Authors: Nathan Binkert
from m5.params import * from m5.params import *
from m5.proxy import Self
from MemObject import MemObject from MemObject import MemObject
class Prefetch(Enum): vals = ['none', 'tagged', 'stride', 'ghb'] class Prefetch(Enum): vals = ['none', 'tagged', 'stride', 'ghb']
@ -77,7 +78,7 @@ class BaseCache(MemObject):
"Squash prefetches with a later time on a subsequent miss") "Squash prefetches with a later time on a subsequent miss")
prefetch_degree = Param.Int(1, prefetch_degree = Param.Int(1,
"Degree of the prefetch depth") "Degree of the prefetch depth")
prefetch_latency = Param.Tick(10, prefetch_latency = Param.Latency(10 * Self.latency,
"Latency of the prefetcher") "Latency of the prefetcher")
prefetch_policy = Param.Prefetch('none', prefetch_policy = Param.Prefetch('none',
"Type of prefetcher to use") "Type of prefetcher to use")