Push_transaction_id(), Axi3 example – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 486

Advertising
background image

Mentor VIP AE AXI3/4 User Guide, V10.2b

466

VHDL AXI3 and AXI4 Slave BFMs
push_transaction_id()

September 2013

push_transaction_id()

This nonblocking procedure pushes a transaction ID into the back of a queue. The transaction is
uniquely identified by the transaction_id argument previously created by the

create_slave_transaction()

procedure. The queue is identified by the queue_id argument.

AXI3 Example

-- Create a slave transaction. Creation returns tr_id to identify
-- the transaction.
create_slave_transaction(tr_id, bfm_index, axi_tr_if_0(bfm_index));

....

Prototype

-- * = axi| axi4
-- ** = AXI | AXI4
procedure push_transaction_id
(

transaction_id : in integer;
queue_id : in integer;
bfm_id : in integer;
path_id : in *_path_t; --optional
signal tr_if : inout *_vhd_if_struct_t

);

Arguments

transaction_id

Transaction identifier. Refer to

“Overloaded Procedure Common

Arguments”

on page 203 for more details.

queue_id

Queue identifier:

**_QUEUE_ID_0
**_QUEUE_ID_1
**_QUEUE_ID_2
**_QUEUE_ID_3
**_QUEUE_ID_4
AXI4_QUEUE_ID_5
AXI4_QUEUE_ID_6
AXI4_QUEUE_ID_7

Refer to

“Overloaded Procedure Common Arguments”

on page 203 for

more details.

bfm_id

BFM identifier. Refer to

“Overloaded Procedure Common Arguments”

on page 203 for more details.

path_id

(Optional) Parallel process path identifier:

**_PATH_0
**_PATH_1
**_PATH_2
**_PATH_3
**_PATH_4

Refer to

“Overloaded Procedure Common Arguments”

on page 203 for

more details.

tr_if

Transaction signal interface. Refer to

“Overloaded Procedure Common

Arguments”

on page 203 for more details.

Returns

None

Advertising