VERILOG2093: Macros should not be redefined
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 10min | synthesis, vscode, simulation, linter |
Description
Noncompliant code example
`define FOO 1 `define FOO 2
Compliant solution
`define FOO 1 `define BAR 2
Macros should not be redefined.
Either remove the duplicated macro or update the name of the macro that might come from a copy/paste.
Parameters
No parameters.