summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MOESI_hammer-cache.sm
diff options
context:
space:
mode:
authorTushar Krishna <tushar@csail.mit.edu>2011-05-18 03:06:07 -0400
committerTushar Krishna <tushar@csail.mit.edu>2011-05-18 03:06:07 -0400
commit3ed048e4f5854b260a29164da92ba16ad7881740 (patch)
treef5d4658fc36724eec7cac67c1900caf39a64b219 /src/mem/protocol/MOESI_hammer-cache.sm
parent26eaba4cb5a5933c17abe9efca8590610f1e36b4 (diff)
downloadgem5-3ed048e4f5854b260a29164da92ba16ad7881740.tar.xz
slicc: added vnet_type field to identify response vnets from others
Identifying response vnets versus other vnets will allow garnet to determine which vnets will carry data packets, and which will carry ctrl packets, and use appropriate buffer sizes (since data packets are larger than ctrl packets). This in turn allows the orion power model to accurately estimate buffer power.
Diffstat (limited to 'src/mem/protocol/MOESI_hammer-cache.sm')
-rw-r--r--src/mem/protocol/MOESI_hammer-cache.sm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/protocol/MOESI_hammer-cache.sm b/src/mem/protocol/MOESI_hammer-cache.sm
index 06c9ea76b..24f3ab318 100644
--- a/src/mem/protocol/MOESI_hammer-cache.sm
+++ b/src/mem/protocol/MOESI_hammer-cache.sm
@@ -45,12 +45,12 @@ machine(L1Cache, "AMD Hammer-like protocol")
{
// NETWORK BUFFERS
- MessageBuffer requestFromCache, network="To", virtual_network="2", ordered="false";
- MessageBuffer responseFromCache, network="To", virtual_network="4", ordered="false";
- MessageBuffer unblockFromCache, network="To", virtual_network="5", ordered="false";
+ MessageBuffer requestFromCache, network="To", virtual_network="2", ordered="false", vnet_type="request";
+ MessageBuffer responseFromCache, network="To", virtual_network="4", ordered="false", vnet_type="response";
+ MessageBuffer unblockFromCache, network="To", virtual_network="5", ordered="false", vnet_type="unblock";
- MessageBuffer forwardToCache, network="From", virtual_network="3", ordered="false";
- MessageBuffer responseToCache, network="From", virtual_network="4", ordered="false";
+ MessageBuffer forwardToCache, network="From", virtual_network="3", ordered="false", vnet_type="forward";
+ MessageBuffer responseToCache, network="From", virtual_network="4", ordered="false", vnet_type="response";
// STATES