Deleted Added
sdiff udiff text old ( 9697:f037e7b4a827 ) new ( 9793:6e6cefc1db1f )
full compact
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;

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

153 # set the probe filter start bit to just above the block offset
154 pf_start_bit = block_size_bits
155 else:
156 if dir_bits > 0:
157 pf_start_bit = dir_bits + block_size_bits - 1
158 else:
159 pf_start_bit = block_size_bits
160
161 for i in xrange(options.num_dirs):
162 #
163 # Create the Ruby objects associated with the directory controller
164 #
165
166 mem_cntrl = RubyMemoryControl(version = i,
167 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 ---