diff options
Diffstat (limited to 'configs/ruby/MI_example.py')
-rw-r--r-- | configs/ruby/MI_example.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/ruby/MI_example.py b/configs/ruby/MI_example.py index c51e19e09..0e101d18f 100644 --- a/configs/ruby/MI_example.py +++ b/configs/ruby/MI_example.py @@ -132,6 +132,10 @@ def create_system(options, system, piobus, dma_devices): dma_sequencer = dma_seq) exec("system.dma_cntrl%d = dma_cntrl" % i) + if dma_device.type == 'MemTest': + system.dma_cntrl.dma_sequencer.port = dma_device.test + else: + system.dma_cntrl.dma_sequencer.port = dma_device.dma dma_cntrl.dma_sequencer.port = dma_device.dma dma_cntrl_nodes.append(dma_cntrl) |