58c58
< def create_system(options, system, dma_ports, ruby_system):
---
> def create_system(options, full_system, system, dma_ports, ruby_system):
225c225,226
< ruby_system = ruby_system)
---
> ruby_system = ruby_system,
> slave = dma_port)
233d233
< exec("ruby_system.dma_cntrl%d.dma_sequencer.slave = dma_port" % i)
235a236,239
> # Connect the dma controller to the network
> dma_cntrl.responseFromDir = ruby_system.network.master
> dma_cntrl.reqToDirectory = ruby_system.network.slave
>
241c245,252
< topology = create_topology(all_cntrls, options)
---
> # Create the io controller and the sequencer
> if full_system:
> io_seq = DMASequencer(version=len(dma_ports), ruby_system=ruby_system)
> ruby_system._io_port = io_seq
> io_controller = DMA_Controller(version = len(dma_ports),
> dma_sequencer = io_seq,
> ruby_system = ruby_system)
> ruby_system.io_controller = io_controller
242a254,261
> # Connect the dma controller to the network
> io_controller.responseFromDir = ruby_system.network.master
> io_controller.reqToDirectory = ruby_system.network.slave
>
> all_cntrls = all_cntrls + [io_controller]
>
>
> topology = create_topology(all_cntrls, options)