memtest-ruby.py (8808:8af87554ad7e) memtest-ruby.py (8839:eeb293859255)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 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;

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

86
87assert(len(cpus) == len(system.ruby._cpu_ruby_ports))
88
89for (i, ruby_port) in enumerate(system.ruby._cpu_ruby_ports):
90 #
91 # Tie the cpu test and functional ports to the ruby cpu ports and
92 # physmem, respectively
93 #
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 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;

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

86
87assert(len(cpus) == len(system.ruby._cpu_ruby_ports))
88
89for (i, ruby_port) in enumerate(system.ruby._cpu_ruby_ports):
90 #
91 # Tie the cpu test and functional ports to the ruby cpu ports and
92 # physmem, respectively
93 #
94 cpus[i].test = ruby_port.port
94 cpus[i].test = ruby_port.slave
95 cpus[i].functional = system.funcmem.port
96
97 #
98 # Since the memtester is incredibly bursty, increase the deadlock
99 # threshold to 1 million cycles
100 #
101 ruby_port.deadlock_threshold = 1000000
102

--- 15 unchanged lines hidden ---
95 cpus[i].functional = system.funcmem.port
96
97 #
98 # Since the memtester is incredibly bursty, increase the deadlock
99 # threshold to 1 million cycles
100 #
101 ruby_port.deadlock_threshold = 1000000
102

--- 15 unchanged lines hidden ---