Uvm_config_db / uvm_resource_db for registering virtual interfaces

In reply to chr_sue:

Thanks for the feedback.
My concern was more about how to register virtual interfaces with resource_db when you have multiple instances of the same agent, but i can see that config_db is more appropriate.
That s why it was confusing me that the book recommended to use resource_db for registering virtual interfaces.