beautypg.com

Set_command_burst_count(), Set_command_burst_size(), Set_command_data() – Altera Avalon Verification IP Suite User Manual

Page 37: Set_command_debugaccess()

background image

1–14

Chapter 1: Avalon-MM Master BFM

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

set_command_burst_count()

set_command_burst_size()

set_command_data()

set_command_debugaccess()

Prototype:

void set_command_burst_count(bit[AV_BURSTCOUNT_W-1:0] burst_count)

.

Arguments:

burst_count

.

Returns:

void

.

Description:

Sets the value driven on the Avalon interface

burstcount

pin. Generates a warning

message if the specified

burst_count

is out of range. Not available if the

USE_BURSTCOUNT

parameter is false.

Prototype:

void set_command_burst_size (bit[AV_BURSTCOUNT_W-1:0] burst_size)

.

Arguments:

burst_size

.

Returns:

void

.

Description:

Sets the transaction burst count in the command descriptor to determine the number of
words driven on the write burst command. The value might be different from the value
specified in

set_command_burst_count

to generate illegal traffic for testing.

Generates a warning if the value is different.

Prototype:

void set_command_data(bit[AV_DATA_W-1:0] data, int index)

.

Arguments:

data.

index.

Returns:

void

.

Description:

Sets the transaction write data in the command descriptor. For burst transactions, the
command descriptor holds an array of data, with each element individually set by this
method.

Prototype:

void set_command_debugaccess.

Arguments:

bit state.

Returns:

void

.

Description:

Controls the assertion or deassertion of the debugaccess interface signal. The
debugaccess control is on transaction boundaries.