diff options
Diffstat (limited to 'src/mem/protocol/MOESI_hammer-dir.sm')
-rw-r--r-- | src/mem/protocol/MOESI_hammer-dir.sm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/protocol/MOESI_hammer-dir.sm b/src/mem/protocol/MOESI_hammer-dir.sm index 57433dd3d..3cbeb8431 100644 --- a/src/mem/protocol/MOESI_hammer-dir.sm +++ b/src/mem/protocol/MOESI_hammer-dir.sm @@ -320,7 +320,7 @@ machine(Directory, "AMD Hammer-like protocol") // // One ack for each last-level cache // - TBEs[address].NumPendingMsgs := getNumberOfLastLevelCaches(); + TBEs[address].NumPendingMsgs := machineCount(MachineType:L1Cache); // // Assume initially that the caches store a clean copy and that memory // will provide the data @@ -468,7 +468,7 @@ machine(Directory, "AMD Hammer-like protocol") } action(f_forwardRequest, "f", desc="Forward requests") { - if (getNumberOfLastLevelCaches() > 1) { + if (machineCount(MachineType:L1Cache) > 1) { peek(requestQueue_in, RequestMsg) { enqueue(forwardNetwork_out, RequestMsg, latency=memory_controller_latency) { out_msg.Address := address; |