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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 413
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 51
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
52
SystemVerilog Master BFM
execute_write_data_phase()
April 2014
execute_write_data_phase()
This task executes a write data phase (beat) previously created by the
create_write_transaction() task. This phase can be blocking (default) or nonblocking, defined
by the transaction record operation_mode field.
The execute_write_data_phase() sets the WVALID protocol signal at the appropriate time
defined by the transaction record data_valid_delay field.
Example
// Declare a local variable to hold the transaction record.
axi4lite_transaction write_trans;
// Create a write transaction with start address of 0 and assign
// it to the local write_trans variable.
write_trans = bfm.create_write_transaction(0);
....
// Execute the write data phase for the write_trans transaction.
bfm.execute_write_data_phase(write_trans, 0, last); //Note array element 0
Prototype
task automatic execute_write_data_phase
(
axi4_transaction trans
int index = 0, // Optional
output bit last
);
Arguments
trans The axi4_transaction record.
index Data phase (beat) number.
Note: ‘0’ for AXI4-Lite
last Flag to indicate that this phase is the last beat of data.
Returns
None
Seitenansicht 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 412 413

Kommentare zu diesen Handbüchern

Keine Kommentare