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

Page 141

Advertising
background image

VHDL API Overview

Creating Transactions

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

141

April 2014

Note

The axi4_transaction class code above is shown for information only. Access to each
transaction record during its lifetime is performed via the various set*() and get*()
procedures detailed later in this chapter.

Table 7-1

describes the transaction fields in the transaction record.

Table 7-1. Transaction Fields

Transaction Field

Description

Protocol Transaction Fields

addr

A bit vector (of length equal to the ARADDR/AWADDR
signal bus width) to hold the start 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 to hold the protection type of a
transaction. The types of protection are as follows:

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.

Advertising