VERILOG2035: Duplicated configuration rules should be removed
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 5min | synthesis, vscode, simulation, linter, dead-code |
Description
Noncompliant code example
module fly; endmodule config cfg; design fly; instance fly.foo use bar; instance fly.foo use baz; // Noncompliant endconfig
Compliant solution
module fly; endmodule config cfg; design fly; instance fly.foo use bar; endconfig
More than one rule in a configuration targets the same cell or instance. They cannot both be used. The first one is taken into account; others are ignored.
Remove the duplicated configuration rules.
Parameters
No parameters.