latency = 1
mshrs = 10
tgts_per_mshr = 5
+ protocol = CoherenceProtocol(protocol='moesi')
- # client system CPU is always simple... note this is an assignment of
+ # driver system CPU is always simple... note this is an assignment of
# a class, not an instance.
- ClientCPUClass = AtomicSimpleCPU
- client_mem_mode = 'atomic'
+ DriveCPUClass = AtomicSimpleCPU
+ drive_mem_mode = 'atomic'
+ # system under test can be any of these CPUs
if options.detailed:
- ServerCPUClass = DerivO3CPU
- server_mem_mode = 'timing'
+ TestCPUClass = DerivO3CPU
+ test_mem_mode = 'timing'
elif options.timing:
- ServerCPUClass = TimingSimpleCPU
- server_mem_mode = 'timing'
+ TestCPUClass = TimingSimpleCPU
+ test_mem_mode = 'timing'
else:
- ServerCPUClass = AtomicSimpleCPU
- server_mem_mode = 'atomic'
+ TestCPUClass = AtomicSimpleCPU
+ test_mem_mode = 'atomic'
- ServerCPUClass.clock = '2GHz'
- ClientCPUClass.clock = '2GHz'
+ TestCPUClass.clock = '2GHz'
+ DriveCPUClass.clock = '2GHz'
if options.benchmark:
try: