changeset adb2d5f7407d in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=adb2d5f7407d
description:
        slicc: added vnet_type to MI_example

        Forgot to add this to MI_example in my previous patch.

diffstat:

 src/mem/protocol/MI_example-cache.sm |   8 ++++----
 src/mem/protocol/MI_example-dir.sm   |  10 +++++-----
 src/mem/protocol/MI_example-dma.sm   |   4 ++--
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (54 lines):

diff -r d1ce92fd3245 -r adb2d5f7407d src/mem/protocol/MI_example-cache.sm
--- a/src/mem/protocol/MI_example-cache.sm      Wed May 18 11:06:23 2011 -0700
+++ b/src/mem/protocol/MI_example-cache.sm      Fri May 20 05:06:43 2011 -0400
@@ -7,11 +7,11 @@
 {
 
   // NETWORK BUFFERS
-  MessageBuffer requestFromCache, network="To", virtual_network="2", 
ordered="true";
-  MessageBuffer responseFromCache, network="To", virtual_network="4", 
ordered="true";
+  MessageBuffer requestFromCache, network="To", virtual_network="2", 
ordered="true", vnet_type="request";
+  MessageBuffer responseFromCache, network="To", virtual_network="4", 
ordered="true", vnet_type="response";
 
-  MessageBuffer forwardToCache, network="From", virtual_network="3", 
ordered="true";
-  MessageBuffer responseToCache, network="From", virtual_network="4", 
ordered="true";
+  MessageBuffer forwardToCache, network="From", virtual_network="3", 
ordered="true", vnet_type="forward";
+  MessageBuffer responseToCache, network="From", virtual_network="4", 
ordered="true", vnet_type="response";
 
   // STATES
   state_declaration(State, desc="Cache states") {
diff -r d1ce92fd3245 -r adb2d5f7407d src/mem/protocol/MI_example-dir.sm
--- a/src/mem/protocol/MI_example-dir.sm        Wed May 18 11:06:23 2011 -0700
+++ b/src/mem/protocol/MI_example-dir.sm        Fri May 20 05:06:43 2011 -0400
@@ -5,12 +5,12 @@
   int directory_latency = 12
 {
 
-  MessageBuffer forwardFromDir, network="To", virtual_network="3", 
ordered="false";
-  MessageBuffer responseFromDir, network="To", virtual_network="4", 
ordered="false";
-  MessageBuffer dmaResponseFromDir, network="To", virtual_network="1", 
ordered="true";
+  MessageBuffer forwardFromDir, network="To", virtual_network="3", 
ordered="false", vnet_type="forward";
+  MessageBuffer responseFromDir, network="To", virtual_network="4", 
ordered="false", vnet_type="response";
+  MessageBuffer dmaResponseFromDir, network="To", virtual_network="1", 
ordered="true", vnet_type="response";
 
-  MessageBuffer requestToDir, network="From", virtual_network="2", 
ordered="true";
-  MessageBuffer dmaRequestToDir, network="From", virtual_network="0", 
ordered="true";
+  MessageBuffer requestToDir, network="From", virtual_network="2", 
ordered="true", vnet_type="request";
+  MessageBuffer dmaRequestToDir, network="From", virtual_network="0", 
ordered="true", vnet_type="request";
 
   // STATES
   state_declaration(State, desc="Directory states", 
default="Directory_State_I") {
diff -r d1ce92fd3245 -r adb2d5f7407d src/mem/protocol/MI_example-dma.sm
--- a/src/mem/protocol/MI_example-dma.sm        Wed May 18 11:06:23 2011 -0700
+++ b/src/mem/protocol/MI_example-dma.sm        Fri May 20 05:06:43 2011 -0400
@@ -4,8 +4,8 @@
   int request_latency = 6
 {
 
-  MessageBuffer responseFromDir, network="From", virtual_network="1", 
ordered="true", no_vector="true";
-  MessageBuffer reqToDirectory, network="To", virtual_network="0", 
ordered="false", no_vector="true";
+  MessageBuffer responseFromDir, network="From", virtual_network="1", 
ordered="true", vnet_type="response", no_vector="true";
+  MessageBuffer reqToDirectory, network="To", virtual_network="0", 
ordered="false", vnet_type="request", no_vector="true";
 
   state_declaration(State, desc="DMA states", default="DMA_State_READY") {
     READY, AccessPermission:Invalid, desc="Ready to accept a new request";
_______________________________________________
gem5-dev mailing list
gem5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to