VERILOG2118: In a context where “default_nettype” is set to “none”, a net port should not elide its net type

Summary

Count: 1

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

Description

Noncompliant code example

`default_nettype none

module m(input i); // Noncompliant
endmodule

A net port that elides its net type occurs in a context where default_nettype is set to none. This technically should be an error but it makes the use of none as a default nettype very annoying and most tools just default to a wire in this case.

Parameters

No parameters.