ruby_mem_test.py (8803:f6c5785bc8fd) | ruby_mem_test.py (8845:a230379caf65) |
---|---|
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; --- 119 unchanged lines hidden (view full) --- 128system.ruby.randomization = True 129 130assert(len(cpus) == len(system.ruby._cpu_ruby_ports)) 131 132for (i, cpu) in enumerate(cpus): 133 # 134 # Tie the cpu memtester ports to the correct system ports 135 # | 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; --- 119 unchanged lines hidden (view full) --- 128system.ruby.randomization = True 129 130assert(len(cpus) == len(system.ruby._cpu_ruby_ports)) 131 132for (i, cpu) in enumerate(cpus): 133 # 134 # Tie the cpu memtester ports to the correct system ports 135 # |
136 cpu.test = system.ruby._cpu_ruby_ports[i].port | 136 cpu.test = system.ruby._cpu_ruby_ports[i].slave |
137 cpu.functional = system.funcmem.port 138 139 # 140 # Since the memtester is incredibly bursty, increase the deadlock 141 # threshold to 5 million cycles 142 # 143 system.ruby._cpu_ruby_ports[i].deadlock_threshold = 5000000 144 --- 30 unchanged lines hidden --- | 137 cpu.functional = system.funcmem.port 138 139 # 140 # Since the memtester is incredibly bursty, increase the deadlock 141 # threshold to 5 million cycles 142 # 143 system.ruby._cpu_ruby_ports[i].deadlock_threshold = 5000000 144 --- 30 unchanged lines hidden --- |