VERILOG2016: Unused type parameters should be removed
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation, dead-code |
Description
Unused type parameters should be removed.
Noncompliant code example
module fly #(parameter type t = int); // Noncompliant: 't' is never used endmodule
Compliant solution
module fly #(parameter type t = int); t dream; endmodule
Parameters
No parameters.