I have a package which includes bfm sources. And there is a interface that is used along with the bfm classes as virtual. It is placed in the same file but definitely outside the package. For example,
// some classes
// some signals
I compile my_pkg.sv into a library, let's say, my_lib. Because I don't want to recompile every time since it took some time to compile. And I use different library because working library is deleted sometimes, for some reason.
The source code that I actually compile daily, imports the package successfully when I instruct the tool to look for that specific library. But it gives me an error saying it can't find that interface. For example,
import my_pkg::*; // no errors
my_if my_if_; // throws an error
Is it something that SystemVerilog related or should I contact the vendor? Please let me know the correct way of doing this kind of stuff, if possible.
P.S I am using Questa.