ruby.num_of_sequencers = len(cpu_sequencers)
ruby.random_seed = options.random_seed
+ # Create a backing copy of physical memory in case required
+ if options.access_backing_store:
+ ruby.phys_mem = SimpleMemory(range=AddrRange(options.mem_size),
+ in_addr_map=False)
+
def send_evicts(options):
# currently, 2 scenarios warrant forwarding evictions to the CPU:
# 1. The O3 model must keep the LSQ coherent with the caches
if options.cpu_type == "detailed" or buildEnv['TARGET_ISA'] == 'x86':
return True
return False
-
- # Create a backing copy of physical memory in case required
- if options.access_backing_store:
- ruby.phys_mem = SimpleMemory(range=AddrRange(options.mem_size),
- in_addr_map=False)