diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-03-21 21:22:20 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-03-21 21:22:20 -0700 |
commit | 378fbce911c8e5bcabaa0ab2506de8967a4ad56d (patch) | |
tree | 1079e98fe9fedc07832ca00e699dce8f61ef1be3 | |
parent | 4ee3b0da452139289d7334816b4fc082e3ac4a3b (diff) | |
download | gem5-378fbce911c8e5bcabaa0ab2506de8967a4ad56d.tar.xz |
ruby: Fixed small data msg bug in MOESI_hammer-dir
-rw-r--r-- | src/mem/protocol/MOESI_hammer-dir.sm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/protocol/MOESI_hammer-dir.sm b/src/mem/protocol/MOESI_hammer-dir.sm index 3cbeb8431..95a1010ac 100644 --- a/src/mem/protocol/MOESI_hammer-dir.sm +++ b/src/mem/protocol/MOESI_hammer-dir.sm @@ -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"); |