Race condition while sampling a covergroup

In reply to oasis_abhi:

That’s too much code to go through and still not enough to see what is happening. I suggest looking for help with a local peer to review your situation.