diff options
author | Malek Musleh <malek.musleh@gmail.com> | 2015-01-20 14:15:28 -0600 |
---|---|---|
committer | Malek Musleh <malek.musleh@gmail.com> | 2015-01-20 14:15:28 -0600 |
commit | be3a952394e1f337d1c372448ee099203336181a (patch) | |
tree | 3101d88f020464d0dec01ec0e894d3521c0afb84 | |
parent | a35283ac65f956a88c796972c77f0ac5d9d8a180 (diff) | |
download | gem5-be3a952394e1f337d1c372448ee099203336181a.tar.xz |
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 <nilay@cs.wisc.edu>
-rw-r--r-- | configs/ruby/MESI_Three_Level.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/ruby/MESI_Three_Level.py b/configs/ruby/MESI_Three_Level.py index f5a2ddfbe..42b5119da 100644 --- a/configs/ruby/MESI_Three_Level.py +++ b/configs/ruby/MESI_Three_Level.py @@ -216,6 +216,10 @@ def create_system(options, full_system, system, dma_ports, ruby_system): 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 + \ |