From 00ad4eb8ce997466e1d537b0f0a3911de7842b4c Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 26 Jul 2011 12:20:22 -0500 Subject: 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. --- configs/ruby/MOESI_hammer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configs/ruby/MOESI_hammer.py') 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': -- cgit v1.2.3