ruby: Fixed small data msg bug in MOESI_hammer-dir
authorBrad Beckmann <Brad.Beckmann@amd.com>
Mon, 22 Mar 2010 04:22:20 +0000 (21:22 -0700)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Mon, 22 Mar 2010 04:22:20 +0000 (21:22 -0700)
src/mem/protocol/MOESI_hammer-dir.sm

index 3cbeb84315c3dda88d8226fdbf4b44a67bdeea72..95a1010accc6c5aedcaf548b8aed968d31b24bc7 100644 (file)
@@ -220,7 +220,8 @@ machine(Directory, "AMD Hammer-like protocol")
           trigger(Event:Shared_Ack, in_msg.Address);
         } else if (in_msg.Type == CoherenceResponseType:DATA_SHARED) {
           trigger(Event:Shared_Data, in_msg.Address);
-        } else if (in_msg.Type == CoherenceResponseType:DATA_EXCLUSIVE) {
+        } else if (in_msg.Type == CoherenceResponseType:DATA_EXCLUSIVE ||
+                   in_msg.Type == CoherenceResponseType:DATA) {
           trigger(Event:Exclusive_Data, in_msg.Address);
         } else {
           error("Unexpected message");