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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 413
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 52
SystemVerilog Master BFM
get_read_data_phase()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
53
April 2014
get_read_data_phase()
This blocking task gets a read data phase previously created by the create_read_transaction()
task.
Note
The get_read_data_phase() sets the RREADY protocol signal at the appropriate time
defined by the data_ready_delay field and 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 read transaction with start address of 0 and assign
// it to the local read_trans variable.
read_trans = bfm.create_read_transaction(0);
....
// 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 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 412 413

Komentarze do niniejszej Instrukcji

Brak uwag