Skip to content
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

Add unused import check #974

Closed
corco opened this issue Apr 26, 2024 · 1 comment
Closed

Add unused import check #974

corco opened this issue Apr 26, 2024 · 1 comment
Labels

Comments

@corco
Copy link

corco commented Apr 26, 2024

Given the following code

package pkg;

  localparam int A = 12;

endpackage : pkg

module mod;

  import pkg::A;

endmodule : mod

I would like to get a warning that "unused import pkg::A". It could be added with "-Wunused-import" and be included in "-Wunused".

@MikePopoloski
Copy link
Owner

Added in e342f51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants