From ade53def9252a36a39b2c4bd61196355906f0505 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 30 Jan 2012 09:37:06 -0500 Subject: Ruby: Connect system port in Ruby network test This patch moves the connection of the system port to create_system in Ruby.py. Thereby it allows the failing Ruby test (and other Ruby systems) to run again. --- configs/example/se.py | 1 - configs/ruby/Ruby.py | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'configs') diff --git a/configs/example/se.py b/configs/example/se.py index 572364482..b94652ac0 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -184,7 +184,6 @@ if options.ruby: options.use_map = True Ruby.create_system(options, system) assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) - system.system_port = system.ruby._sys_port_proxy.port else: system.system_port = system.membus.port system.physmem.port = system.membus.port diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index b2342eed4..920eac019 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -105,6 +105,10 @@ def create_system(options, system, piobus = None, dma_devices = []): # full-fledged controller system.sys_port_proxy = sys_port_proxy + # Connect the system port for loading of binaries etc + system.system_port = system.sys_port_proxy.port + + # # Set the network classes based on the command line options # @@ -182,5 +186,4 @@ def create_system(options, system, piobus = None, dma_devices = []): ruby.profiler = ruby_profiler ruby.mem_size = total_mem_size ruby._cpu_ruby_ports = cpu_sequencers - ruby._sys_port_proxy = sys_port_proxy ruby.random_seed = options.random_seed -- cgit v1.2.3