From da1eaaca0ec7f65525dd2706f4b6b207bf9ee691 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 5 Jul 2011 18:30:05 -0700 Subject: 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. --- src/mem/protocol/MI_example.slicc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/mem/protocol/MI_example.slicc') diff --git a/src/mem/protocol/MI_example.slicc b/src/mem/protocol/MI_example.slicc index 523668177..00508673b 100644 --- a/src/mem/protocol/MI_example.slicc +++ b/src/mem/protocol/MI_example.slicc @@ -1,5 +1,7 @@ -MI_example-msg.sm -MI_example-cache.sm -MI_example-dir.sm -MI_example-dma.sm -standard_1level_CMP-protocol.sm +protocol "MI_example"; +include "RubySlicc_interfaces.slicc"; +include "MI_example-msg.sm"; +include "MI_example-cache.sm"; +include "MI_example-dir.sm"; +include "MI_example-dma.sm"; +include "standard_1level_CMP-protocol.sm"; -- cgit v1.2.3