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; --- 152 unchanged lines hidden (view full) --- 161 phys_mem_size += long(mem.range.second) - long(mem.range.first) + 1 162 mem_module_size = phys_mem_size / options.num_dirs 163 164 for i in xrange(options.num_dirs): 165 # 166 # Create the Ruby objects associated with the directory controller 167 # 168 |
169 mem_cntrl = RubyMemoryControl(version = i, 170 ruby_system = ruby_system) |
171 172 dir_size = MemorySize('0B') 173 dir_size.value = mem_module_size 174 175 dir_cntrl = Directory_Controller(version = i, 176 cntrl_id = cntrl_count, 177 directory = \ 178 RubyDirectoryMemory(version = i, --- 35 unchanged lines hidden --- |