Using 'ref' with variables in interface

In reply to krupahalani1:
You cannot pass a net(wire) by reference to a task/function.