summaryrefslogtreecommitdiff
path: root/configs/ruby/Network_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/ruby/Network_test.py')
-rw-r--r--configs/ruby/Network_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/configs/ruby/Network_test.py b/configs/ruby/Network_test.py
index d7b04cd31..6dfcc0b59 100644
--- a/configs/ruby/Network_test.py
+++ b/configs/ruby/Network_test.py
@@ -103,8 +103,7 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
cntrl_count += 1
- phys_mem_size = sum(map(lambda mem: mem.range.size(),
- system.memories.unproxy(system)))
+ phys_mem_size = sum(map(lambda r: r.size(), system.mem_ranges))
assert(phys_mem_size % options.num_dirs == 0)
mem_module_size = phys_mem_size / options.num_dirs