# Config\_db - parameters for set/get method

**URL:** <https://verificationacademy.com/forums/t/config-db-parameters-for-set-get-method/33871>\
**Category:** UVM\
**Tags:** UVM, config\_db\
**Created:** [December 31, 2017, 12:56pm UTC](https://verificationacademy.com/forums/t/config-db-parameters-for-set-get-method/33871 "2017-12-31T12:56:47Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:** [January 17, 2018, 2:41pm UTC](https://verificationacademy.com/forums/t/config-db-parameters-for-set-get-method/33871/17 "2018-01-17T14:41:09Z")

</div>

_In reply to [verif\_learner](https://verificationacademy.com/forums/t/config-db-parameters-for-set-get-method/33871/16):_

Your get will not be successful, because you are restricting the hierarchy by the set command.  
The 3 set commands have the same result. Only a component in the hierachy top.module\_a.instance\_a can retrieve a value.  
In your get you are considering only the hierarchy top.instance\_a which does not meet the hierarchy from the set which is top.module\_a.instance\_a.

---

_[View the full topic](https://verificationacademy.com/forums/t/config-db-parameters-for-set-get-method/33871)._
