Get_response_latency(), Get_response_queue_size(), Get_response_read_id() – Altera Avalon Verification IP Suite User Manual

Page 36: Get_response_latency() -14, Get_response_queue_size() -14, Get_response_read_id() -14

Advertising
background image

get_response_latency()

int get_response_latency(int index)

Prototype:

Verilog HDL:

index

VHDL:

response_data

,

index

,

bfm_id

,

req_if(bfm_id)

Arguments:

bit

Returns:

Returns the transaction read latency in the response descriptor that has been
removed from the response queue. Each cycle in a burst read has its own latency
entry.

Description:

Verilog HDL, VHDL

Language support:

get_response_queue_size()

int get_response_queue_size()

Prototype:

Verilog HDL: None

VHDL:

response_queue_size

,

bfm_id

,

req_if(bfm_id)

Arguments:

int

Returns:

Queries the 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.

Description:

Verilog HDL, VHDL

Language support:

get_response_read_id()

[AV_TRANSACTIONID_W-1:0] get_response_read_id()

Prototype:

Verilog HDL: None

VHDL:

response_read_id

,

bfm_id

,

req_if(bfm_id)

Arguments:

AvalonTransactionId_t

Returns:

Returns the read id of the transaction in the response descriptor that has been
removed from the response queue.

Description:

Verilog HDL, VHDL

Language support:

Avalon-MM Master BFM

Altera Corporation

Send Feedback

get_response_latency()

5-14

Advertising