summaryrefslogtreecommitdiff
path: root/configs/ruby/MI_example.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-07-26 12:20:22 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-07-26 12:20:22 -0500
commit00ad4eb8ce997466e1d537b0f0a3911de7842b4c (patch)
tree9de2207fac270113701e292a76c946d3d2dfc179 /configs/ruby/MI_example.py
parentfb1f3bae1b35687cd98ec06c9fc291a88b1e546d (diff)
downloadgem5-00ad4eb8ce997466e1d537b0f0a3911de7842b4c.tar.xz
Ruby: Fix instantiations of DMA controller and sequencer
The patch on Ruby functional accesses made changes to the process of instantiating controllers and sequencers. The DMA controller and sequencer was not updated, hence this patch.
Diffstat (limited to 'configs/ruby/MI_example.py')
-rw-r--r--configs/ruby/MI_example.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/ruby/MI_example.py b/configs/ruby/MI_example.py
index fcee35f00..eeb81e8a3 100644
--- a/configs/ruby/MI_example.py
+++ b/configs/ruby/MI_example.py
@@ -141,11 +141,13 @@ def create_system(options, system, piobus, dma_devices, ruby_system):
#
dma_seq = DMASequencer(version = i,
physMemPort = system.physmem.port,
- physmem = system.physmem)
+ physmem = system.physmem,
+ ruby_system = ruby_system)
dma_cntrl = DMA_Controller(version = i,
cntrl_id = cntrl_count,
- dma_sequencer = dma_seq)
+ dma_sequencer = dma_seq,
+ ruby_system = ruby_system)
exec("system.dma_cntrl%d = dma_cntrl" % i)
if dma_device.type == 'MemTest':