Simple Module ExamplesSink Module
PORT (Data_Input : INOUT Token;
ARCHITECTURE Ar_Sink OF Sink IS
WAIT UNTIL Token_Present(Data_Input);
WAIT UNTIL Token_Released(Data_Input);
Remove_Token(Data_Input);
Notes:
A simplified version of the Sink module from the ADEPT library is shown above. This module waits for an input token to arrive. It then acknowledges the input token and continues through the token status sequence defined by protocol to prepare it for the arrival of the next input token.