VERILOG2004: Unused nets should be removed

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
MEDIUM--Intentionality | Logical10minsynthesis, 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.