Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Instrukcja Użytkownika Strona 85

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 783
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 84
SystemVerilog AXI3 and AXI4 Master BFMs
wait_on()
Mentor VIP AE AXI3/4 User Guide, V10.2b
67
September 2013
wait_on()
This blocking task waits for an event(s) on the ACLK or ARESETn signals to occur before
proceeding. An optional count argument waits for the number of events equal to count.
AXI3 Example
bfm.wait_on(AXI_RESET_POSEDGE);
bfm.wait_on(AXI_CLOCK_POSEDGE,10);
AXI4 Example
bfm.wait_on(AXI4_RESET_POSEDGE);
bfm.wait_on(AXI4_CLOCK_POSEDGE,10);
Prototype
// * = axi | axi4
// ** = AXI| AXI4
task automatic wait_on
(
*_wait_e phase,
input int count = 1 //Optional
);
Arguments
phase Wait for:
**_CLOCK_POSEDGE
**_CLOCK_NEGEDGE
**_CLOCK_ANYEDGE
**_CLOCK_0_TO_1
**_CLOCK_1_TO_0
**_RESET_POSEDGE
**_RESET_NEGEDGE
**_RESET_ANYEDGE
**_RESET_0_TO_1
**_RESET_1_TO_0
count (Optional) Wait for a number of events to occur set by count.
(default = 1)
Returns
None
Przeglądanie stron 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 782 783

Komentarze do niniejszej Instrukcji

Brak uwag