summaryrefslogtreecommitdiff
path: root/configs/ruby/MESI_Two_Level.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-03-17 17:40:15 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2014-03-17 17:40:15 -0500
commita20fbdfc23f8c7cbbe2c0b884d28db99442feba9 (patch)
treedfbbf89dd0df9c1ebd4c4df670060a8daa4beae4 /configs/ruby/MESI_Two_Level.py
parentf7e7fa6d90f86cb42c04b8aca0b0eb173d68185f (diff)
downloadgem5-a20fbdfc23f8c7cbbe2c0b884d28db99442feba9.tar.xz
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.
Diffstat (limited to 'configs/ruby/MESI_Two_Level.py')
-rw-r--r--configs/ruby/MESI_Two_Level.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/configs/ruby/MESI_Two_Level.py b/configs/ruby/MESI_Two_Level.py
index 518336168..845d5cf22 100644
--- a/configs/ruby/MESI_Two_Level.py
+++ b/configs/ruby/MESI_Two_Level.py
@@ -48,7 +48,7 @@ class L2Cache(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'] != 'MESI_Two_Level':
fatal("This script requires the MESI_Two_Level protocol to be built.")
@@ -104,12 +104,6 @@ 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)
#