I have a design with an IP that goes through a calibration process after reset. I pulse the reset through my driver in a sequence item and end the body task. In the monitor, I am waiting for the calibration done bit to be set, I am calling the wait task in the monitor run phase. I see that the simulation ends after the sequence item body task is done. The simulation ends without waiting for the monitor wait task to finish.
Is raising an objection in the monitor run phase and dropping it after the wait task is done, a valid way to solve this? Do you have any recommendations on how/if I can improve my testbench structure?