VERILOG2078: “%” escape code should not be used
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 5min | portability, 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.