Address reviewer feedback: update existing test for multiple warnings

This commit is contained in:
Saksham 2026-06-21 23:32:05 +05:30
parent 3bc9359635
commit 5be89d2ae5
4 changed files with 16 additions and 2 deletions

View File

@ -252,6 +252,7 @@ Rowan Goemans
Rupert Swarbrick Rupert Swarbrick
Ryan Ziegler Ryan Ziegler
Ryszard Rozak Ryszard Rozak
Saksham Gupta
Samuel Riedel Samuel Riedel
Sean Cross Sean Cross
Sebastien Van Cauwenberghe Sebastien Van Cauwenberghe
@ -329,4 +330,3 @@ Zubin Jain
Muzaffer Kal Muzaffer Kal
Yilin Li Yilin Li
Shashvat Prabhu Shashvat Prabhu
Saksham Gupta

View File

@ -3,4 +3,7 @@
| ^~~~ | ^~~~
... For warning description see https://verilator.org/warn/CASEINCOMPLETE?v=latest ... For warning description see https://verilator.org/warn/CASEINCOMPLETE?v=latest
... Use "/* verilator lint_off CASEINCOMPLETE */" and lint_on around source to disable this message. ... Use "/* verilator lint_off CASEINCOMPLETE */" and lint_on around source to disable this message.
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_bad.v:18:12: Enum item 'S2' not covered by case
18 | unique case (state)
| ^~~~
%Error: Exiting due to %Error: Exiting due to

View File

@ -17,7 +17,6 @@ module t;
unique case (state) unique case (state)
S0: $stop; S0: $stop;
S2: $stop;
endcase endcase
end end
endmodule endmodule

View File

@ -3,12 +3,24 @@
| ^~~~ | ^~~~
... For warning description see https://verilator.org/warn/CASEINCOMPLETE?v=latest ... For warning description see https://verilator.org/warn/CASEINCOMPLETE?v=latest
... Use "/* verilator lint_off CASEINCOMPLETE */" and lint_on around source to disable this message. ... Use "/* verilator lint_off CASEINCOMPLETE */" and lint_on around source to disable this message.
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:26:12: Enum item 'SX0' not covered by case
26 | unique case (state)
| ^~~~
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:30:12: Enum item 'S00' not covered by case %Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:30:12: Enum item 'S00' not covered by case
30 | unique case (state) 30 | unique case (state)
| ^~~~ | ^~~~
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:30:12: Enum item 'SX0' not covered by case
30 | unique case (state)
| ^~~~
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:30:12: Enum item 'S0X' not covered by case
30 | unique case (state)
| ^~~~
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:35:12: Enum item 'S10' not covered by case %Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:35:12: Enum item 'S10' not covered by case
35 | unique casez (state) 35 | unique casez (state)
| ^~~~~ | ^~~~~
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:35:12: Enum item 'SX0' not covered by case
35 | unique casez (state)
| ^~~~~
%Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:40:5: Case values incompletely covered (example pattern 0x3) %Warning-CASEINCOMPLETE: t/t_case_enum_incomplete_wildcard_bad.v:40:5: Case values incompletely covered (example pattern 0x3)
40 | case (state) 40 | case (state)
| ^~~~ | ^~~~