# Location of uvm\_config\_db(uvm\_object) ::set/get

**URL:** <https://verificationacademy.com/forums/t/location-of-uvm-config-db-uvm-object-set-get/30539>\
**Category:** UVM\
**Tags:** UVM, uvm\_config\_db\
**Created:** [April 12, 2015, 7:49am UTC](https://verificationacademy.com/forums/t/location-of-uvm-config-db-uvm-object-set-get/30539 "2015-04-12T07:49:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Vinay\_Jain](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/vinay_jain/32/3037_2.png) [@Vinay\_Jain](https://verificationacademy.com/forums/u/Vinay_Jain)\
**Post date:** [April 12, 2015, 6:46pm UTC](https://verificationacademy.com/forums/t/location-of-uvm-config-db-uvm-object-set-get/30539/2 "2015-04-12T18:46:23Z")

</div>

Hi,

Regarding the error when you try to create cvg object in monitor and drive using create method , seems like you kept string name same at both place else no one would stop to create two object of class  
E.g -

```verilog
cvg = coverage::type_id::create("cvg_monitor", this)

```

```verilog
cvg = coverage::type_id::create("cvg_driver", this)

```

Another way is to have analysis port-export, which would be more idle way  
For the coverage collecting.

-Vinay Jain  
[V4verification.com](http://V4verification.com)

---

_[View the full topic](https://verificationacademy.com/forums/t/location-of-uvm-config-db-uvm-object-set-get/30539)._
