configs: Add missing requestToMemory MessageBuffers
authorMatthew Poremba <matthew.poremba@amd.com>
Fri, 24 Apr 2020 17:47:52 +0000 (10:47 -0700)
committerMatthew Poremba <matthew.poremba@amd.com>
Tue, 28 Apr 2020 14:41:28 +0000 (14:41 +0000)
In commit 53b6e21 two protocol config files were missed when the new
requestToMemory MessageBuffers were added. This fixes the issue such
that all Ruby protocols are working again.

Change-Id: Iaa04c792eaf6d659ba13c19f003e7e31b71ffdb4
JIRA: https://gem5.atlassian.net/browse/GEM5-468
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28187
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/ruby/MESI_Three_Level.py
configs/ruby/MOESI_AMD_Base.py

index c05dca350f16a98a412d4997ae3bbb289e1e15a5..fdebea40cca4d46f1f6af84befa890fece13a8eb 100644 (file)
@@ -229,6 +229,7 @@ def create_system(options, full_system, system, dma_ports, bootmem,
         dir_cntrl.responseToDir.slave = ruby_system.network.master
         dir_cntrl.responseFromDir = MessageBuffer()
         dir_cntrl.responseFromDir.master = ruby_system.network.slave
+        dir_cntrl.requestToMemory = MessageBuffer()
         dir_cntrl.responseFromMemory = MessageBuffer()
 
     for i, dma_port in enumerate(dma_ports):
index 5b2d912ddf00fb6b90aec82abeaff95a4521fed9..aa9dd5049049f3585c5ae7afb9cc8252375463c3 100644 (file)
@@ -277,6 +277,8 @@ def create_system(options, full_system, system, dma_devices, bootmem,
 
         dir_cntrl.triggerQueue = MessageBuffer(ordered = True)
         dir_cntrl.L3triggerQueue = MessageBuffer(ordered = True)
+
+        dir_cntrl.requestToMemory = MessageBuffer()
         dir_cntrl.responseFromMemory = MessageBuffer()
 
         exec("system.dir_cntrl%d = dir_cntrl" % i)