Erling Posted May 19, 2011 Report Share Posted May 19, 2011 When importing a class from a package, do other classes in that package need to be loadable at point of import? Say I have a driver and a monitor in a package, both components originally written to operate on the following interface: interface MyIf; logic any; endinterface What I want to do is to import the monitor only, and have it operate on a modified version of the interface: interface MyIf(input logic any); endinterface The simulator I am using does not allow this, because the driver isn't loadable with the modified interface. This seems to be irrelevant, since the driver isn't referenced in the importing context. Is the simulator in error or is the behavior to be expected? Regards, Erling Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.