
VHDL Tutorials
Verifying a Master DUT
Mentor VIP AE AXI3/4 User Guide, V10.2b
643
September 2013
AXI4 Advanced Slave API Definition
You are not required to edit the following Advance Slave API unless you require a
different response than the default (OKAY) response.
The remaining section of this tutorial presents a walk-through of the Advanced Slave API in the
slave test program. It consists of five main processes—process_write, process_read,
handle_write, handle_responsehandle_response, and handle_read—in the slave test program,
as shown in Figure 11-4. There are additional handle_write_addr_ready,
handle_read_addr_ready, and handle_write_data_ready processes to handle the handshake
AWREADY, ARREADY, and WREADY signals, respectively.
The Advanced Slave API is capable of handling pipelined transactions. Pipelining can occur
when a transaction starts before a previous transaction has completed. Therefore, a write
transaction that starts before a previous write transaction has completed can be pipelined.
Figure 11-4 shows the write channel having three concurrent write_trans transactions, whereby
the get_write_addr_phase[2], get_write_data_burst[1] and execute_write_response_phase[0]
are concurrently active on the write address, data and response channels, respectively.
Similarly, a read transaction that starts before a previous read transaction has completed can be
pipelined. Figure 11-4 shows the read channel having two concurrent read_trans transactions,
whereby the get_read_addr_phase[1] and execute_read_data_burst[0] are concurrently active
on the read address and data channels, respectively.
Comentários a estes Manuais