Wait statement inside a driver

In reply to tpan:

You should use

@(vif.driver_cb iff vif.driver_cb.trigger == 0)

When using clocking blocks, you should not mix blocking statements with anything other than @(cb).