Process_read, As shown in, Figure 11-4 – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 664: There are additio, Shows the write channel, Pipelined, Shows the read chan

Advertising
background image

Mentor VIP AE AXI3/4 User Guide, V10.2b

644

VHDL Tutorials
Verifying a Master DUT

September 2013

Figure 11-4. Slave Test Program Advanced API Processes

process_read

The

process_read

process creates a slave transaction and receives the read address phase. It

uses unique path and queue identifiers to work concurrently with other processes.

The maximum number of outstanding read transactions is configured before the processing of
read transactions begins an ACLK period after the ARESETn signal is inactive, as shown in

Example 11-36

.

Each slave transaction has a unique transaction_id number associated with it that is
automatically incremented for each new slave transaction created. In a loop the

create_slave_transaction()

procedure call returns the transaction_id for the slave BFM,

indexed by the index argument. A read_trans variable is previously defined to hold the
transaction_id.

A call to the

get_read_addr_phase()

procedure blocks the code until a read address phase has

completed. The call to the

push_transaction_id()

procedure pushes read_trans into the

AXI4_QUEUE_ID_1 queue.

Advertising