# How to get configuration from sequence

**URL:** <https://verificationacademy.com/forums/t/how-to-get-configuration-from-sequence/31139>\
**Category:** UVM\
**Tags:** UVM, uvm\_config\_db-get\
**Created:** [October 16, 2015, 11:03am UTC](https://verificationacademy.com/forums/t/how-to-get-configuration-from-sequence/31139 "2015-10-16T11:03:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bmorris](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/bmorris/32/2097_2.png) [@bmorris](https://verificationacademy.com/forums/u/bmorris)\
**Post date:** [October 16, 2015, 3:11pm UTC](https://verificationacademy.com/forums/t/how-to-get-configuration-from-sequence/31139/4 "2015-10-16T15:11:03Z")

</div>

_In reply to [Danil](https://verificationacademy.com/forums/t/how-to-get-configuration-from-sequence/31139/3):_

Danil, I am currently doing the exact scenario you described; no problems.

Can you confirm a couple things:

1. Make sure your **set** () is not in the run\_phase; place it in the build, connect, or end of elaboration phase ( I just use build\_phase ).

2. Make sure your **get** () is inside the **body** () method of the sequence.

This is just to rule out the thread hitting the get() before the set(). Otherwise your code looks fine…

---

_[View the full topic](https://verificationacademy.com/forums/t/how-to-get-configuration-from-sequence/31139)._
