Logic for 'x' value

In reply to Naven8:

I am defining this task “xyz” as a virtual task.

task start();
fork
forever
begin
xyz();
end
join

endtask