
2–4 Chapter 2: Tri-State Conduit BFM
Application Program Interface
Avalon Verification IP Suite User Guide May 2011 Altera Corporation
pop_transaction()
push_transaction()
set_max_transaction_queue_size()
set_min_transaction_queue_size()
set_num_of_transactions()
Prototype:
void pop_transaction()
.
Arguments: None.
Returns:
void.
Description: Returns the input transaction queued inside the BFM. A fatal error triggers if you remove
a transaction from an empty queue.
Prototype:
void push_transaction()
.
Arguments: None.
Returns:
void.
Description: Registers an output transaction into the BFM. All registered output transactions are put
into transaction queue. A fatal error triggers if you insert a transaction while the BFM is
reset.
Prototype:
void set_max_transaction_queue_size(int size).
Arguments:
int size
.
Returns:
void.
Description: Sets the maximum size of the queued transactions. The BFM triggers an event when the
queued transactions goes above the maximum size.
Prototype:
int set_min_transaction_queue_size()
.
Arguments: None.
Returns:
void.
Description: Sets the minimum size of the queued transactions. The BFM triggers an event when the
queued transactions falls below the minimum size.
Prototype:
int set_num_of_transactions()
.
Arguments:
int multiple_transaction_num
.
Returns:
void.
Description: Sets the number of transactions to the DUT.
Kommentare zu diesen Handbüchern