Altera Mentor Verification IP Altera Edition AMBA AXI4-Li Instrukcja Użytkownika Strona 102

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 413
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 101
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
102
SystemVerilog Monitor BFM
get_read_data_phase()
April 2014
get_read_data_phase()
This blocking task gets a read data phase previously created by the
create_monitor_transaction() function. The get_read_data_phase() sets the transaction_done
field to 1 to indicate the whole read transaction has completed.
Example
// Declare a local variable to hold the transaction record.
axi4_transaction read_trans;
// Create a monitor transaction and assign it to the local
// read_trans variable.
read_trans = bfm.create_monitor_transaction();
....
// Get the read data phase for the read_trans transaction.
bfm.get_read_data_phase(read_trans, 0); //Note: array element 0
Prototype
task automatic get_read_data_phase
(
axi4_transaction trans
int index = 0 // Optional
);
Arguments
trans The axi4_transaction record.
index (Optional) Data phase (beat) number.
Note: ‘0’ for AXI4-Lite
Returns
None
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 412 413

Komentarze do niniejszej Instrukcji

Brak uwag