From: Derek Hower Date: Thu, 6 Aug 2009 06:15:55 +0000 (-0500) Subject: protocol: fixed MOESI_CMP_directory bug X-Git-Tag: Calvin_Submission~39^2~9^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5e0c56da24ad1b6ee51592d19a9babb7b59da05;p=gem5.git protocol: fixed MOESI_CMP_directory bug --- diff --git a/src/mem/protocol/MOESI_CMP_directory-dma.sm b/src/mem/protocol/MOESI_CMP_directory-dma.sm index 74246c730..da10695d0 100644 --- a/src/mem/protocol/MOESI_CMP_directory-dma.sm +++ b/src/mem/protocol/MOESI_CMP_directory-dma.sm @@ -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);