ruby: 2x protocols has typo/syntax error that fails building
authorTimothy Hayes <timothy.hayes@arm.com>
Fri, 27 Sep 2019 13:51:43 +0000 (14:51 +0100)
committerTimothy Hayes <timothy.hayes@arm.com>
Sat, 28 Sep 2019 07:11:56 +0000 (07:11 +0000)
MOESI_hammer and MOESI_CMP_token contain incorrect lines.

Change-Id: I1f9ac429d0f4dcb0241f21c8c9b831bee7aa37a4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21259
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/protocol/MOESI_CMP_token-L1cache.sm
src/mem/ruby/protocol/MOESI_hammer-dir.sm

index 960afda33aa7c9c031672a698194f70cffb73e4e..17c518a102e0a308cac320bf6bffbf860901c444 100644 (file)
@@ -695,7 +695,6 @@ machine(MachineType:L1Cache, "Token protocol")
                       in_msg.LineAddress, L1Icache_entry, tbe);
             } else {
               // No room in the L1, so we need to make room
-              trigger(Event:L1_Replacement,
               Addr victim := L1Icache.cacheProbe(in_msg.LineAddress);
               trigger(Event:L1_Replacement,
                       victim, getL1ICacheEntry(victim), L1_TBEs[victim]);
index d85ff1929cc45ed57f4fca96f367e2f335073b17..3b00168684948aefc852cc05a73d846575f4ad54 100644 (file)
@@ -426,7 +426,6 @@ machine(MachineType:Directory, "AMD Hammer-like protocol")
                 trigger(cache_request_to_event(in_msg.Type), in_msg.addr,
                         pf_entry, tbe);
               } else {
-                trigger(Event:Pf_Replacement,
                 Addr victim := probeFilter.cacheProbe(in_msg.addr);
                 trigger(Event:Pf_Replacement,
                         victim, getProbeFilterEntry(victim), TBEs[victim]);