ruby_random_test.py (9108:ad76a669e9d9) | ruby_random_test.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; --- 84 unchanged lines hidden (view full) --- 93 wakeup_frequency = options.wakeup_freq) 94 95# 96# Create the M5 system. Note that the Memory Object isn't 97# actually used by the rubytester, but is included to support the 98# M5 memory size == Ruby memory size checks 99# 100system = System(tester = tester, physmem = SimpleMemory()) | 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; --- 84 unchanged lines hidden (view full) --- 93 wakeup_frequency = options.wakeup_freq) 94 95# 96# Create the M5 system. Note that the Memory Object isn't 97# actually used by the rubytester, but is included to support the 98# M5 memory size == Ruby memory size checks 99# 100system = System(tester = tester, physmem = SimpleMemory()) |
101system.clock = options.sys_clock |
|
101 102Ruby.create_system(options, system) 103 104assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) 105 106tester.num_cpus = len(system.ruby._cpu_ruby_ports) 107 108# --- 43 unchanged lines hidden --- | 102 103Ruby.create_system(options, system) 104 105assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) 106 107tester.num_cpus = len(system.ruby._cpu_ruby_ports) 108 109# --- 43 unchanged lines hidden --- |