Axi4 bfm slave test program, Axi4 basic slave api definition, Internal memory – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual
Page 657

VHDL Tutorials
Verifying a Master DUT
Mentor VIP AE AXI3/4 User Guide, V10.2b
637
September 2013
AXI4 BFM Slave Test Program
The Slave Test Program is a memory model that contains two APIs: an
and an
AXI4 Advanced Slave API Definition
.
AXI4 Basic Slave API Definition
allows you to create a wide range of stimulus scenarios to
test a master DUT. This API definition simplifies the creation of slave stimulus based on the
default response of OKAY to master read and write transactions.
AXI4 Advanced Slave API Definition
allows you to create additional response scenarios to
transactions. For example, a successful exclusive transaction requires an EXOKAY response.
For a complete code listing of the slave test program, refer to
AXI4 Basic Slave API Definition
The Basic Slave Test Program API contains:
•
Procedures
byte of data to
•
Procedures
to configure
the delay of the read data channel RVALID, and write response channel BVALID signals,
respectively.
•
Variables
configure the delay of the read/write address channel AWVALID/ARVALID signals, and
to configure the delay of the write response channel
BVALID signal
•
A
variable that configures the behavior of reading and writing to internal
memory.
Configuration variables m_max_outstanding_read_trans and m_max_outstanding_write_trans
back-pressure a master from transmitting additional read and write transactions when the
configured value has been reached.
•
Internal Memory
The internal memory for the slave is defined as an array of 8-bits, so that each byte of data is
stored as an address/data pair.