From: Brandon Potter Date: Fri, 16 Feb 2018 18:06:28 +0000 (-0500) Subject: ruby: bugfix for MESI_Three_Level protocol X-Git-Tag: v19.0.0.0~2169 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=862a454677a79360c265126de0c5b7adb8672a8f;p=gem5.git ruby: bugfix for MESI_Three_Level protocol Since a3177645, the MESI_Three_Level protocol does not build. This changeset addresses the problem by adding the L0Cache machine type to the static machine type declaration in Ruby's export file. Change-Id: I6327547fcb34595619caeb73932c0032f5f65c9f Reviewed-on: https://gem5-review.googlesource.com/8383 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- diff --git a/src/mem/protocol/RubySlicc_Exports.sm b/src/mem/protocol/RubySlicc_Exports.sm index 1beb3f2e0..8e17f9849 100644 --- a/src/mem/protocol/RubySlicc_Exports.sm +++ b/src/mem/protocol/RubySlicc_Exports.sm @@ -218,6 +218,7 @@ enumeration(MemoryControlRequestType, desc="...", default="MemoryControlRequestT // you cannot use anything other than the ones defined here. Also, a protocol // can have only one state machine for a given type. enumeration(MachineType, desc="...", default="MachineType_NULL") { + L0Cache, desc="L0 Cache Mach"; L1Cache, desc="L1 Cache Mach"; L2Cache, desc="L2 Cache Mach"; L3Cache, desc="L3 Cache Mach";