Set_response_latency(), Set_response_request(), Set_response_timeout() – Altera Avalon Verification IP Suite User Manual
Page 59: Set_write_response_id(), Set_write_response_status()
3–16
Chapter 3: Avalon-MM Slave BFM
Application Program Interface
Avalon Verification IP Suite User Guide
May 2011
Altera Corporation
set_response_latency()
set_response_request()
set_response_timeout()
set_write_response_id()
set_write_response_status()
Prototype:
void set_response_latency(bit [31:0]latency, int index)
.
Arguments:
latency
.
index.
Returns:
void.
Description:
Sets the response latency for read commands. The response is driven out the specified
number of cycles after receiving the read command.
Prototype:
void set_response_request(Request_t request)
.
Arguments:
Request_t request
.
Returns:
void.
Description:
Sets the transaction type to read or write in the response descriptor. The enumeration
type defines
REQ_READ
=
0
and
REQ_WRITE
=
1
.
Prototype:
void set_response_timeout(int cycles)
.
Arguments:
None.
Returns:
void
.
Description:
Sets the number of cycles that may elapse before timing out.
Prototype:
void set_write_respose_id(AvalonTransactionId_t id)
.
Arguments:
AvalonTransactionId_t id
.
Returns:
void.
Description:
Sets the transaction ID on the
avs_writeid
pin.
Prototype:
void set_write_respose_status(AvalonWriteResponse_t status, int
index)
.
Arguments:
AvalonWriteResponse_t status
.
int index.
Returns:
void.
Description:
Sets the write response status code.