protocol: fixed MOESI_CMP_directory bug
authorDerek Hower <drh5@cs.wisc.edu>
Thu, 6 Aug 2009 06:15:55 +0000 (01:15 -0500)
committerDerek Hower <drh5@cs.wisc.edu>
Thu, 6 Aug 2009 06:15:55 +0000 (01:15 -0500)
src/mem/protocol/MOESI_CMP_directory-dma.sm

index 74246c7303dd329b3212b8ba9e1ca5a995e421e7..da10695d052db602e5ddf9e6cb25a3b842816383 100644 (file)
@@ -98,7 +98,8 @@ machine(DMA, "DMA Controller")
       peek( dmaResponseQueue_in, ResponseMsg) {
         if (in_msg.Type == CoherenceResponseType:DMA_ACK) {
           trigger(Event:DMA_Ack, 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:Data, in_msg.Address);
         } else if (in_msg.Type == CoherenceResponseType:ACK) {
           trigger(Event:Inv_Ack, in_msg.Address);