changeset 64618b7c57b2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=64618b7c57b2
description:
configs: ruby: removes bug introduced by 05b5a6cf3521
diffstat:
configs/ruby/Ruby.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 7c649fc84bb9 -r 64618b7c57b2 configs/ruby/Ruby.py
--- a/configs/ruby/Ruby.py Sat Dec 27 13:48:40 2014 -0600
+++ b/configs/ruby/Ruby.py Sat Jan 03 17:51:48 2015 -0600
@@ -233,6 +233,11 @@
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 @@
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)
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev