# Default sequence in UVM

**URL:** <https://verificationacademy.com/forums/t/default-sequence-in-uvm/38013>\
**Category:** UVM\
**Tags:** UVM, default\_sequence, sequence\
**Created:** [August 30, 2020, 6:23am UTC](https://verificationacademy.com/forums/t/default-sequence-in-uvm/38013 "2020-08-30T06:23:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 30, 2020, 11:36am UTC](https://verificationacademy.com/forums/t/default-sequence-in-uvm/38013/2 "2020-08-30T11:36:31Z")

</div>

_In reply to [SriGanesh D](https://verificationacademy.com/forums/t/default-sequence-in-uvm/38013):_

In general, you want all of the testbench stimulus generation and response (i.e. sequences) to be configured/started during the run\_phase() of your test. This is desired to allow the user to control the exact relationship between these sequences.

There are several reasons using a default\_sequence doesn’t follow this:

- Setting a default\_sequence is done outside of the run\_phase(). Additionally, changing the default\_sequence requires changes outside of the run\_phase().
- There is no mechanism to control when the default\_sequence starts, other than at the beginning of a specific phase.
- You can’t run more than one sequence
- You can’t easily run additional sequences on the same sequencer
- Debugging a default\_sequence can be difficult since the user may not be aware that the default\_sequence exists.
- The default\_sequence can’t be randomized() or otherwise configured

It’s simple enough to create()/randomize()/start() a single sequence at the beginning of the run\_phase() instead of setting a default\_sequence.

---

_[View the full topic](https://verificationacademy.com/forums/t/default-sequence-in-uvm/38013)._
