In reply to Venkatesh Maddibande Sheshadrivasan:
You can use the uvm_config_db from where ever you want. You can even use it outside of a UVM testbench. You just need to make sure that set() comes before get(), and understand how the path matching strings work. Just remember that the settings from the command line don’t get applied until you call run_test().
We do recommend that you limit the number of config variables you have and the frequency of calling get() since there is a lot of overhead in searching for values.