How to use a virtual interface in uvm?
https://edaplayground.com/x/peeY
I found edaplayground.com/x/peeY what I can't understand about vapb_intf.pclk from task write_drive_apb_packet in apb_master_driver.sv
When I run the simulation, the simulation stuck on @(posedge vapb_intf.pclk); and wait(vapb_intf.pready==1); but I found always #5 apb_intf.pclk=!apb_intf.pclk; in testbench.sv.
I think the connection good. buy why does interface can't working?