Set_min_transaction_queue_size(), Set_response_timeout(), Set_transaction_channel() – Altera Avalon Verification IP Suite User Manual

Page 96: Set_transaction_data(), Set_transaction_idles(), Set_transaction_eop()

Advertising
background image

Chapter 1: Avalon-ST Source BFM

1–7

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

set_min_transaction_queue_size()

set_response_timeout()

set_transaction_channel()

set_transaction_data()

set_transaction_idles()

set_transaction_eop()

s

Prototype:

void set_min_transaction_queue_size(int size)

.

Arguments:

int size

.

Returns:

void

.

Description:

Sets the pending transaction minimum queue size threshold. The public event

signal_min_transaction_queue_size

triggers when the queue size level is below

the minimum threshold.

Prototype:

set_response_timeout(int cycles)

.

Arguments:

cycles

.

Returns:

void

.

Description:

Sets the number of cycles that have to elapse before a response timeout is asserted.
Disable the time-out by setting the cycles argument to zero.

Prototype:

set_transaction_channel(STChannel_t channel)

.

Arguments:

channel

.

Returns:

void

.

Description:

Sets the channel identifier in the out-going transaction.

Prototype:

set_transaction_data(STData_t data)

.

Arguments:

data

.

Returns:

void

.

Description:

Sets the value of

data

in the out-going transaction.

Prototype:

set_transaction_idles(bit[31:0] idle_cycles)

.

Arguments:

idle_cycles

.

Returns:

void

.

Description:

Sets the number of idle cycles to elapse before driving the out-going transaction.

Prototype:

set_transaction_eop(bit eop)

.

Arguments:

eop

.

Returns:

void

.

Description:

Sets the status of the end of packet signal in the out-going transaction.

Advertising