ruby: moesi hammer: correct typo in master-slave assignment
authorNilay Vaish <nilay@cs.wisc.edu>
Sat, 11 Oct 2014 20:02:22 +0000 (15:02 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Sat, 11 Oct 2014 20:02:22 +0000 (15:02 -0500)
configs/ruby/MOESI_hammer.py

index c13a6cc3a2e50b6f31968718aa9c773f5f2ce806..1c07ca945cf673330862a40c0b057dd02eca6faf 100644 (file)
@@ -239,8 +239,8 @@ def create_system(options, system, dma_ports, ruby_system):
             dma_cntrl.recycle_latency = options.recycle_latency
 
         # Connect the dma controller to the network
-        dma_cntrl.responseFromDir = ruby_system.network.slave
-        dma_cntrl.requestToDir = ruby_system.network.master
+        dma_cntrl.responseFromDir = ruby_system.network.master
+        dma_cntrl.requestToDir = ruby_system.network.slave
 
 
     all_cntrls = l1_cntrl_nodes + dir_cntrl_nodes + dma_cntrl_nodes