# Stop Sequence

**URL:** <https://verificationacademy.com/forums/t/stop-sequence/37916>\
**Category:** UVM\
**Tags:** UVM, sequence, raise-objection, testcase\
**Created:** [August 5, 2020, 5:30pm UTC](https://verificationacademy.com/forums/t/stop-sequence/37916 "2020-08-05T17:30:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashant.makhecha](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/ea666f/32.png) [@prashant.makhecha](https://verificationacademy.com/forums/u/prashant.makhecha)\
**Post date:** [August 5, 2020, 5:30pm UTC](https://verificationacademy.com/forums/t/stop-sequence/37916/1 "2020-08-05T17:30:48Z")

</div>

I am starting 1 sequence in run phase of base test which is checking activity on interface it will raise fatal error after it detects no activity till 200us. Now I am extending base test in another test and here I don’t want that fatal error to come if there is no activity on interface for 200us. So it means I need to stop that sequence which is running in base test. I tried solutions from other forums like using kill() in run phase of extended test but it didn’t work for me.  
Yaa I need that activity detector sequence in other tests so can’t completely remove from base test so I just need to somehow disable that particular sequence only in my extended test.  
In my base test other sequences are also running so I can’t stop all sequences of base test. I just want to stop particular sequence of base test in through extended test.  
I had taken handle of sequence in base test and also created in build phase of base test.

Kindly help me in these as I am new to UVM.

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [August 6, 2020, 11:54am UTC](https://verificationacademy.com/forums/t/stop-sequence/37916/2 "2020-08-06T11:54:30Z")

</div>

_In reply to [om30](https://verificationacademy.com/forums/t/stop-sequence/37916):_

I do not believe it is agood idea to check any activity on your pinlevel interface. Instead I’d use a property checking this.  
But of cause there is a solution for your for your appraoch. You can use a flag in your seq\_item which will enable/disable the checking.

---

<div class="post-metadata">

**Author:** ![juhi\_p](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@juhi\_p](https://verificationacademy.com/forums/u/juhi_p)\
**Post date:** [August 6, 2020, 12:11pm UTC](https://verificationacademy.com/forums/t/stop-sequence/37916/3 "2020-08-06T12:11:50Z")

</div>

You can use virtual function/task. place your code where you are running sequence in one task and override it inside extended class.
