Set_enable_c_write_byteenable(), Set_enable_c_write_response(), Transaction monitoring – Altera Avalon Verification IP Suite User Manual

Page 79: Get_clken(), Get_version(), Transaction monitoring –16, Get_clken() –16 get_version() –16, Get_clken() get_version()

Advertising
background image

5–16

Chapter 5: Avalon-MM Monitor

Application Program Interface

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

set_enable_c_write_byteenable()

set_enable_c_write_response()

Transaction Monitoring

Transaction monitoring is carried out through the transaction collector module. The
transaction collector collects the transactions, encapsulates them into descriptors, and
inserts the transactions into queue. The API provides the mechanism to query the
transactions in queue and disposes them as they are processed. By default the
transaction collector module is disabled. You must define the

ENABLE_ALTERA_AVALON_TRANSACTION_RECORDING

Verilog macro to enable this feature.

This macro is required to ensure backward compatibility and to avoid breaking
existing test cases.

get_clken()

get_version()

Prototype:

set_enable_c_write_byteenable().

Arguments:

Boolean

.

Returns:

void

.

Description:

Enables a coverage group ensures all legal values of the

byteenable

signal are asserted during write transfers. It is disabled when either

byteenable

or

write

is not supported.

Prototype:

set_enable_c_write_response().

Arguments:

Boolean

.

Returns:

void

.

Description:

Enables a coverage group to test each bit of the valid writeresponse that
represent dfferent status.

Prototype:

logic get_clken()

.

Arguments:

None.

Returns:

logic

.

Description:

Returns the clock enable signal status.

Prototype:

string get_version()

.

Arguments:

None.

Returns:

String

.

Description:

Returns BFM version as a string of three integers separated by periods. For
example, version 10.1 sp1 is encoded as "10.1.1".

Advertising