VERILOG2036: Duplicated package imports should be removed

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
LOW--Consistency | Conventional5minsynthesis, vscode, simulation, linter, dead-code

Description

Noncompliant code example

package p;
  int i;
endpackage

module top;
  import p::i;
  import p::i; // Noncompliant
endmodule

Compliant solution

package p;
  int i;
endpackage

module top;
  import p::i;
endmodule

A given scope contains more than one import statement for the same package and name.

Duplicated imports statements are useless and should be removed.

Parameters

No parameters.