In reply to srikanth_m:
Hi,
class seq1 extends uvm_sequence #(uvm_seq_item seq_item);
bit kill_seq;
//body method
fork
begin
//drive data continuously
end
begin
wait(kill_seq);
kill_seq = 0;
end
join_any
disable fork;
endclass
Now in testlevel the part where you will have the sequence running:
fork
begin
seq1.start(seqr1);
end
begin
seq2.start(seqr2);
seq1.kill_seq = 1;
end
join
I think this approach meets your requirement