ruby_direct_test.py (8322:19949c6de823) ruby_direct_test.py (8436:5648986156db)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 83 unchanged lines hidden (view full) ---

92
93#
94# Create the ruby random tester
95#
96system.tester = RubyDirectedTester(requests_to_complete = \
97 options.requests,
98 generator = generator)
99
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 83 unchanged lines hidden (view full) ---

92
93#
94# Create the ruby random tester
95#
96system.tester = RubyDirectedTester(requests_to_complete = \
97 options.requests,
98 generator = generator)
99
100system.ruby = Ruby.create_system(options, system)
100Ruby.create_system(options, system)
101
102assert(options.num_cpus == len(system.ruby._cpu_ruby_ports))
103
104for ruby_port in system.ruby._cpu_ruby_ports:
105 #
106 # Tie the ruby tester ports to the ruby cpu ports
107 #
108 system.tester.cpuPort = ruby_port.port

--- 18 unchanged lines hidden ---
101
102assert(options.num_cpus == len(system.ruby._cpu_ruby_ports))
103
104for ruby_port in system.ruby._cpu_ruby_ports:
105 #
106 # Tie the ruby tester ports to the ruby cpu ports
107 #
108 system.tester.cpuPort = ruby_port.port

--- 18 unchanged lines hidden ---