MOESI_hammer.py (8845:a230379caf65) | MOESI_hammer.py (8923:820111f58fbb) |
---|---|
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; --- 97 unchanged lines hidden (view full) --- 106 options.allow_atomic_migration, 107 send_evictions = ( 108 options.cpu_type == "detailed"), 109 ruby_system = ruby_system) 110 111 cpu_seq = RubySequencer(version = i, 112 icache = l1i_cache, 113 dcache = l1d_cache, | 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; --- 97 unchanged lines hidden (view full) --- 106 options.allow_atomic_migration, 107 send_evictions = ( 108 options.cpu_type == "detailed"), 109 ruby_system = ruby_system) 110 111 cpu_seq = RubySequencer(version = i, 112 icache = l1i_cache, 113 dcache = l1d_cache, |
114 physMemPort = system.physmem.port, 115 physmem = system.physmem, | |
116 ruby_system = ruby_system) 117 118 l1_cntrl.sequencer = cpu_seq 119 120 if piobus != None: 121 cpu_seq.pio_port = piobus.slave 122 123 if options.recycle_latency: --- 73 unchanged lines hidden (view full) --- 197 198 cntrl_count += 1 199 200 for i, dma_device in enumerate(dma_devices): 201 # 202 # Create the Ruby objects associated with the dma controller 203 # 204 dma_seq = DMASequencer(version = i, | 114 ruby_system = ruby_system) 115 116 l1_cntrl.sequencer = cpu_seq 117 118 if piobus != None: 119 cpu_seq.pio_port = piobus.slave 120 121 if options.recycle_latency: --- 73 unchanged lines hidden (view full) --- 195 196 cntrl_count += 1 197 198 for i, dma_device in enumerate(dma_devices): 199 # 200 # Create the Ruby objects associated with the dma controller 201 # 202 dma_seq = DMASequencer(version = i, |
205 physMemPort = system.physmem.port, 206 physmem = system.physmem, | |
207 ruby_system = ruby_system) 208 209 dma_cntrl = DMA_Controller(version = i, 210 cntrl_id = cntrl_count, 211 dma_sequencer = dma_seq, 212 ruby_system = ruby_system) 213 214 exec("system.dma_cntrl%d = dma_cntrl" % i) --- 14 unchanged lines hidden --- | 203 ruby_system = ruby_system) 204 205 dma_cntrl = DMA_Controller(version = i, 206 cntrl_id = cntrl_count, 207 dma_sequencer = dma_seq, 208 ruby_system = ruby_system) 209 210 exec("system.dma_cntrl%d = dma_cntrl" % i) --- 14 unchanged lines hidden --- |