From 697fd8987b77fb7bfe1ee88fa4591d5c6215d7bc Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Fri, 6 Apr 2012 16:16:24 -0700 Subject: regress: ruby random tester and hammer stats updates --- tests/configs/rubytest-ruby.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/configs') diff --git a/tests/configs/rubytest-ruby.py b/tests/configs/rubytest-ruby.py index 979295cf5..7af206af8 100644 --- a/tests/configs/rubytest-ruby.py +++ b/tests/configs/rubytest-ruby.py @@ -74,7 +74,7 @@ if buildEnv['PROTOCOL'] == 'MOESI_hammer': # create the tester and system, including ruby # tester = RubyTester(check_flush = check_flush, checks_to_complete = 100, - wakeup_frequency = 10) + wakeup_frequency = 10, num_cpus = options.num_cpus) system = System(tester = tester, physmem = SimpleMemory()) @@ -90,9 +90,12 @@ system.ruby.randomization = True for ruby_port in system.ruby._cpu_ruby_ports: # - # Tie the ruby tester ports to the ruby cpu ports + # Tie the ruby tester ports to the ruby cpu read and write ports # - tester.cpuPort = ruby_port.slave + if ruby_port.support_data_reqs: + tester.cpuDataPort = ruby_port.slave + if ruby_port.support_inst_reqs: + tester.cpuInstPort = ruby_port.slave # # Tell the sequencer this is the ruby tester so that it -- cgit v1.2.3