Get_command_queue_size(), Get_command_lock(), Get_command_request() – Altera Avalon Verification IP Suite User Manual

Page 101

Advertising
background image

get_command_queue_size()

int get_command_queue_size()

Prototype:

Verilog HDL: None

VHDL:

command_queue_size

,

bfm_id

,

req_if(bfm_id)

Arguments:

int

Returns:

Queries the command queue to determine number of pending commands.

Description:

Verilog HDL, VHDL

Language support:

get_command_lock()

bit get_command_lock()

Prototype:

Verilog HDL: None

VHDL:

command_lock

,

bfm_id

,

req_if(bfm_id)

Arguments:

bit

Returns:

Queries the received command descriptor for the transaction lock.

Description:

Verilog HDL, VHDL

Language support:

get_command_request()

Request_t get_command_request()

Prototype:

Verilog HDL: None

VHDL:

command_request

,

bfm_id

,

req_if(bfm_id)

Arguments:

Request_t

(enumerated type)

Returns:

Gets the received command descriptor to determine command request type.
A command type may be

REQ_READ

or

REQ_WRITE

. These type values are

defined in the enumerated type called

Request_t

, which is imported with

the package named

altera_avalon_mm_pkg

.

Description:

Verilog HDL, VHDL

Language support:

Altera Corporation

Avalon-MM Monitor

Send Feedback

7-29

get_command_queue_size()

Advertising