Table 2-1. transaction fields – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 30

Advertising
background image

Mentor Verification IP AE AXI4-Lite User Guide, V10.3

30

SystemVerilog API Overview
Creating Transactions

April 2014

The contents of the transaction record are defined in

Table 2-1

.

Table 2-1. Transaction Fields

Transaction Field

Description

Protocol Transaction Fields

addr

A bit vector (the length is equal to the ARADDR/AWADDR
signal bus width) containing the starting address of the first
transfer (beat) of a transaction. The addr value is transferred
over the ARADDR or AWADDR signals for a read or write
transaction, respectively.

prot

An enumeration containing the protection type of a transaction.
The types of protection are:

AXI4_NORM_SEC_DATA (default)
AXI4_PRIV_SEC_DATA
AXI4_NORM_NONSEC_DATA
AXI4_PRIV_NONSEC_DATA
AXI4_NORM_SEC_INST
AXI4_PRIV_SEC_INST
AXI4_NORM_NONSEC_INST
AXI4_PRIV_NONSEC_INST

The prot value is transferred over the ARPROT or AWPROT
signals for a read or write transaction, respectively.

data_words

A

bit vector (of length equal to the greater of the

RDATA/WDATA signal bus widths) to hold the data words of
the payload. A data_words is transferred over the RDATA or
WDATA signals per beat of the read or write data channel,
respectively.

write_strobes

A

bit vector (of length equal to the WDATA signal bus width

divided by 8) to hold the write strobes. A write_strobes is
transferred over the WSTRB signals per beat of the write data
channel.

resp

An enumeration to hold the response of a transaction. The types
of response are:

AXI4

_OKAY;

AXI4

_SLVERR;

AXI4

_DECERR;

A resp is transferred over the RRESP signals per beat of the
read data channel, and over the BRESP signals for a write
transaction, respectively.

Advertising