diff options
author | Tushar Krishna <tushar@csail.mit.edu> | 2011-05-18 03:06:07 -0400 |
---|---|---|
committer | Tushar Krishna <tushar@csail.mit.edu> | 2011-05-18 03:06:07 -0400 |
commit | 3ed048e4f5854b260a29164da92ba16ad7881740 (patch) | |
tree | f5d4658fc36724eec7cac67c1900caf39a64b219 /src/mem/protocol/Network_test-cache.sm | |
parent | 26eaba4cb5a5933c17abe9efca8590610f1e36b4 (diff) | |
download | gem5-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/Network_test-cache.sm')
-rw-r--r-- | src/mem/protocol/Network_test-cache.sm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/protocol/Network_test-cache.sm b/src/mem/protocol/Network_test-cache.sm index 814cd5c29..e76c002f5 100644 --- a/src/mem/protocol/Network_test-cache.sm +++ b/src/mem/protocol/Network_test-cache.sm @@ -37,9 +37,9 @@ machine(L1Cache, "Network_test L1 Cache") { // NETWORK BUFFERS - MessageBuffer requestFromCache, network="To", virtual_network="0", ordered="false"; - MessageBuffer forwardFromCache, network="To", virtual_network="1", ordered="false"; - MessageBuffer responseFromCache, network="To", virtual_network="2", ordered="false"; + MessageBuffer requestFromCache, network="To", virtual_network="0", ordered="false", vnet_type = "request"; + MessageBuffer forwardFromCache, network="To", virtual_network="1", ordered="false", vnet_type = "forward"; + MessageBuffer responseFromCache, network="To", virtual_network="2", ordered="false", vnet_type = "response"; // STATES state_declaration(State, desc="Cache states", default="L1Cache_State_I") { |