MESI Protocol: Correct the virtual network in profile functions
authorNilay Vaish <nilay@cs.wisc.edu>
Sat, 25 Aug 2012 20:49:06 +0000 (15:49 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Sat, 25 Aug 2012 20:49:06 +0000 (15:49 -0500)
The virtual network in a couple of places was incorrectly mentioned
as 3 in place of 1. This is being corrected.

src/mem/protocol/MESI_CMP_directory-L1cache.sm
src/mem/protocol/MESI_CMP_directory-L2cache.sm

index 91be3933f08899988cf340df5ffedc7f76cf9177..1316a0ed44fa1c9b3923ec94ad80f1597cf6b37b 100644 (file)
@@ -628,7 +628,7 @@ machine(L1Cache, "MESI Directory L1 Cache CMP")
   }
 
   action(o_popIncomingResponseQueue, "o", desc="Pop Incoming Response queue and profile the delay within this virtual network") {
-    profileMsgDelay(3, responseIntraChipL1Network_in.dequeue_getDelayCycles());
+    profileMsgDelay(1, responseIntraChipL1Network_in.dequeue_getDelayCycles());
   }
 
   action(s_deallocateTBE, "s", desc="Deallocate TBE") {
index 9cc20f8c3b20517741152e738d5e8f1a12c016d4..256f671f9ccf4d3afbd51280fb50c5706f50d9df 100644 (file)
@@ -48,7 +48,6 @@ machine(L2Cache, "MESI Directory L2 Cache CMP")
   MessageBuffer unblockToL2Cache, network="From", virtual_network="2", ordered="false", vnet_type="unblock";  // a local L1 || Memory -> this L2 bank
   MessageBuffer L1RequestToL2Cache, network="From", virtual_network="0", ordered="false", vnet_type="request";  // a local L1 -> this L2 bank
   MessageBuffer responseToL2Cache, network="From", virtual_network="1", ordered="false", vnet_type="response";  // a local L1 || Memory -> this L2 bank
-//  MessageBuffer unblockToL2Cache, network="From", virtual_network="4", ordered="false", vnet_type="unblock";  // a local L1 || Memory -> this L2 bank
 
   // STATES
   state_declaration(State, desc="L2 Cache states", default="L2Cache_State_NP") {
@@ -621,7 +620,7 @@ machine(L2Cache, "MESI Directory L2 Cache CMP")
   }
 
   action(o_popIncomingResponseQueue, "o", desc="Pop Incoming Response queue") {
-    profileMsgDelay(3, responseIntraChipL2Network_in.dequeue_getDelayCycles());
+    profileMsgDelay(1, responseIntraChipL2Network_in.dequeue_getDelayCycles());
   }
 
   action(m_writeDataToCache, "m", desc="Write data from response queue to cache") {