When I have to wait for signal, I usually use statement like @(cb iff signal == condition)
However, the issue in such statement is that the if the clocking block keeps waiting then it is harder to trace back. Therefore, I end up using while loop with clock cycles threshold for the ease for debug but this increases verbosity. Such as
Therefore, is there anyway where I can add timeout condition in clocking block , for example, @(cb iff signal with timeout)?