summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MI_example-dir.sm
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:21 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:21 -0700
commit61f1d9a3d72eb8a0ecd1cf7a5a88543e938a7d20 (patch)
tree7f38e1cec361f97ba734afa53ec7b6613626f323 /src/mem/protocol/MI_example-dir.sm
parent4f044605e8a87873228933b4700e3e0ac9af27e5 (diff)
downloadgem5-61f1d9a3d72eb8a0ecd1cf7a5a88543e938a7d20.tar.xz
ruby: Reordered protocol buffers
Reordered vnet priorities to agree with PerfectSwitch for protocols MI_example, MOESI_CMP_token, and MOESI_hammer
Diffstat (limited to 'src/mem/protocol/MI_example-dir.sm')
-rw-r--r--src/mem/protocol/MI_example-dir.sm12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mem/protocol/MI_example-dir.sm b/src/mem/protocol/MI_example-dir.sm
index cab90b9a7..cb274553e 100644
--- a/src/mem/protocol/MI_example-dir.sm
+++ b/src/mem/protocol/MI_example-dir.sm
@@ -5,12 +5,12 @@ machine(Directory, "Directory protocol")
int directory_latency = 12
{
- MessageBuffer forwardFromDir, network="To", virtual_network="2", ordered="false";
- MessageBuffer responseFromDir, network="To", virtual_network="1", ordered="false";
- MessageBuffer dmaRequestFromDir, network="To", virtual_network="4", ordered="true";
+ 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 requestToDir, network="From", virtual_network="0", ordered="true";
- MessageBuffer dmaRequestToDir, network="From", virtual_network="5", ordered="true";
+ MessageBuffer requestToDir, network="From", virtual_network="2", ordered="true";
+ MessageBuffer dmaRequestToDir, network="From", virtual_network="0", ordered="true";
// STATES
enumeration(State, desc="Directory states", default="Directory_State_I") {
@@ -117,7 +117,7 @@ machine(Directory, "Directory protocol")
out_port(forwardNetwork_out, RequestMsg, forwardFromDir);
out_port(responseNetwork_out, ResponseMsg, responseFromDir);
out_port(requestQueue_out, ResponseMsg, requestToDir); // For recycling requests
- out_port(dmaResponseNetwork_out, DMAResponseMsg, dmaRequestFromDir);
+ out_port(dmaResponseNetwork_out, DMAResponseMsg, dmaResponseFromDir);
//added by SS
out_port(memQueue_out, MemoryMsg, memBuffer);