Push_command(), Set_clken(), Set_command_address() – Altera Avalon Verification IP Suite User Manual

Page 36: Set_command_arbiterlock(), Set_command_byte_enable()

Advertising
background image

Chapter 1: Avalon-MM Master BFM

1–13

Application Program Interface

May 2011

Altera Corporation

Avalon Verification IP Suite User Guide

push_command()

set_clken()

set_command_address()

set_command_arbiterlock()

set_command_byte_enable()

Prototype:

void push_command()

.

Arguments:

None.

Returns:

void

.

Description:

Inserts the fully populated transaction descriptor onto the pending transaction
command queue.

Prototype:

void set_clken(bit state).

Arguments:

bit state

.

Returns:

void

.

Description:

Sets the assertion and deassertion of the clock enable signal.

Prototype:

void set_command_address(bit[AV_ADDRESS_W-1:0]addr)

Arguments:

addr

.

Returns:

void

.

Description:

Sets the transaction address in the command descriptor.

Prototype:

void set_command_arbiterlock (bit state).

Arguments:

bit state.

Returns:

void

.

Description:

Controls the assertion or deassertion of the arbiterlock interface signal. The arbiterlock
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_byte_enable(bit[AV_NUMSYMBOLS-1:0] byte_enable, int

index)

.

Arguments:

byte_enable

.

index

.

Returns:

void

.

Description:

Sets the transaction byte enable field for the cycle of the burst command descriptor
indicated by index. This field applies to both read and write operations.

Advertising