Selectively instantiate covergroup

In reply to dave_59:

Hi Dave
I tried getting the config_db in new constructor . But it failed with UVM_FATAL error .
Is there anything else require while setting the config_db and getting it inside new constructor?