ruby: Initialize sender in MI_example-dir
authorBrad Beckmann <Brad.Beckmann@amd.com>
Thu, 11 Feb 2010 00:40:54 +0000 (16:40 -0800)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Thu, 11 Feb 2010 00:40:54 +0000 (16:40 -0800)
src/mem/protocol/MI_example-dir.sm

index 12f7e45523f93228a1a3a1fb13b6f4dd3cfa724c..3fc814315de15d121c32b6e1e79c4bbf1adf56a7 100644 (file)
@@ -429,6 +429,7 @@ machine(Directory, "Directory protocol")
       enqueue(memQueue_out, MemoryMsg, latency="1") {
         out_msg.Address := address;
         out_msg.Type := MemoryRequestType:MEMORY_WB;
+        out_msg.Sender := machineID;
         out_msg.OriginalRequestorMachId := in_msg.Requestor;
         out_msg.DataBlk := in_msg.DataBlk;
         out_msg.MessageSize := in_msg.MessageSize;