summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MOESI_hammer.slicc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-07-05 18:30:05 -0700
committerNathan Binkert <nate@binkert.org>2011-07-05 18:30:05 -0700
commitda1eaaca0ec7f65525dd2706f4b6b207bf9ee691 (patch)
treea31cf8470838a496894cfb9fb74b806895dfa555 /src/mem/protocol/MOESI_hammer.slicc
parent831e9b3b7a658663f5bffafef175d4f4a5615cfd (diff)
downloadgem5-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_hammer.slicc')
-rw-r--r--src/mem/protocol/MOESI_hammer.slicc12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mem/protocol/MOESI_hammer.slicc b/src/mem/protocol/MOESI_hammer.slicc
index 31ad47c2e..66d217c9c 100644
--- a/src/mem/protocol/MOESI_hammer.slicc
+++ b/src/mem/protocol/MOESI_hammer.slicc
@@ -1,5 +1,7 @@
-MOESI_hammer-msg.sm
-MOESI_hammer-cache.sm
-MOESI_hammer-dir.sm
-MOESI_hammer-dma.sm
-standard_1level_CMP-protocol.sm
+protocol "MOESI_hammer";
+include "RubySlicc_interfaces.slicc";
+include "MOESI_hammer-msg.sm";
+include "MOESI_hammer-cache.sm";
+include "MOESI_hammer-dir.sm";
+include "MOESI_hammer-dma.sm";
+include "standard_1level_CMP-protocol.sm";