Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Manual do Utilizador Página 664

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 783
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 663
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.
Vista de página 663
1 2 ... 659 660 661 662 663 664 665 666 667 668 669 ... 782 783

Comentários a estes Manuais

Sem comentários