Hi All,
I don’t think its possible but even want to know if theirs any other way out.
class main_sequence extends uvm_sequence;
task body;
..part1..
if(call_child==1)`uvm_do(child_Seq);
..part2..
endtask
endclass
where child_sequence is extended from main_sequence.
Thanks!