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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 783
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 197
Mentor VIP AE AXI3/4 User Guide, V10.2b
180
SystemVerilog Tutorials
Verifying a Master DUT
September 2013
process_write()
The processing of write transactions in the slave test program works in a similar way as that
previously described for the process_read() task.
Example 6-45. process_write
// Task : process_write
// This method keep receiving write address phase and calls another
// method to process received transaction.
task process_write;
forever
begin
axi4_transaction write_trans;
write_trans = bfm.create_slave_transaction();
bfm.get_write_addr_phase(write_trans);
fork
begin
automatic axi4_transaction t = write_trans;
handle_write(t);
end
join_none
#0;
end
endtask
Przeglądanie stron 197
1 2 ... 193 194 195 196 197 198 199 200 201 202 203 ... 782 783

Komentarze do niniejszej Instrukcji

Brak uwag