-
Notifications
You must be signed in to change notification settings - Fork 670
Support unassigned virtual interfaces #5265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Simpler examples: interface I;
endinterface
class C;
virtual I vi;
endclass
module top;
endmodule results in
and interface I;
endinterface
class C;
task automatic t(virtual I vif);
endtask
endclass
module top;
endmodule results in
Both with the following arguments:
|
As it says this isn't currently supported. I presume your request is to add support for this. @kozdra is there a reason we can't just ignore unused virtual interfaces like this? |
Use of an actual interface as a value of virtual interface dtype is required in V3LinkDot, because unused interfaces are marked dead and not resolved correctly afterwards. |
BTW if #2227 is fixed, Verilator will detect the unused class and this error will go away in the cases mentioned. |
More examples from https://github.com/pulp-platform/common_cells
|
VCS compiles without errors.
Can you attach an example that shows the issue? (Must be openly licensed, ideally in test_regress format.)
test_cw
is never used/instantiated.What 'verilator' command line do we use to run your example?
What 'verilator --version' are you using? Did you try it with the git master version?
What OS and distribution are you using?
The text was updated successfully, but these errors were encountered: