Deleted Added
sdiff udiff text old ( 8845:a230379caf65 ) new ( 8923:820111f58fbb )
full compact
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;

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

91 l2_select_num_bits = l2_bits,
92 send_evictions = (
93 options.cpu_type == "detailed"),
94 ruby_system = ruby_system)
95
96 cpu_seq = RubySequencer(version = i,
97 icache = l1i_cache,
98 dcache = l1d_cache,
99 ruby_system = ruby_system)
100
101 l1_cntrl.sequencer = cpu_seq
102
103 if piobus != None:
104 cpu_seq.pio_port = piobus.slave
105
106 exec("system.l1_cntrl%d = l1_cntrl" % i)

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

159
160 cntrl_count += 1
161
162 for i, dma_device in enumerate(dma_devices):
163 #
164 # Create the Ruby objects associated with the dma controller
165 #
166 dma_seq = DMASequencer(version = i,
167 ruby_system = ruby_system)
168
169 dma_cntrl = DMA_Controller(version = i,
170 cntrl_id = cntrl_count,
171 dma_sequencer = dma_seq,
172 ruby_system = ruby_system)
173
174 exec("system.dma_cntrl%d = dma_cntrl" % i)

--- 14 unchanged lines hidden ---