Create_slave_transaction(), Ansaction by calling the, Task to accept the – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 98: Slave transaction record. refer to the, Function for default protocol

Advertising
background image

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

80

SystemVerilog AXI3 and AXI4 Slave BFMs
create_slave_transaction()

September 2013

create_slave_transaction()

This nonblocking function creates a slave transaction. All transaction fields default to legal
protocol values, unless previously assigned a value. It returns with the *_transaction record.

Prototype

// * = axi | axi4
// ** = AXI| AXI4
function automatic *_transaction create_write_transaction();

Protocol
Transaction
Fields

addr

Start address

burst_length

Burst length. Default: 0.

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

(AXI3) Burst cache:

AXI_NONCACHE_NONBUF; (default)
AXI_BUF_ONLY;
AXI_CACHE_NOALLOC;
AXI_CACHE_BUF_NOALLOC;
AXI_CACHE_RSVD0;
AXI_CACHE_RSVD1;
AXI_CACHE_WTHROUGH_ALLOC_R_ONLY;
AXI_CACHE_WBACK_ALLOC_R_ONLY;
AXI_CACHE_RSVD2;
AXI_CACHE_RSVD3;
AXI_CACHE_WTHROUGH_ALLOC_W_ONLY;
AXI_CACHE_WBACK_ALLOC_W_ONLY;
AXI_CACHE_RSVD4;
AXI_CACHE_RSVD5;
AXI_CACHE_WTHROUGH_ALLOC_RW;
AXI_CACHE_WBACK_ALLOC_RW;

Advertising