Uvm_config_db/uvm_resource_db

Hi All,

We have uvm_resource_db for setting and getting the resource. Uvm have “get_by_name”, “get_by_type”, “read_by_name”, “read_by_type” functions for getting the resource.

please let me know why do we need multiple function for getting the resource or what are the scenarios where we need these different function for getting the resource.

Thanks,
Rahul Kumar

Use uvm_config_db::set() and uvm_config_db::get()

In reply to tfitz:

Thanks for reply,

uvm_config_db have two function, ok. But what about uvm_resource_db?

In reply to rahulkumarkhokher@gmail.com:

Just use uvm_config_db::set() and uvm_config_db::get() until that no longer meets your needs. Then you can look at the more complex functions (I doubt you will ever need to).