summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-12-04 08:59:44 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2014-12-04 08:59:44 -0600
commitcca1608bd52a1b8737dddc80a71cb1fa0bd57128 (patch)
treee24bfa20761c27c093da6903c40775d610a05cf3
parentd67cf81f5db4ede75d6b89cbc2b73059902404b3 (diff)
downloadgem5-cca1608bd52a1b8737dddc80a71cb1fa0bd57128.tar.xz
config: ruby: mi protocol: correct master slave setting for dma
In the MI protocol, the master slave connection between the dma controller and network was being set incorrectly. This patch corrects it.
-rw-r--r--configs/ruby/MI_example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/ruby/MI_example.py b/configs/ruby/MI_example.py
index 708e111e6..28814b9f9 100644
--- a/configs/ruby/MI_example.py
+++ b/configs/ruby/MI_example.py
@@ -154,8 +154,8 @@ def create_system(options, full_system, system, dma_ports, ruby_system):
dma_cntrl_nodes.append(dma_cntrl)
# Connect the directory controllers and the network
- dma_cntrl.requestToDir = ruby_system.network.master
- dma_cntrl.responseFromDir = ruby_system.network.slave
+ dma_cntrl.requestToDir = ruby_system.network.slave
+ dma_cntrl.responseFromDir = ruby_system.network.master
all_cntrls = l1_cntrl_nodes + dir_cntrl_nodes + dma_cntrl_nodes