summaryrefslogtreecommitdiff
path: root/src/mem/ruby/protocol
diff options
context:
space:
mode:
authorTimothy Hayes <timothy.hayes@arm.com>2019-09-27 14:51:43 +0100
committerTimothy Hayes <timothy.hayes@arm.com>2019-09-28 07:11:56 +0000
commita060ac86307311587d05d280ee1f4cbdb84fe98a (patch)
tree5c014a3ef05ba905ec542fbc0912aeb3ff3c2dca /src/mem/ruby/protocol
parente4050372b207332db52ec2101eac7f3eb36cf4f4 (diff)
downloadgem5-a060ac86307311587d05d280ee1f4cbdb84fe98a.tar.xz
ruby: 2x protocols has typo/syntax error that fails building
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>
Diffstat (limited to 'src/mem/ruby/protocol')
-rw-r--r--src/mem/ruby/protocol/MOESI_CMP_token-L1cache.sm1
-rw-r--r--src/mem/ruby/protocol/MOESI_hammer-dir.sm1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mem/ruby/protocol/MOESI_CMP_token-L1cache.sm b/src/mem/ruby/protocol/MOESI_CMP_token-L1cache.sm
index 960afda33..17c518a10 100644
--- a/src/mem/ruby/protocol/MOESI_CMP_token-L1cache.sm
+++ b/src/mem/ruby/protocol/MOESI_CMP_token-L1cache.sm
@@ -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]);
diff --git a/src/mem/ruby/protocol/MOESI_hammer-dir.sm b/src/mem/ruby/protocol/MOESI_hammer-dir.sm
index d85ff1929..3b0016868 100644
--- a/src/mem/ruby/protocol/MOESI_hammer-dir.sm
+++ b/src/mem/ruby/protocol/MOESI_hammer-dir.sm
@@ -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]);