Altera Mentor Verification IP Altera Edition AMBA AXI4-Li Bedienungsanleitung Seite 102

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 413
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 412 413

Kommentare zu diesen Handbüchern

Keine Kommentare