MOESI_hammer.py (10116:d61a59beb670) | MOESI_hammer.py (10300:ed3816dae6d5) |
---|---|
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; --- 91 unchanged lines hidden (view full) --- 100 L1Icache = l1i_cache, 101 L1Dcache = l1d_cache, 102 L2cache = l2_cache, 103 no_mig_atomic = not \ 104 options.allow_atomic_migration, 105 send_evictions = ( 106 options.cpu_type == "detailed"), 107 transitions_per_cycle = options.ports, | 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; --- 91 unchanged lines hidden (view full) --- 100 L1Icache = l1i_cache, 101 L1Dcache = l1d_cache, 102 L2cache = l2_cache, 103 no_mig_atomic = not \ 104 options.allow_atomic_migration, 105 send_evictions = ( 106 options.cpu_type == "detailed"), 107 transitions_per_cycle = options.ports, |
108 clk_domain=system.cpu[i].clk_domain, |
|
108 ruby_system = ruby_system) 109 110 cpu_seq = RubySequencer(version = i, 111 icache = l1i_cache, 112 dcache = l1d_cache, | 109 ruby_system = ruby_system) 110 111 cpu_seq = RubySequencer(version = i, 112 icache = l1i_cache, 113 dcache = l1d_cache, |
114 clk_domain=system.cpu[i].clk_domain, |
|
113 ruby_system = ruby_system) 114 115 l1_cntrl.sequencer = cpu_seq 116 if options.recycle_latency: 117 l1_cntrl.recycle_latency = options.recycle_latency 118 119 exec("ruby_system.l1_cntrl%d = l1_cntrl" % i) 120 # --- 101 unchanged lines hidden --- | 115 ruby_system = ruby_system) 116 117 l1_cntrl.sequencer = cpu_seq 118 if options.recycle_latency: 119 l1_cntrl.recycle_latency = options.recycle_latency 120 121 exec("ruby_system.l1_cntrl%d = l1_cntrl" % i) 122 # --- 101 unchanged lines hidden --- |