MI_example.py (7015:6c91d41dfc12) | MI_example.py (7025:9adf5b0ccc79) |
---|---|
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; --- 91 unchanged lines hidden (view full) --- 100 mem_cntrl = RubyMemoryControl(version = i) 101 102 dir_size = MemorySize('0B') 103 dir_size.value = mem_module_size 104 105 dir_cntrl = Directory_Controller(version = i, 106 directory = \ 107 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; --- 91 unchanged lines hidden (view full) --- 100 mem_cntrl = RubyMemoryControl(version = i) 101 102 dir_size = MemorySize('0B') 103 dir_size.value = mem_module_size 104 105 dir_cntrl = Directory_Controller(version = i, 106 directory = \ 107 RubyDirectoryMemory(version = i, |
108 size = dir_size), | 108 size = dir_size, 109 use_map = options.use_map, 110 map_levels = options.map_levels), |
109 memBuffer = mem_cntrl) 110 111 dir_cntrl_nodes.append(dir_cntrl) 112 113 for i, dma_device in enumerate(dma_devices): 114 # 115 # Create the Ruby objects associated with the dma controller 116 # --- 13 unchanged lines hidden --- | 111 memBuffer = mem_cntrl) 112 113 dir_cntrl_nodes.append(dir_cntrl) 114 115 for i, dma_device in enumerate(dma_devices): 116 # 117 # Create the Ruby objects associated with the dma controller 118 # --- 13 unchanged lines hidden --- |