You can not and do not need to include an interface in a package. You just forgot the virtual keyword in your virtual interface variable declaration of vif1. There is no compilation order dependency with the actual interface
You can not and do not need to include an interface in a package. You just forgot the virtual keyword in your virtual interface variable declaration of vif1. There is no compilation order dependency with the actual interface