Create_monitor_transaction(), Function, For the monitor bfm api – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 132

Advertising
background image

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

114

SystemVerilog AXI3 and AXI4 Monitor BFMs
create_monitor_transaction()

September 2013

create_monitor_transaction()

This non-blocking function creates a monitor 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_monitor_transaction();

Protocol
Transaction
Fields

addr

Start address

burst_length

(Optional) 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