Create_read_transaction(), Refer to the – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual
Page 65

SystemVerilog AXI3 and AXI4 Master BFMs
create_read_transaction()
Mentor VIP AE AXI3/4 User Guide, V10.2b
47
September 2013
create_read_transaction()
This nonblocking function creates a read transaction with a start address addr and optional
burst_length arguments. All other transaction fields default to legal AXI protocol values, unless
previously assigned a value. It returns the *_transaction record.
Prototype
// * = axi | axi4
// ** = AXI| AXI4
function automatic *_transaction create_read_transaction
(
input bit [((**_ADDRESS_WIDTH) - 1):0] addr,
bit [3:0] burst_length = 0 //optional
);
Arguments
addr
Start address
burst_length
(Optional) Burst length. Default: 0.
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;
lock
Burst lock:
**_NORMAL; (default)
**_EXCLUSIVE;
(AXI3) AXI_LOCKED;
(AXI3) AXI_LOCK_RSVD;
cache
(AXI4) Burst cache:
AXI4_NONMODIFIABLE_NONBUF; (default)
AXI4_BUF_ONLY;
AXI4_CACHE_NOALLOC;
AXI4_CACHE_2;
AXI4_CACHE_3;
AXI4_CACHE_RSVD4;
AXI4_CACHE_RSVD5;
AXI4_CACHE_6;
AXI4_CACHE_7;
AXI4_CACHE_RSVD8;
AXI4_CACHE_RSVD9;
AXI4_CACHE_10;
AXI4_CACHE_11;
AXI4_CACHE_RSVD12;
AXI4_CACHE_RSVD12;
AXI4_CACHE_14;
AXI4_CACHE_15;