[Gems-users] About the number of action can be triggered in SLICC


Date: Tue, 3 Nov 2009 11:47:17 +0800
From: 王颖 <madusvan@xxxxxxxxx>
Subject: [Gems-users] About the number of action can be triggered in SLICC
Hi,all

I have a question about SLICC grammar when I tried to do some work about coherency protocols.I wonder if  a cachemsg at the inport can be used to "trigger" two different actions, for example:
 if( in_msg.destination.isElement(machineID)){
                                                          trigger(Event:Agecheck,in_msg.Address);
 trigger(Event:Fwd_GETX, in_msg.Address);
                       }
 Can I code like that?It's a trivial question,but I wanna make sure no mistaken will happen.
Thank you!
Regards,
         Lee
                                                  
[← Prev in Thread] Current Thread [Next in Thread→]