Example 6-30. process_write, Process_write – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual
Page 184
Advertising
Mentor VIP AE AXI3/4 User Guide, V10.2b
166
SystemVerilog Tutorials
Verifying a Master DUT
September 2013
Example 6-30. 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
axi_transaction write_trans;
write_trans = bfm.create_slave_transaction();
set_write_address_ready_delay(write_trans);
bfm.get_write_addr_phase(write_trans);
fork
begin
automatic axi_transaction t = write_trans;
handle_write(t);
end
join_none
#0;
end
endtask
Advertising