rubytest-ruby.py (8931:7a1dfb191e3f) | rubytest-ruby.py (8933:2727a5a0aadc) |
---|---|
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; --- 51 unchanged lines hidden (view full) --- 60options.l1i_size="256B" 61options.l2_size="512B" 62options.l3_size="1kB" 63options.l1d_assoc=2 64options.l1i_assoc=2 65options.l2_assoc=2 66options.l3_assoc=2 67 | 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; --- 51 unchanged lines hidden (view full) --- 60options.l1i_size="256B" 61options.l2_size="512B" 62options.l3_size="1kB" 63options.l1d_assoc=2 64options.l1i_assoc=2 65options.l2_assoc=2 66options.l3_assoc=2 67 |
68# Turn on flush check for the hammer protocol 69check_flush = False 70if buildEnv['PROTOCOL'] == 'MOESI_hammer': 71 check_flush = True 72 |
|
68# 69# create the tester and system, including ruby 70# | 73# 74# create the tester and system, including ruby 75# |
71tester = RubyTester(checks_to_complete = 100, wakeup_frequency = 10) | 76tester = RubyTester(check_flush = check_flush, checks_to_complete = 100, 77 wakeup_frequency = 10) |
72 73system = System(tester = tester, physmem = SimpleMemory()) 74 75Ruby.create_system(options, system) 76 77assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) 78 79# --- 32 unchanged lines hidden --- | 78 79system = System(tester = tester, physmem = SimpleMemory()) 80 81Ruby.create_system(options, system) 82 83assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) 84 85# --- 32 unchanged lines hidden --- |