Get a configuration class object in interface

In reply to adharshh:

You have to indicate when the config object has been pased to the config_db. Because the interface is a static construct it does not belong to the dynmic part of your testbench. The static constructs will be build earlier than the dynamic ones.