Create_master_transaction(), Refer to – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual
Page 94

Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
94
VHDL Master BFM
create_master_transaction()
April 2014
create_master_transaction()
This nonblocking procedure creates a master transaction with an optional burst_length
argument. All other transaction fields default to legal protocol values, unless previously
assigned a value. This procedure creates and returns the transaction_id argument.
Prototype
procedure create_master_transaction
(
burst_length : in integer; --optional
transaction_id : out integer;
bfm_id : in integer;
signal tr_if : inout axi4stream_vhd_if_struct_t
);
Arguments
burst_length
(Optional) Number of transfers within a packet. Default: 1.
transaction_id
Transaction identifier. Refer to “
” on page 87 for more details.
bfm_id
BFM identifier. Refer to “
” on page 87 for more details.
tr_if
Transaction signal interface. Refer to “
” on page 87 for more details.
Protocol
Transaction
Fields
data
Data array in bytes
byte_type
Byte type array:
AXI4STREAM_DATA_BYTE; (default)
AXI4STREAM_NULL_BYTE;
AXI4STREAM_POS_BYTE;
AXI4STREAM_ILLEGAL_BYTE;
id
Data stream identifier.
dest
Destination routing information.
user_data
User data array.
Operational
Transaction
Fields
operation_
mode
Operation mode:
AXI4STREAM_TRANSACTION_NON_BLOCKING;
AXI4STREAM_TRANSACTION_BLOCKING; (default)
valid_delay
TVALID delay measured in ACLK cycles for this transaction
(default = 0).
ready_delay
TREADY delay measured in ACLK cycles for this transaction
(default = 0).
transfer_done
Transfer done flag array for this transaction
transaction_
done
Transaction done flag for this transaction
Returns
transaction_id
Transaction identifier. Refer to “