# P\_sequencer and m\_sequencer

**URL:** <https://verificationacademy.com/forums/t/p-sequencer-and-m-sequencer/31081>\
**Category:** UVM\
**Tags:** UVM\
**Created:** [October 1, 2015, 4:35am UTC](https://verificationacademy.com/forums/t/p-sequencer-and-m-sequencer/31081 "2015-10-01T04:35:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![UjjwalKaushik](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/u/838e76/32.png) [@UjjwalKaushik](https://verificationacademy.com/forums/u/UjjwalKaushik)\
**Post date:** [October 6, 2015, 5:20pm UTC](https://verificationacademy.com/forums/t/p-sequencer-and-m-sequencer/31081/4 "2015-10-06T17:20:42Z")

</div>

m\_sequencer is the default handle for uvm\_vitual\_sequencer and p\_sequencer is the hook up for child sequencer.

m\_sequencer is the generic uvm\_sequencer pointer. it will always exist for the uvm\_sequence and is initialized when the sequence is started.

p\_sequencer is a typed-specific sequencer pointer, created by registering the sequence to the sequencer using macros. It will not exist if we have not registered the sequence with macros.  
As it is type-specific we can access almost everything added to the sequencer.

try to avoid using p\_sequencer.

Regards  
Ujjwal

---

_[View the full topic](https://verificationacademy.com/forums/t/p-sequencer-and-m-sequencer/31081)._
