MOESI_CMP_token.py (8845:a230379caf65) MOESI_CMP_token.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;

--- 104 unchanged lines hidden (view full) ---

113 options.allow_atomic_migration,
114 send_evictions = (
115 options.cpu_type == "detailed"),
116 ruby_system = ruby_system)
117
118 cpu_seq = RubySequencer(version = i,
119 icache = l1i_cache,
120 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;

--- 104 unchanged lines hidden (view full) ---

113 options.allow_atomic_migration,
114 send_evictions = (
115 options.cpu_type == "detailed"),
116 ruby_system = ruby_system)
117
118 cpu_seq = RubySequencer(version = i,
119 icache = l1i_cache,
120 dcache = l1d_cache,
121 physMemPort = system.physmem.port,
122 physmem = system.physmem,
123 ruby_system = ruby_system)
124
125 l1_cntrl.sequencer = cpu_seq
126
127 if piobus != None:
128 cpu_seq.pio_port = piobus.slave
129
130 exec("system.l1_cntrl%d = l1_cntrl" % i)

--- 54 unchanged lines hidden (view full) ---

185
186 cntrl_count += 1
187
188 for i, dma_device in enumerate(dma_devices):
189 #
190 # Create the Ruby objects associated with the dma controller
191 #
192 dma_seq = DMASequencer(version = i,
121 ruby_system = ruby_system)
122
123 l1_cntrl.sequencer = cpu_seq
124
125 if piobus != None:
126 cpu_seq.pio_port = piobus.slave
127
128 exec("system.l1_cntrl%d = l1_cntrl" % i)

--- 54 unchanged lines hidden (view full) ---

183
184 cntrl_count += 1
185
186 for i, dma_device in enumerate(dma_devices):
187 #
188 # Create the Ruby objects associated with the dma controller
189 #
190 dma_seq = DMASequencer(version = i,
193 physMemPort = system.physmem.port,
194 physmem = system.physmem,
195 ruby_system = ruby_system)
196
197 dma_cntrl = DMA_Controller(version = i,
198 cntrl_id = cntrl_count,
199 dma_sequencer = dma_seq,
200 ruby_system = ruby_system)
201
202 exec("system.dma_cntrl%d = dma_cntrl" % i)

--- 14 unchanged lines hidden ---
191 ruby_system = ruby_system)
192
193 dma_cntrl = DMA_Controller(version = i,
194 cntrl_id = cntrl_count,
195 dma_sequencer = dma_seq,
196 ruby_system = ruby_system)
197
198 exec("system.dma_cntrl%d = dma_cntrl" % i)

--- 14 unchanged lines hidden ---