VERILOG2004: Unused nets should be removed
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation, dead-code |
Description
A net that is never used should be removed.
Noncompliant code example
module fly; wire dream; // Noncompliant: 'dream' is never set nor read wire sleep; // Noncompliant: 'sleep' is set but never read assign sleep = 1; endmodule
Parameters
No parameters.