config: ruby: remove piobus from protocols

This patch removes the piobus from the protocol config files.  The ports
are now connected to the piobus in the Ruby.py file.
This commit is contained in:
Nilay Vaish
2014-03-17 17:40:15 -05:00
parent f7e7fa6d90
commit a20fbdfc23
8 changed files with 21 additions and 44 deletions

View File

@@ -42,7 +42,7 @@ class Cache(RubyCache):
def define_options(parser):
return
def create_system(options, system, piobus, dma_ports, ruby_system):
def create_system(options, system, dma_ports, ruby_system):
if buildEnv['PROTOCOL'] != 'MI_example':
panic("This script requires the MI_example protocol to be built.")
@@ -90,13 +90,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
ruby_system = ruby_system)
l1_cntrl.sequencer = cpu_seq
if piobus != None:
cpu_seq.pio_master_port = piobus.slave
cpu_seq.mem_master_port = piobus.slave
cpu_seq.pio_slave_port = piobus.master
exec("ruby_system.l1_cntrl%d = l1_cntrl" % i)
#
# Add controllers and sequencers to the appropriate lists
#