Enable checks in post simulation phase if simulation phase is clean

Hi ,

I want to enable some checks in the post simulation phase like check/final phase but , I want to enable it only if simulation phase has no uvm_errors .

Thanks,
Sahith

In reply to sahith:

You can query the uvm_report_server and get the number of error messages, and use that inside your phases to determine if they should execute. There may be some way to skip phases based on these results, but I’m not sure if the effort is worth it.

The post-simulation phases are all functions and should execute very quickly in comparison to the run_phase(). Why do you want to skip them? I can’t foresee any significant performance improvement.