In reply to karandeepsingh:
Hi Karan
Thanks for reply. I know how to use get/set in config_db function. I have run the complete environment of AHB and APB individually.
But this time I want to connect AHB and APB in single environment class. But I cant understand how to connect both interfaces to each other and where.
I declared both interfaces as virtual in a single config_ahb_apb class.
class config_ahb_apb;
////interface of AHB
virtual intf_ahb dut_vi;
/////interface of APB
virtual intf_apb dut_slave;
endclass