diff options
author | Nathan Binkert <nate@binkert.org> | 2011-07-05 18:30:05 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-07-05 18:30:05 -0700 |
commit | da1eaaca0ec7f65525dd2706f4b6b207bf9ee691 (patch) | |
tree | a31cf8470838a496894cfb9fb74b806895dfa555 /src/mem/protocol/MOESI_CMP_token.slicc | |
parent | 831e9b3b7a658663f5bffafef175d4f4a5615cfd (diff) | |
download | gem5-da1eaaca0ec7f65525dd2706f4b6b207bf9ee691.tar.xz |
slicc: add a protocol statement and an include statement
All protocols must specify their name
The include statement allows any file to include another file.
Diffstat (limited to 'src/mem/protocol/MOESI_CMP_token.slicc')
-rw-r--r-- | src/mem/protocol/MOESI_CMP_token.slicc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mem/protocol/MOESI_CMP_token.slicc b/src/mem/protocol/MOESI_CMP_token.slicc index a41226f90..9818561d6 100644 --- a/src/mem/protocol/MOESI_CMP_token.slicc +++ b/src/mem/protocol/MOESI_CMP_token.slicc @@ -1,6 +1,8 @@ -MOESI_CMP_token-msg.sm -MOESI_CMP_token-L1cache.sm -MOESI_CMP_token-L2cache.sm -MOESI_CMP_token-dir.sm -MOESI_CMP_token-dma.sm -standard_CMP-protocol.sm +protocol "MOESI_CMP_token"; +include "RubySlicc_interfaces.slicc"; +include "MOESI_CMP_token-msg.sm"; +include "MOESI_CMP_token-L1cache.sm"; +include "MOESI_CMP_token-L2cache.sm"; +include "MOESI_CMP_token-dir.sm"; +include "MOESI_CMP_token-dma.sm"; +include "standard_CMP-protocol.sm"; |