beautypg.com

Altera Avalon Verification IP Suite User Manual

Page 109

background image

4–2

Chapter 4: Avalon-ST Sink BFM with Avalon-ST API Wrapper

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

For every function call in the BFM, there is a channel identifier, which stores the fixed
mapping between channel number and the function.
<$install_dir>/ip/altera/sopc_builder_ip/verification/lib/
altera_avalon_components_pkg.vhd

defines the following function calls:

ST_SINK_INIT

ST_SINK_SET_READY

ST_SINK_POP_TRANS

ST_SINK_GET_TRANS_IDLES

ST_SINK_GET_TRANS_DATA

ST_SINK_GET_TRANS_CHANNEL

ST_SINK_GET_TRANS_SOP

ST_SINK_GET_TRANS_EOP

ST_SINK_GET_TRANS_ERROR

ST_SINK_GET_TRANS_EMPTY

ST_SINK_GET_TRANS_QUEUE_SIZE

With the exception of the API wrapper, the Avalon-ST Sink BFM with Avalon-ST API
Wrapper component is identical to the Avalon-ST Sink BFM. For more information
about this component, refer to

Chapter 3, Avalon-ST Sink BFM

.