VERILOG2105: Instance ports with no default value should not be left unconnected

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
HIGH--Intentionality | Logical5minsynthesis, vscode, linter, simulation

Description

Instance ports with no default value should not be left unconnected.

Noncompliant code example

module fly(input int i);
endmodule

module top;
  fly fly1();
endmodule

Compliant solution

module fly(input int i = 1);
endmodule

module top;
  fly fly1();
endmodule

Parameters

No parameters.