# VERILOG2146: Overlapping items in case statement should be avoided ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
A wildcard case statement contains overlapping items, which can be confusing since the overlapping value(s) will only ever match the first item in the list.
module fly;
logic [3:0] a;
initial begin
casez (a)
4'b1011:;
4'b101?:;
default;
endcase
end
endmodule
module fly;
logic [3:0] a;
initial begin
casez (a)
4'b1011:;
4'b111?:;
default;
endcase
end
endmodule
```
## Parameters
No parameters.
```{raw} html
```