Axi3 basic slave api definition, Axi3 basic slave api, Definition – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual
Page 174

Mentor VIP AE AXI3/4 User Guide, V10.2b
156
SystemVerilog Tutorials
Verifying a Master DUT
September 2013
Advanced AXI3 Slave API Definition
allows you to create additional response scenarios to
read and write transactions. For example, a successful exclusive transaction requires an
EXOKAY response.
For a complete code listing of the slave test program, refer to
AXI3 Basic Slave API Definition
The Basic Slave Test Program API contains:
•
Functions that read and write a byte of data to
internal memory do_byte_read()
and
•
Functions to configure the AXI3 protocol channel handshake delays
set_read_address_ready_delay()
,
set_write_address_ready_delay()
,
,
and
•
Tasks to process read and write transactions,
respectively. If you need to create other responses, such as EXOKAY, DECERR, or
SLVERR, then you will need to edit these tasks to provide the required response.
•
A
transaction field controls the behavior of reading and writing to the
internal memory.
•
Configuration variables m_max_outstanding_read_trans and
m_max_outstanding_write_trans back-pressure a master from transmitting further read
and write transactions when the configured value has been reached.