shanghai1943 Posted March 10, 2021 Report Posted March 10, 2021 Hi friends, May I ask you: 1, what's the difference between uvm_config_db and uvm_resource_db ? 2, in what situation should I use uvm_resource_db ? 3, can uvm_resource_db#(type)::get_by_name()/get_by_type() work? I've tried but seemed not to work. Thanks Quote
chr_sue Posted March 10, 2021 Report Posted March 10, 2021 1. uvm_resource_db is a datbase which is used as basis for uvm_config_db. uvm_config_db is adding more flexibility to uvm_resource_db. 2. You should never use uvm_resource_db 3. Is obsolete because of 2. shanghai1943 1 Quote
David Black Posted March 10, 2021 Report Posted March 10, 2021 uvm_config_db is simply a facade pattern on top of the uvm_resource_db. As mentioned above, most recommend avoiding direct use of the resource db because the config db adds more consistency to its use. shanghai1943 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.