# Getting a config db variable value in higher hierarchy

**URL:** <https://verificationacademy.com/forums/t/getting-a-config-db-variable-value-in-higher-hierarchy/33143>\
**Category:** UVM\
**Tags:** UVM, config\_db\
**Created:** [May 21, 2017, 2:07am UTC](https://verificationacademy.com/forums/t/getting-a-config-db-variable-value-in-higher-hierarchy/33143 "2017-05-21T02:07:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [May 21, 2017, 11:10am UTC](https://verificationacademy.com/forums/t/getting-a-config-db-variable-value-in-higher-hierarchy/33143/4 "2017-05-21T11:10:59Z")

</div>

_In reply to [smukerji](https://verificationacademy.com/forums/t/getting-a-config-db-variable-value-in-higher-hierarchy/33143/3):_

OK, I understand. It Looks like you do not understand the mechanism of the uvm\_config\_db. You do not store variables there. You store simple values of certain types. The value is assiciated with a name. The Name consists of the path and a simple Name (string). In your case the simple name is ‘error\_source’. And the path is the concatenation of ‘this’ and an empty string. Where you have the question marks you have to use a local variable where the value will be stored in.

---

_[View the full topic](https://verificationacademy.com/forums/t/getting-a-config-db-variable-value-in-higher-hierarchy/33143)._
