# \#config\_dbset-from-Same-Level-of-Hierarchy

**URL:** https://verificationacademy.com/forums/tag/config-dbset-from-same-level-of-hierarchy/7391.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Uvm\_config\_db set and get method](https://verificationacademy.com/forums/t/uvm-config-db-set-and-get-method/41476)

<div class="topic-metadata">

**Author:** [@Boogeyman](https://verificationacademy.com/forums/u/Boogeyman)\
**Replies:** 3\
**Last updated:** [April 7, 2023, 3:53pm UTC](https://verificationacademy.com/forums/t/uvm-config-db-set-and-get-method/41476 "2023-04-07T15:53:54Z")

</div>

Hi All, In below code, i’m setting an uvm\_object in uvm\_config\_db after ranomizing it in base\_test build\_phase. And, in my\_test, i created a child class of that object and override the constraints and then randomized in…

---

## [Config\_db::set from Same Level of Hierarchy](https://verificationacademy.com/forums/t/config-db-set-from-same-level-of-hierarchy/37740)

<div class="topic-metadata">

**Author:** [@MICRO\_91](https://verificationacademy.com/forums/u/MICRO_91)\
**Replies:** 2\
**Last updated:** [June 21, 2020, 4:08pm UTC](https://verificationacademy.com/forums/t/config-db-set-from-same-level-of-hierarchy/37740 "2020-06-21T16:08:25Z")

</div>

Hi all , I am trying so set “is\_active” variable ( of class uvm\_agent ) from 2 Components at Same level of Hierarchy \`include "uvm\_pkg.sv" \`include "uvm\_macros.svh" import uvm\_pkg::\*; \`define COMP\_NEW function new …
