Simple Module ExamplesSource Module
PORT (Data_Output : INOUT Token;
Architecture Ar_Source OF Source IS
WAIT UNTIL Token_Acked(Data_Output);
WAIT UNTIL Token_Removed(Data_Output);
The description of the source module above is a greatly simplified version of the source module found in the ADEPT library. Note that this and the subsequent model descriptions assume that the package presented in this example will be compiled into the “uvalib” library.
The description above is sequential in nature in that the source module activates its token driver (i.e. “places” a token), waits for the adjacent module to activate its driver (i.e. by it “acknowledging” the token), inactivates its driver (i.e. “releases” the token), waits for the adjacent module to inactivate its driver (i.e. by it “removing” the token), and finally waits for the specified delay before beginning the sequence again.