rubytest-ruby.py (7034:6bf327b128c6) | rubytest-ruby.py (7526:4bb5f5207617) |
---|---|
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; --- 56 unchanged lines hidden (view full) --- 65 66(options, args) = parser.parse_args() 67 68# 69# create the tester and system, including ruby 70# 71tester = RubyTester(checks_to_complete = 100, wakeup_frequency = 10) 72 | 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; --- 56 unchanged lines hidden (view full) --- 65 66(options, args) = parser.parse_args() 67 68# 69# create the tester and system, including ruby 70# 71tester = RubyTester(checks_to_complete = 100, wakeup_frequency = 10) 72 |
73system = System(physmem = PhysicalMemory()) | 73system = System(tester = tester, physmem = PhysicalMemory()) |
74 75system.ruby = Ruby.create_system(options, system.physmem) 76 77assert(options.num_cpus == len(system.ruby.cpu_ruby_ports)) 78 79# 80# The tester is most effective when randomization is turned on and 81# artifical delay is randomly inserted on messages --- 24 unchanged lines hidden --- | 74 75system.ruby = Ruby.create_system(options, system.physmem) 76 77assert(options.num_cpus == len(system.ruby.cpu_ruby_ports)) 78 79# 80# The tester is most effective when randomization is turned on and 81# artifical delay is randomly inserted on messages --- 24 unchanged lines hidden --- |