summaryrefslogtreecommitdiff
path: root/configs/ruby/MOESI_hammer.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/MOESI_hammer.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/MOESI_hammer.py')
-rw-r--r--configs/ruby/MOESI_hammer.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/ruby/MOESI_hammer.py b/configs/ruby/MOESI_hammer.py
index 6e46f3e0f..fb755ba55 100644
--- a/configs/ruby/MOESI_hammer.py
+++ b/configs/ruby/MOESI_hammer.py
@@ -200,11 +200,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':