From: Matthew Poremba Date: Fri, 24 Apr 2020 17:47:52 +0000 (-0700) Subject: configs: Add missing requestToMemory MessageBuffers X-Git-Tag: v20.0.0.0~130 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa5bf60c784ef0d47bc677be70638f5a0ab1b17e;p=gem5.git configs: Add missing requestToMemory MessageBuffers 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 Reviewed-by: Jason Lowe-Power Reviewed-by: Ciro Santilli Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/configs/ruby/MESI_Three_Level.py b/configs/ruby/MESI_Three_Level.py index c05dca350..fdebea40c 100644 --- a/configs/ruby/MESI_Three_Level.py +++ b/configs/ruby/MESI_Three_Level.py @@ -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): diff --git a/configs/ruby/MOESI_AMD_Base.py b/configs/ruby/MOESI_AMD_Base.py index 5b2d912dd..aa9dd5049 100644 --- a/configs/ruby/MOESI_AMD_Base.py +++ b/configs/ruby/MOESI_AMD_Base.py @@ -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)