Get_transaction_error(), Get_transaction_queue_size(), Get_transaction_sop() – Altera Avalon Verification IP Suite User Manual
Page 106: Get_version(), Init(), Pop_transaction(), Get_version() init() pop_transaction()
3–6
Chapter 3: Avalon-ST Sink BFM
Application Program Interface
Avalon Verification IP Suite User Guide
May 2011
Altera Corporation
get_transaction_error()
s
get_transaction_queue_size()
s
get_transaction_sop()
s
get_version()
init()
pop_transaction()
s
Prototype:
get_transaction_error()
.
Arguments:
None.
Returns:
STError_t
.
Description:
Returns the error in the most recently removed transaction.
Prototype:
get_transaction_queue_size()
.
Arguments:
None.
Returns:
int
.
Description:
Returns the length of the queue holding received transactions.
Prototype:
get_transaction_sop()
.
Arguments:
None.
Returns:
bit
.
Description:
Returns the transaction start of packet status in the most recently removed transaction.
Prototype:
get_version()
.
Arguments:
None.
Returns:
String
.
Description:
Returns BFM version as a string of three integers separated by periods. For example,
version 10.1 SP1 is encoded as "10.1.1".
Prototype:
init
.
Arguments:
None.
Returns:
void
.
Description:
Drives the interface to the idle state.
Prototype:
pop_transaction()
.
Arguments:
None.
Returns:
void
.
Description:
Removes the transaction descriptor from the queue so that the testbench can query it
using the
get_transaction
methods.