English
Language : 

DS824 Datasheet, PDF (30/55 Pages) Xilinx, Inc – LogiCORE IP AXI Bus Functional Models (v3.00.a)
LogiCORE IP AXI Bus Functional Models (v3.00.a)
Table 17: Function Level API for AXI4 Slave BFM (Cont’d)
API Task Name and Description
Inputs
Outputs
READ_BURST_RESP_CTRL
Creates a semi-automatic response to a read request
from the master. It checks if the ID tag for the read
request is as expected and then provides a read
response using the data and response vector
provided. It is composed of the tasks
RECEIVE_READ_ADDRESS and
SEND_READ_BURST_RESP_CTRL from the
channel level API. This task returns when the
complete write transaction is complete.
This task automatically supports the generation of
narrow transfers and unaligned transfers; that is, this
task aligns the input data with the burst so data
padding is not required.
ID: Read ID tag
DATA: Data to send in response to
the master read
RESPONSE: This is a vector that
should contain all of the desired
responses for each read data
transfer
RUSER: This is a vector that is
created by concatenating all
required read user signal data
together
None
WRITE_BURST_RESP_CTRL
This is a semi-automatic task which waits for a write
burst with the specified ID tag and responds
appropriately using the specified response. The data
received in the write burst is delivered as an output
data vector.
This task is composed of the tasks
RECEIVE_WRITE_ADDRESS,
RECEIVE_WRITE_BURST and
SEND_WRITE_RESPONSE from the channel level
API.
This task returns when the complete write transaction
is complete. This task automatically supports the
generation of narrow transfers and unaligned
transfers; that is, this task aligns the input data with
the burst so data padding is not required.
ID: Write ID tag
RESPONSE: The chosen write
response from the following
[OKAY, EXOKAY, SLVERR,
DECERR]
BUSER: Write Response Channel
User Defined Signals
DATA: Data received by slave
DATASIZE: The size in bytes of the
valid data contained in the output
data vector
WUSER: This is a vector that is
created by concatenating all
master write transfer user signal
data together
AXI4-Lite Master BFM Test Writing API
The channel level API for the AXI4-Lite Master BFM is detailed in Table 18.
Table 18: Channel Level API for AXI4-Lite Master BFM
API Task Name and Description
Inputs
SEND_WRITE_ADDRESS
Creates a write address channel transaction.
This task returns after the write address has
been acknowledged by the slave.
This task emits a
“write_address_transfer_complete” event upon
completion.
ADDR: Write Address
PROT: Protection Type
SEND_WRITE_DATA
Creates a single write data channel transaction.
The data should be the same size as the width of
the data bus. This task returns after is has been
acknowledged by the slave.
This task emits a
“write_data_transfer_complete” event upon
completion.
STOBE: Strobe signals
DATA: Data for transfer
None
None
Outputs
DS824 July 25, 2012
www.xilinx.com
30
Product Specification