I found it sometimes confuse. I will appreciate if someone could clarify the different between factory, config_dg, and resources_db
Asked
Active
Viewed 1,884 times
1 Answers
0
- UVM Factory is a standardized mechanism to create different objects. It has only one object in the entire simulation space. It has various methods to create different
uvm_component
oruvm_object
instances and also to override it. uvm_resource_db
is the parent class ofuvm_config_db
, which is used to set different values in the registry and then get it.uvm_resource_db
has 2 lookup arguments for this set-get mechanism, whereasuvm_config_db
has 3 lookup argument. Please go through https://verificationacademy.com/forums/uvm/what-difference-between-uvmconfigdb-and-uvmresourcedb

Karan Shah
- 1,912
- 1
- 29
- 42