ruby_mem_test.py (10720:67b3e74de9ae) | ruby_mem_test.py (11320:42ecb523c64a) |
---|---|
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; --- 128 unchanged lines hidden (view full) --- 137system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, 138 voltage_domain = system.voltage_domain) 139 140# 141# The tester is most effective when randomization is turned on and 142# artifical delay is randomly inserted on messages 143# 144system.ruby.randomization = 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; --- 128 unchanged lines hidden (view full) --- 137system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, 138 voltage_domain = system.voltage_domain) 139 140# 141# The tester is most effective when randomization is turned on and 142# artifical delay is randomly inserted on messages 143# 144system.ruby.randomization = True |
145 | 145 |
146assert(len(cpus) == len(system.ruby._cpu_ports)) 147 148for (i, cpu) in enumerate(cpus): 149 # 150 # Tie the cpu memtester ports to the correct system ports 151 # 152 cpu.test = system.ruby._cpu_ports[i].slave 153 cpu.functional = system.funcbus.slave --- 34 unchanged lines hidden --- | 146assert(len(cpus) == len(system.ruby._cpu_ports)) 147 148for (i, cpu) in enumerate(cpus): 149 # 150 # Tie the cpu memtester ports to the correct system ports 151 # 152 cpu.test = system.ruby._cpu_ports[i].slave 153 cpu.functional = system.funcbus.slave --- 34 unchanged lines hidden --- |