UVM Phase jumping: Discrepancy in forward jumps

In reply to dave_59:

Done. Please review the updated question and code.

EDIT: MODIFIED THE CODE. USE “+define+EXTRACT_PH_JUMP” TO JUMP TO EXTRACT PHASE AND SEE THAT IT IS GETTING CALLED TWICE (SCENARIO-2). IF YOU DON’T USE THIS MACRO, THEN IT WILL JUMP TO FINAL PHASE (SCENARIO-1).

Use appropriate macro to jump to extract phase or any other phase.