MOESI_hammer.py (7904:6f5299ff8260) MOESI_hammer.py (7917:d9afb18a5008)
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
160 dir_cntrl = Directory_Controller(version = i,
161 directory = \
162 RubyDirectoryMemory( \
163 version = i,
164 size = dir_size,
165 use_map = options.use_map,
166 map_levels = \
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
160 dir_cntrl = Directory_Controller(version = i,
161 directory = \
162 RubyDirectoryMemory( \
163 version = i,
164 size = dir_size,
165 use_map = options.use_map,
166 map_levels = \
167 options.map_levels),
167 options.map_levels,
168 numa_high_bit = \
169 options.numa_high_bit),
168 probeFilter = pf,
169 memBuffer = mem_cntrl,
170 probe_filter_enabled = options.pf_on,
171 full_bit_dir_enabled = options.dir_on)
172
173 if options.recycle_latency:
174 dir_cntrl.recycle_latency = options.recycle_latency
175

--- 27 unchanged lines hidden ---
170 probeFilter = pf,
171 memBuffer = mem_cntrl,
172 probe_filter_enabled = options.pf_on,
173 full_bit_dir_enabled = options.dir_on)
174
175 if options.recycle_latency:
176 dir_cntrl.recycle_latency = options.recycle_latency
177

--- 27 unchanged lines hidden ---