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; --- 129 unchanged lines hidden (view full) --- 138 phys_mem_size += long(mem.range.second) - long(mem.range.first) + 1 139 mem_module_size = phys_mem_size / options.num_dirs 140 141 for i in xrange(options.num_dirs): 142 # 143 # Create the Ruby objects associated with the directory controller 144 # 145 |
146 mem_cntrl = RubyMemoryControl(version = i, 147 ruby_system = ruby_system) |
148 149 dir_size = MemorySize('0B') 150 dir_size.value = mem_module_size 151 152 dir_cntrl = Directory_Controller(version = i, 153 cntrl_id = cntrl_count, 154 directory = \ 155 RubyDirectoryMemory(version = i, --- 34 unchanged lines hidden --- |