Exporting a SV task which will wait posedge clock