I have created my own define macro because i need to instantiate the interface more than 50 times and the interface inputs are coming from different RTL hierarchy
bind rtl_0 [b]intf_name inst_if_name(inst1.x,inst2.y);[/b]
and passing arguments to the above macro like below code.
The above logic is working fine means I am able to instantiate interface 50 times and all assertions are triggering Now the problem is I have to use the interface data in to the sequences as per some conditions.
so I tried to do with set_config_object. like this
vif_container #(virtual intf_name) i_if_0_bundle;
i_if_0_bundle = new;
so getting the compilation error like this
Error-[IND] Identifier not declared
Identifier 'i_interf_inst_0' has not been declared yet.
Not sure why it is not understanding the bind interface instantiation.If I want to use set_config_object then only i see this issue.
Please can somebody look in to this?