configs: ruby: removes bug introduced by 05b5a6cf3521
This commit is contained in:
parent
642b9b4fab
commit
1ee70e9d84
1 changed files with 5 additions and 5 deletions
|
@ -233,6 +233,11 @@ def create_system(options, full_system, system, piobus = None, dma_ports = []):
|
|||
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
|
||||
|
@ -240,8 +245,3 @@ def send_evicts(options):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue