MOESI_hammer.py (9100:3caf131d7a95) MOESI_hammer.py (9154:198352d722e4)
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;

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

159 else:
160 pf_start_bit = 6
161
162 for i in xrange(options.num_dirs):
163 #
164 # Create the Ruby objects associated with the directory controller
165 #
166
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;

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

159 else:
160 pf_start_bit = 6
161
162 for i in xrange(options.num_dirs):
163 #
164 # Create the Ruby objects associated with the directory controller
165 #
166
167 mem_cntrl = RubyMemoryControl(version = i)
167 mem_cntrl = RubyMemoryControl(version = i,
168 ruby_system = ruby_system)
168
169 dir_size = MemorySize('0B')
170 dir_size.value = mem_module_size
171
172 pf = ProbeFilter(size = pf_size, assoc = 4,
173 start_index_bit = pf_start_bit)
174
175 dir_cntrl = Directory_Controller(version = i,

--- 50 unchanged lines hidden ---
169
170 dir_size = MemorySize('0B')
171 dir_size.value = mem_module_size
172
173 pf = ProbeFilter(size = pf_size, assoc = 4,
174 start_index_bit = pf_start_bit)
175
176 dir_cntrl = Directory_Controller(version = i,

--- 50 unchanged lines hidden ---