Re: [Gems-users] SLICC Questions


Date: Thu, 14 Apr 2005 17:28:59 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] SLICC Questions
> 1. Other than  out_msg, in_msg, machineID and address what others are
> implicilty used in SLICC?
>

I can't give you a full list because it isn't documented.  A couple more
that come to mind include {trigger, enqueue, peek}


> The  SLICC file uses some variables as shown below
>
>     PersistentTable persistentTable, constructor_hack="i";
> (MOESI_CMP_token-L2.sm)
>
> What values are passed to the constructor for different components?
>
> 2. Is chip pointer implicitly inserted when constructor hack is used?
>

The constructor_hack stuff is a little black magic and is sort of ugly.
If you have a look at a Chip.C file which is generated by SLICC (in the
generated/<protocol> directory), it should answer these questions.

--Mike
[← Prev in Thread] Current Thread [Next in Thread→]