diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-03-20 09:14:14 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-03-20 09:14:14 -0500 |
commit | b5cc4c760478240bf8c5f7de977bf2b56fd8dfd4 (patch) | |
tree | f4d9bf0eee60c59b294f8e25504e67e58bfdd1f6 /configs/example | |
parent | f2059f8399b22ecc544413a0e9d5a13a6f965411 (diff) | |
download | gem5-b5cc4c760478240bf8c5f7de977bf2b56fd8dfd4.tar.xz |
config: ruby: rename _cpu_ruby_ports to _cpu_ports
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/fs.py | 16 | ||||
-rw-r--r-- | configs/example/ruby_direct_test.py | 4 | ||||
-rw-r--r-- | configs/example/ruby_mem_test.py | 8 | ||||
-rw-r--r-- | configs/example/ruby_network_test.py | 2 | ||||
-rw-r--r-- | configs/example/ruby_random_test.py | 6 | ||||
-rw-r--r-- | configs/example/se.py | 4 |
6 files changed, 20 insertions, 20 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index 6c71ef432..584748299 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -149,18 +149,18 @@ def build_test_system(np): cpu.createThreads() cpu.createInterruptController() - cpu.icache_port = test_sys.ruby._cpu_ruby_ports[i].slave - cpu.dcache_port = test_sys.ruby._cpu_ruby_ports[i].slave + cpu.icache_port = test_sys.ruby._cpu_ports[i].slave + cpu.dcache_port = test_sys.ruby._cpu_ports[i].slave if buildEnv['TARGET_ISA'] == "x86": - cpu.itb.walker.port = test_sys.ruby._cpu_ruby_ports[i].slave - cpu.dtb.walker.port = test_sys.ruby._cpu_ruby_ports[i].slave + cpu.itb.walker.port = test_sys.ruby._cpu_ports[i].slave + cpu.dtb.walker.port = test_sys.ruby._cpu_ports[i].slave - cpu.interrupts.pio = test_sys.ruby._cpu_ruby_ports[i].master - cpu.interrupts.int_master = test_sys.ruby._cpu_ruby_ports[i].slave - cpu.interrupts.int_slave = test_sys.ruby._cpu_ruby_ports[i].master + cpu.interrupts.pio = test_sys.ruby._cpu_ports[i].master + cpu.interrupts.int_master = test_sys.ruby._cpu_ports[i].slave + cpu.interrupts.int_slave = test_sys.ruby._cpu_ports[i].master - test_sys.ruby._cpu_ruby_ports[i].access_phys_mem = True + test_sys.ruby._cpu_ports[i].access_phys_mem = True # Create the appropriate memory controllers # and connect them to the IO bus diff --git a/configs/example/ruby_direct_test.py b/configs/example/ruby_direct_test.py index f511b0139..36314fbfb 100644 --- a/configs/example/ruby_direct_test.py +++ b/configs/example/ruby_direct_test.py @@ -115,9 +115,9 @@ Ruby.create_system(options, system) system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, voltage_domain = system.voltage_domain) -assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) +assert(options.num_cpus == len(system.ruby._cpu_ports)) -for ruby_port in system.ruby._cpu_ruby_ports: +for ruby_port in system.ruby._cpu_ports: # # Tie the ruby tester ports to the ruby cpu ports # diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py index 064140064..99f6f4a09 100644 --- a/configs/example/ruby_mem_test.py +++ b/configs/example/ruby_mem_test.py @@ -144,26 +144,26 @@ system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, # system.ruby.randomization = True -assert(len(cpus) == len(system.ruby._cpu_ruby_ports)) +assert(len(cpus) == len(system.ruby._cpu_ports)) for (i, cpu) in enumerate(cpus): # # Tie the cpu memtester ports to the correct system ports # - cpu.test = system.ruby._cpu_ruby_ports[i].slave + cpu.test = system.ruby._cpu_ports[i].slave cpu.functional = system.funcbus.slave # # Since the memtester is incredibly bursty, increase the deadlock # threshold to 5 million cycles # - system.ruby._cpu_ruby_ports[i].deadlock_threshold = 5000000 + system.ruby._cpu_ports[i].deadlock_threshold = 5000000 # # Ruby doesn't need the backing image of memory when running with # the tester. # - system.ruby._cpu_ruby_ports[i].access_phys_mem = False + system.ruby._cpu_ports[i].access_phys_mem = False for (i, dma) in enumerate(dmas): # diff --git a/configs/example/ruby_network_test.py b/configs/example/ruby_network_test.py index e1ec325bb..b9ca6ddf0 100644 --- a/configs/example/ruby_network_test.py +++ b/configs/example/ruby_network_test.py @@ -120,7 +120,7 @@ system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, voltage_domain = system.voltage_domain) i = 0 -for ruby_port in system.ruby._cpu_ruby_ports: +for ruby_port in system.ruby._cpu_ports: # # Tie the cpu test ports to the ruby cpu port # diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py index 24c172b28..32d5cf34d 100644 --- a/configs/example/ruby_random_test.py +++ b/configs/example/ruby_random_test.py @@ -112,9 +112,9 @@ Ruby.create_system(options, system) system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, voltage_domain = system.voltage_domain) -assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) +assert(options.num_cpus == len(system.ruby._cpu_ports)) -tester.num_cpus = len(system.ruby._cpu_ruby_ports) +tester.num_cpus = len(system.ruby._cpu_ports) # # The tester is most effective when randomization is turned on and @@ -122,7 +122,7 @@ tester.num_cpus = len(system.ruby._cpu_ruby_ports) # system.ruby.randomization = True -for ruby_port in system.ruby._cpu_ruby_ports: +for ruby_port in system.ruby._cpu_ports: # # Tie the ruby tester ports to the ruby cpu read and write ports # diff --git a/configs/example/se.py b/configs/example/se.py index 34a3f045e..92a950319 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -233,10 +233,10 @@ if options.ruby: null = True) options.use_map = True Ruby.create_system(options, system) - assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) + assert(options.num_cpus == len(system.ruby._cpu_ports)) for i in xrange(np): - ruby_port = system.ruby._cpu_ruby_ports[i] + ruby_port = system.ruby._cpu_ports[i] # Create the interrupt controller and connect its ports to Ruby # Note that the interrupt controller is always present but only |