Uvm_config_db / uvm_resource_db for registering virtual interfaces

In reply to Vperrin:

What do you mean with the ‘same class’. An interface is not a class. It is a SV Interface. And a virtual interface uses the SV Interface as a type.
I understood you have 2 Interfaces of the same type. One is stored in the config_db/resource_db under the Name “apb_tx” and the other one under the name “apb_rx”.