From 670f44e05eb8eb1a56b36c4390cf83807a28d823 Mon Sep 17 00:00:00 2001 From: Jason Power Date: Thu, 26 Feb 2015 09:58:26 -0600 Subject: Ruby: Update backing store option to propagate through to all RubyPorts Previously, the user would have to manually set access_backing_store=True on all RubyPorts (Sequencers) in the config files. Now, instead there is one global option that each RubyPort checks on initialization. Committed by: Nilay Vaish --- configs/ruby/Ruby.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configs/ruby/Ruby.py') diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index c3a61e7d1..e0d53fd6c 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -235,7 +235,8 @@ def create_system(options, full_system, system, piobus = None, dma_ports = []): # Create a backing copy of physical memory in case required if options.access_backing_store: - ruby.phys_mem = SimpleMemory(range=AddrRange(options.mem_size), + ruby.access_backing_store = True + ruby.phys_mem = SimpleMemory(range=system.mem_ranges[0], in_addr_map=False) def send_evicts(options): -- cgit v1.2.3