config: ruby: mi protocol: correct master slave setting for dma
authorNilay Vaish <nilay@cs.wisc.edu>
Thu, 4 Dec 2014 14:59:44 +0000 (08:59 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Thu, 4 Dec 2014 14:59:44 +0000 (08:59 -0600)
In the MI protocol, the master slave connection between the dma controller
and network was being set incorrectly.  This patch corrects it.

configs/ruby/MI_example.py

index 708e111e66aad6579a710f8a2f5bfc81d294cbea..28814b9f93162e37dd14bf2a96e4cfbd7a51d8e2 100644 (file)
@@ -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