# Is there a saved name for the sequencer that the sequence related to ? i saw using of m\_sequencer this is righ?

**URL:** <https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012>\
**Category:** OVM\
**Tags:** OVM\
**Created:** [April 3, 2017, 1:54pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012 "2017-04-03T13:54:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliabosaleh](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@aliabosaleh](https://verificationacademy.com/forums/u/aliabosaleh)\
**Post date:** [April 3, 2017, 1:54pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/1 "2017-04-03T13:54:22Z")

</div>

i searched for m\_sequencer but didn’t find anything about it , but it works!

---

<div class="post-metadata">

**Author:** ![cgales](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/ccd318/32.png) [@cgales](https://verificationacademy.com/forums/u/cgales)\
**Post date:** [April 3, 2017, 2:53pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/2 "2017-04-03T14:53:40Z")

</div>

_In reply to [aliabosaleh](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012):_

What are you trying to accomplish? The ‘m\_sequencer’ variable will contain a handle to the sequencer that the sequence is running on. This is of type ‘uvm\_sequencer’.

---

<div class="post-metadata">

**Author:** ![aliabosaleh](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@aliabosaleh](https://verificationacademy.com/forums/u/aliabosaleh)\
**Post date:** [April 3, 2017, 3:20pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/3 "2017-04-03T15:20:30Z")

</div>

i want to change the scheme of the sequencer from the build of one of the sequence that i have in the code…  
i used m\_sequencer and it works, but i don’t know why… i searched to know why this is ok, and did’nt find anything , i want to be sure that i know what i do.

---

<div class="post-metadata">

**Author:** ![cgales](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/ccd318/32.png) [@cgales](https://verificationacademy.com/forums/u/cgales)\
**Post date:** [April 3, 2017, 5:03pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/4 "2017-04-03T17:03:34Z")

</div>

_In reply to [aliabosaleh](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/3):_

What do you mean by “change the scheme of the sequencer from the build of one of the sequence”?

Did you look at the source code? Search for m\_sequencer…

Also, as a suggestion, if you are starting something new, you should use UVM and not OVM.

---

<div class="post-metadata">

**Author:** ![aliabosaleh](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@aliabosaleh](https://verificationacademy.com/forums/u/aliabosaleh)\
**Post date:** [April 3, 2017, 7:05pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/5 "2017-04-03T19:05:46Z")

</div>

there is no m\_sequencer in the code,  
i have to use ovm , not uvm.  
change the scheme of the sequencer, i mean to change the Sequencer Arbitration , i want to change it to SEQ\_ARB\_RANDOM…

---

<div class="post-metadata">

**Author:** ![cgales](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/ccd318/32.png) [@cgales](https://verificationacademy.com/forums/u/cgales)\
**Post date:** [April 3, 2017, 7:43pm UTC](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/6 "2017-04-03T19:43:32Z")

</div>

_In reply to [aliabosaleh](https://verificationacademy.com/forums/t/is-there-a-saved-name-for-the-sequencer-that-the-sequence-related-to-i-saw-using-of-m-sequencer-this-is-righ/33012/5):_

Did you run ‘grep -r m\_sequencer ovm-2.1.2/src’?

If you did, you will find m\_sequencer defined in ovm\_sequence\_item.svh

This may seem confusing, except when you follow ovm\_sequence is extended from ovm\_sequence\_base, which is extended from ovm\_sequence\_item.

I would recommend NOT changing the arbitration method from a sequence. The arbitration method should be specified at the test level. You should therefor change it in the test.
