changeset e5936c2d53a0 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=e5936c2d53a0
description:
config, ruby: connect dma to network
DMA Controller was not being connected to the network for the
MESI_Three_Level
protocol as was being done in the other protocol config files. Without
this
patch, this protocol segfaults during startup.
Committed by: Nilay Vaish <[email protected]>
diffstat:
configs/ruby/MESI_Three_Level.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 333350e4e334 -r e5936c2d53a0 configs/ruby/MESI_Three_Level.py
--- a/configs/ruby/MESI_Three_Level.py Tue Jan 20 14:15:27 2015 -0600
+++ b/configs/ruby/MESI_Three_Level.py Tue Jan 20 14:15:28 2015 -0600
@@ -216,6 +216,10 @@
exec("ruby_system.dma_cntrl%d.dma_sequencer.slave = dma_port" % i)
dma_cntrl_nodes.append(dma_cntrl)
+ # Connect the dma controller to the network
+ dma_cntrl.responseFromDir = ruby_system.network.master
+ dma_cntrl.requestToDir = ruby_system.network.slave
+
all_cntrls = l0_cntrl_nodes + \
l1_cntrl_nodes + \
l2_cntrl_nodes + \
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev