Address reviewer feedback: update existing test for multiple warnings
This commit is contained in:
parent
3bc9359635
commit
5be89d2ae5
|
|
@ -252,6 +252,7 @@ Rowan Goemans
|
|||
Rupert Swarbrick
|
||||
Ryan Ziegler
|
||||
Ryszard Rozak
|
||||
Saksham Gupta
|
||||
Samuel Riedel
|
||||
Sean Cross
|
||||
Sebastien Van Cauwenberghe
|
||||
|
|
@ -329,4 +330,3 @@ Zubin Jain
|
|||
Muzaffer Kal
|
||||
Yilin Li
|
||||
Shashvat Prabhu
|
||||
Saksham Gupta
|
||||
|
|
|
|||
|
|
@ -3,4 +3,7 @@
|
|||
| ^~~~
|
||||
... 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.
|
||||
%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
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ module t;
|
|||
|
||||
unique case (state)
|
||||
S0: $stop;
|
||||
S2: $stop;
|
||||
endcase
|
||||
end
|
||||
endmodule
|
||||
|
|
|
|||
|
|
@ -3,12 +3,24 @@
|
|||
| ^~~~
|
||||
... 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.
|
||||
%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
|
||||
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
|
||||
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)
|
||||
40 | case (state)
|
||||
| ^~~~
|
||||
|
|
|
|||
Loading…
Reference in New Issue