
Chapter 3: Avalon-MM Slave BFM 3–13
Application Program Interface
May 2011 Altera Corporation Avalon Verification IP Suite User Guide
get_pending_write_latency_cycle()
get_response_queue_size()
get_slave_bfm_status
get_version()
init()
Prototype:
int get_pending_write_latency_cycle()
.
Arguments: None.
Returns:
int.
Description: Queries the write command queue to determine the number of cycles needed for the
Slave BFM to complete the current write response.
Prototype:
int get_response_queue_size()
.
Arguments: None.
Returns:
int
.
Description: Queries the response queue to determine number of response descriptors pending.
Prototype:
bit get_slave_bfm_status
.
Arguments: None.
Returns:
bit.
Description: Queries the Slave BFM component to determine when the read transaction in the Slave
BFM has reached the maximum read transactions. A return value of 1 means that the
Slave BFM can no longer accept a new read command.
Prototype:
string 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: Initializes the Avalon-MM slave interface.
Komentáře k této Příručce