summaryrefslogtreecommitdiff
path: root/configs/ruby/MOESI_hammer.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/MOESI_hammer.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/MOESI_hammer.py')
-rw-r--r--configs/ruby/MOESI_hammer.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/configs/ruby/MOESI_hammer.py b/configs/ruby/MOESI_hammer.py
index d716aba7a..eaa3bc7a2 100644
--- a/configs/ruby/MOESI_hammer.py
+++ b/configs/ruby/MOESI_hammer.py
@@ -59,7 +59,7 @@ def define_options(parser):
parser.add_option("--dir-on", action="store_true",
help="Hammer: enable Full-bit Directory")
-def create_system(options, system, piobus, dma_ports, ruby_system):
+def create_system(options, system, dma_ports, ruby_system):
if buildEnv['PROTOCOL'] != 'MOESI_hammer':
panic("This script requires the MOESI_hammer protocol to be built.")
@@ -113,12 +113,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
-
if options.recycle_latency:
l1_cntrl.recycle_latency = options.recycle_latency