MOESI_CMP_token.py (9468:721718c62859) MOESI_CMP_token.py (9693:647f6624c46a)
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;

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

170
171 dir_size = MemorySize('0B')
172 dir_size.value = mem_module_size
173
174 dir_cntrl = Directory_Controller(version = i,
175 cntrl_id = cntrl_count,
176 directory = \
177 RubyDirectoryMemory(version = i,
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;

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

170
171 dir_size = MemorySize('0B')
172 dir_size.value = mem_module_size
173
174 dir_cntrl = Directory_Controller(version = i,
175 cntrl_id = cntrl_count,
176 directory = \
177 RubyDirectoryMemory(version = i,
178 size = dir_size),
178 use_map = options.use_map,
179 size = dir_size),
179 memBuffer = mem_cntrl,
180 l2_select_num_bits = l2_bits,
181 ruby_system = ruby_system)
182
183 exec("ruby_system.dir_cntrl%d = dir_cntrl" % i)
184 dir_cntrl_nodes.append(dir_cntrl)
185
186 cntrl_count += 1

--- 26 unchanged lines hidden ---
180 memBuffer = mem_cntrl,
181 l2_select_num_bits = l2_bits,
182 ruby_system = ruby_system)
183
184 exec("ruby_system.dir_cntrl%d = dir_cntrl" % i)
185 dir_cntrl_nodes.append(dir_cntrl)
186
187 cntrl_count += 1

--- 26 unchanged lines hidden ---