Raising and dropping objections

What is the difference between phase.raise_objection and test_done.raise_objection?

test_done is left over from an earlier version. Use phase.raise_objection/drop_objection.

In reply to tfitz:

Thanks Patrick

In reply to puttasatish:

You’re welcome. My name is Tom. ;-)

In reply to tfitz:

Hi Tom,
I have one query on the same. Please provide your suggestion on that.
As per my understanding, test_done serves the same purpose as phase. But, phase provides more granularity over test_done.
So test_done(raise_objection/drop_objection) basically starts and ends only the run_phase . but phase.raise_objection/drop_objection we can have control over different phases of run phase.

So for a simpler environment , test_done serves the same purpose as phase . Is there any other drawback to use test_done ?

Regards,
Abhijeet

In reply to abhijeet Sahoo:

It will be removed in future UVM releases