rubytest-ruby.py (9577:91cac7c9c636) | rubytest-ruby.py (9790:ccc428657233) |
---|---|
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; --- 64 unchanged lines hidden (view full) --- 73 74# 75# create the tester and system, including ruby 76# 77tester = RubyTester(check_flush = check_flush, checks_to_complete = 100, 78 wakeup_frequency = 10, num_cpus = options.num_cpus) 79 80system = System(tester = tester, physmem = SimpleMemory(null = True)) | 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; --- 64 unchanged lines hidden (view full) --- 73 74# 75# create the tester and system, including ruby 76# 77tester = RubyTester(check_flush = check_flush, checks_to_complete = 100, 78 wakeup_frequency = 10, num_cpus = options.num_cpus) 79 80system = System(tester = tester, physmem = SimpleMemory(null = True)) |
81system.clock = options.sys_clock |
|
81 82Ruby.create_system(options, system) 83 84assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) 85 86# 87# The tester is most effective when randomization is turned on and 88# artifical delay is randomly inserted on messages --- 27 unchanged lines hidden --- | 82 83Ruby.create_system(options, system) 84 85assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) 86 87# 88# The tester is most effective when randomization is turned on and 89# artifical delay is randomly inserted on messages --- 27 unchanged lines hidden --- |