VERILOG2078: “%” escape code should not be used

Summary

Count: 1

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

Description

\% escape code is not standard.

Even some tools allow it, use %% instead to keep your code portable.

Noncompliant code example

string s = "Hello World\%";

Compliant solution

string s = "Hello World%%";

Parameters

No parameters.