Create*_transaction() – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual
Page 80

Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
80
VHDL API Overview
Creating Transactions
April 2014
API allows you to create a master transaction by providing only an
optional burst_length argument to indicate the number of transfers within a packet. All other
protocol transaction fields automatically default to legal protocol values to create a master
transaction record. Refer to
for default protocol transaction field
values.
API allows you to create a slave transaction with no arguments. All
protocol transaction fields automatically default to legal protocol values to create a slave
transaction record. Refer to
for default protocol transaction field
values.
API allows you to create a monitor transaction with no arguments.
All protocol transaction fields automatically default to legal protocol values to create a complete
monitor transaction record. Refer to
transaction field values.
Note
If you change the default value of a protocol transaction field, it is valid for all future
transactions until you set a new value.
create*_transaction()
There
,
and
BFM API procedures create master, slave, and monitor
transactions, respectively.
operation_mode
A enumeration to hold the operation mode of the
transaction. There are two types of operation mode:
AXI4STREAM_TRANSACTION_NON_BLOCKING
AXI4STREAM_TRANSACTION_BLOCKING
The field content is not transferred over the AXI4-Stream
protocol signals.
transfer_done
An unsized bit array to hold the done flag for each
transfer within a packet. The field content is not
transferred over the protocol signals during a transaction.
transaction_done
A bit to hold the done flag for a complete transaction. The
field content is not transferred over the protocol signals
during a transaction.
Table 7-1. Transaction Record Fields (cont.)
Transaction Field
Description