In reply to swapnilm:
Yes, You can call this task in your driver’s run_phase. Ofcourse, parallel to serial logic works on the clock, and since the driver will have the handle of your virtual interface, you can use the interface’s clock for your logic.