Set_command_idle(), Set_command_init_latency(), Set_command_lock() – Altera Avalon Verification IP Suite User Manual
Page 38: Set_command_request(), Set_command_timeout()

Chapter 1: Avalon-MM Master BFM
1–15
Application Program Interface
May 2011
Altera Corporation
Avalon Verification IP Suite User Guide
set_command_idle()
set_command_init_latency()
set_command_lock()
set_command_request()
set_command_timeout()
Prototype:
void set_command_idle(int idle, int index)
.
Arguments:
int idle
.
int index
.
Returns:
void
.
Description:
Sets idle cycles at the end of each transaction cycle. In the case of read commands, idle
cycles are inserted at the end of the command cycle. In the case of burst write
commands, idle cycles are inserted at the end of each write data cycle within the burst.
Prototype:
void set_command_init_latency(int cycles)
.
Arguments:
cycles.
Returns:
void
.
Description:
Sets the number of cycles to postpone the start of a command.
Prototype:
void set_command_lock (bit state).
Arguments:
bit state.
Returns:
void
.
Description:
Controls the assertion or deassertion of the lock interface signal. The lock control is on
the transaction boundaries and is not used when the Avalon-MM Master BFM is
operating in burst mode.
Prototype:
void set_command_request(Request_t request)
.
Arguments:
Request_t
request.
Returns:
void
.
Description:
Sets the transaction type to read or write in the command descriptor. The enumeration
type defines
REQ_READ
= 0 and
REQ_WRITE
= 1.
Prototype:
void set_command_timeout(int cycles)
.
Arguments:
int cycles
.
Returns:
void
.
Description:
Sets the number of elapsed cycles between waiting for a
waitrequest
and when time
out is asserted. Disables time-out by setting the value to 0.