English
Language : 

DS824 Datasheet, PDF (23/55 Pages) Xilinx, Inc – LogiCORE IP AXI Bus Functional Models (v3.00.a)
LogiCORE IP AXI Bus Functional Models (v3.00.a)
Table 13: Function Level API for AXI3 Slave BFM (Cont’d)
API Task Name and Description
Inputs
Outputs
WRITE_BURST_RESPOND_DATA_FIRST
This is a semi-automatic task which waits for a write burst
with the specified ID tag and responds appropriately. It
expects the write data to start arriving before the write
address phase. It returns the data received in the write as
a data vector. It is composed of the tasks
RECEIVE_WRITE_BURST_NO_CHECKS,
RECEIVE_WRITE_ADDRESS and
SEND_WRITE_RESPONSE from the channel level API.
This task returns when the complete write transaction is
complete.
ID: Write ID tag
DATA: Data received by slave
DATASIZE: The size in bytes of
the valid data contained in the
output data vector
READ_BURST_RESP_CTRL
This task is the same as READ_BURST_RESPONSE
except that the responses sent to the master can be
specified.
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.
None
WRITE_BURST_RESP_CTRL
This task is the same as WRITE_BURST_RESPONSE
except that the response sent to the master can be
specified.
ID: Write ID tag
RESPONSE: The chosen write
response from the following
[OKAY, EXOKAY, SLVERR,
DECERR]
DATA: Data received by slave
DATASIZE: The size in bytes of
the valid data contained in the
output data vector
AXI4 Master BFM Test Writing API
The channel level API for the AXI4 Master BFM is detailed in Table 14.
Table 14: Channel Level API for AXI4 Master BFM
API Task Name
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.
ID: Write Address ID tag
ADDR: Write Address
LEN: Burst Length
SIZE: Burst Size
BURST: Burst Type
LOCK: Lock Type
CACHE: Cache Type
PROT: Protection Type
REGION: Region Identifier
QOS: Quality of Service Signals
AWUSER: Address Write User
Defined Signals
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. The data
input is used as raw bus data; that is, no realignment for
narrow or unaligned data.
This task emits a “write_data_transfer_complete” event upon
completion.
Note: Should be called multiple times for a burst with correct
control of the LAST flag
STOBE: Strobe signals
DATA: Data for transfer
LAST: Last transfer flag
WUSER: Write User Defined
Signals
None
None
Outputs
DS824 July 25, 2012
www.xilinx.com
23
Product Specification