Slide 41 of 53
Notes:
The body of the package used in the example is shown here. The complete VHDL file, which spans several slides, includes the implementation of the various functions and procedures declared in the declarative section of the package.
The implementation of the Bus Resolution Function protocol is shown in this particular slide. The first section of the function searches through the input token_vector to find an sink token of status Acked and/or a source token status Present to select a single source token and a single sink token between which to arbitrate. If no appropriate source or sink token is found for either of these, default status conditions of Released and Removed are used for the source and sink tokens, respectively. The function then picks the appropriate token from between the two tokens selected in the first section via the arbitration priority that was described earlier.