VERILOG2071: String format specifiers should not be missing

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
LOW--Intentionality | Logical10minsynthesis, vscode, simulation, linter

Description

A string formatting function has a lone % at the end of the format string, implying that the rest of the specifier is missing. If a literal % is intended in the output, use the standard %% to achieve that.

Noncompliant code example

module fly;
  initial $display("Hello World %");
endmodule

Compliant solution

module fly;
  initial $display("Hello World %%");
endmodule

Parameters

No parameters.