VERILOG2027: Duplicate case generate items should be removed
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
Description
Noncompliant code example
module fly;
case (1)
1: begin end
1: begin end
endcase
endmodule
More than one case generate item was found to have the same value. The second case block will never be selected.
Parameters
No parameters.