Get_command_request(), Get_command_transaction_id(), Get_command_write_response_request() – Altera Avalon Verification IP Suite User Manual
Page 82: Get_read_response_queue_size(), Get_response_address()

Chapter 5: Avalon-MM Monitor
5–19
Application Program Interface
May 2011
Altera Corporation
Avalon Verification IP Suite User Guide
get_command_request()
get_command_transaction_id()
get_command_write_response_request()
get_read_response_queue_size()
get_response_address()
Prototype:
Request_t get_command_request()
.
Arguments:
None.
Returns:
Request_t
(enumerated type).
Description:
Gets the received command descriptor to determine command request
type. A command type may be
REQ_READ
or
REQ_WRITE
. These type values
are defined in the enumerated type called
Request_t
, which is imported
with the package named
altera_avalon_mm_pkg
.
Prototype:
AvalonTransactionId_t get_command_transaction_id()
.
Arguments:
None.
Returns:
AvalonTransactionId_t
.
Description:
Queries the received command descriptor for the transaction ID.
Prototype:
AvalonTransactionId_t
get_command_write_response_request()
.
Arguments:
None.
Returns:
AvalonTransactionId_t
.
Description:
Queries the received command descriptor for the
write_response_request
field value. A value of 1 indicates that the
master has requested for a write response.
Prototype:
int get_read_response_queue_size()
.
Arguments:
None.
Returns:
int
.
Description:
Queries the read response queue to determine number of response
descriptors currently stored in the BFM. This is the number of responses
the test program can immediately remove from the response queue for
further processing.
Prototype:
bit [AV_ADDRESS_W-1:0] get_response_address()
.
Arguments:
None.
Returns:
bit[AV_ADDRESS_W-1:0]
.
Description:
Returns the transaction address in the response descriptor that has been
removed from the response queue.