Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Uživatelský manuál Strana 135

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 783
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 134
SystemVerilog AXI3 and AXI4 Monitor BFMs
get_rw_transaction()
Mentor VIP AE AXI3/4 User Guide, V10.2b
117
September 2013
get_rw_transaction()
This blocking task gets a complete read or write transaction previously created by the
create_monitor_transaction() function.
It updates the *_transaction record for the complete transaction.
AXI3 Example
// Declare a local variable to hold the transaction record.
axi_transaction monitor_trans;
// Create a monitor transaction and assign it to the local
// monitor_trans variable.
monitor_trans = bfm.create_monitor_transaction();
....
// Get the complete monitor_trans transaction.
bfm.get_rw_transaction(monitor_trans);
AXI4 Example
// Declare a local variable to hold the transaction record.
axi4_transaction monitor_trans;
// Create a monitor transaction and assign it to the local
// monitor_trans variable.
monitor_trans = bfm.create_monitor_transaction();
....
// Get the complete monitor_trans transaction.
bfm.get_rw_transaction(monitor_trans);
Prototype
// * = axi | axi4
task automatic get_rw_transaction
(
*_transaction trans
)
Arguments trans
The *_transaction record.
Returns
None
Zobrazit stránku 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 782 783

Komentáře k této Příručce

Žádné komentáře