Create_write_transaction(), Tasks which creates a transaction – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual
Page 232

Mentor VIP AE AXI3/4 User Guide, V10.2b
214
VHDL AXI3 and AXI4 Master BFMs
create_write_transaction()
September 2013
create_write_transaction()
This nonblocking procedure creates a write transaction with a start address addr and optional
burst_length arguments. All other transaction fields default to legal protocol values, unless
previously assigned a value. It returns with the transaction_id argument.
Prototype
-- * = axi| axi4
-- ** = AXI | AXI4
procedure create_write_transaction
(
addr : in std_logic_vector(**_MAX_BIT_SIZE-1 downto
0)|integer;
burst_length : in integer; --optional
transaction_id : out integer;
bfm_id : in integer;
path_id : in *_path_t; --optional
signal tr_if : inout *_vhd_if_struct_t
);
Arguments
addr
Start address
burst_length
(Optional) Burst length. Default: 0.
transaction_id
Transaction identifier. Refer to
on page 203 for more details.
bfm_id
BFM identifier. Refer to
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”
page 203 for more details.
tr_if
Transaction signal interface. Refer to
on page 203 for more details.
Protocol
Transaction
Fields
size
Burst size. Default: width of bus:
**_BYTES_1;
**_BYTES_2;
**_BYTES_4;
**_BYTES_8;
**_BYTES_16;
**_BYTES_32;
**_BYTES_64;
**_BYTES_128;
burst
Burst type:
**_FIXED;
**_INCR; (default)
**_WRAP;
**_BURST_RSVD;