VERILOG2105: Instance ports with no default value should not be left unconnected
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 5min | synthesis, 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.