MOESI_hammer.py (7015:6c91d41dfc12) | MOESI_hammer.py (7031:3b9335a18b4c) |
---|---|
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; --- 99 unchanged lines hidden (view full) --- 108 mem_cntrl = RubyMemoryControl(version = i) 109 110 dir_size = MemorySize('0B') 111 dir_size.value = mem_module_size 112 113 dir_cntrl = Directory_Controller(version = i, 114 directory = \ 115 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; --- 99 unchanged lines hidden (view full) --- 108 mem_cntrl = RubyMemoryControl(version = i) 109 110 dir_size = MemorySize('0B') 111 dir_size.value = mem_module_size 112 113 dir_cntrl = Directory_Controller(version = i, 114 directory = \ 115 RubyDirectoryMemory(version = i, |
116 size = dir_size), | 116 size = dir_size, 117 use_map = options.use_map, 118 map_levels = options.map_levels), |
117 memBuffer = mem_cntrl) 118 119 dir_cntrl_nodes.append(dir_cntrl) 120 121 for i, dma_device in enumerate(dma_devices): 122 # 123 # Create the Ruby objects associated with the dma controller 124 # --- 13 unchanged lines hidden --- | 119 memBuffer = mem_cntrl) 120 121 dir_cntrl_nodes.append(dir_cntrl) 122 123 for i, dma_device in enumerate(dma_devices): 124 # 125 # Create the Ruby objects associated with the dma controller 126 # --- 13 unchanged lines hidden --- |