UVM analogy to "wait_if_stopped" method in VMM

Hello,

I am new to UVM and I’m currently working on migration from VMM to UVM. A lot of the xactor files have this “wait_if_stopped” method implemented in them.I find that there is no direct analogous usage to vmm_xactor’s method “wait_if_stopped” in UVM.

Could anyone please tell me how to implent “wait_if_stopped” in UVM or are there any built in methods for it?

Thanks in Advance!

The UVM has very different thread control mechanisms from the VMM, and much of the thread control that was used in the VMM is now embedded in the sequencer/driver TLM connections.

wait_if_stopped() only has meaning if you had used stop_xactor, and there is no equivalent in the UVM for that either. uvm_component::suspend() is the closest equivalent, but that is a completely user defined routine, bot something built-in.