Set_command_transaction_id(), Set_command_write_response_request(), Set_max_command_queue_size() – Altera Avalon Verification IP Suite User Manual

Page 39: Set_min_command_queue_size(), Set_response_timeout(), Signal_all_transactions_complete

Advertising
background image

1–16

Chapter 1: Avalon-MM Master BFM

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

set_command_transaction_id()

set_command_write_response_request()

set_max_command_queue_size()

set_min_command_queue_size()

set_response_timeout()

signal_all_transactions_complete

Prototype:

void set_command_transaction_id(bit[AV_TRANSACTIONID_W-1:0] id)

.

Arguments:

AvalonTransactionId_t id.

Returns:

void

.

Description:

Sets the transaction id number in the command descriptor.

Prototype:

void set_command_write_response_request

(logic request).

Arguments:

logic request.

Returns:

void

.

Description:

Sets the flag that enables or disables the write response requests in the command
descriptor.

Prototype:

void set_max_command_queue_size(int size)

.

Arguments:

int size

.

Returns:

void

.

Description:

Sets the pending command queue size maximum threshold.

Prototype:

void set_min_command_queue_size(int size)

.

Arguments:

int size

.

Returns:

void

.

Description:

Sets the pending command queue size minimum threshold.

Prototype:

void set_response_timeout(int cycles)

.

Arguments:

int cycles

.

Returns:

void

.

Description:

Sets the number of cycles that may elapse before response time out. Disable time-out by
setting the value to 0.

Prototype:

signal_all_transactions_complete

.

Arguments:

None.

Returns:

void

.

Description:

Signals that all queued transactions have completed.

Advertising