Remove new test files
This commit is contained in:
parent
586575547d
commit
3bc9359635
|
|
@ -1,3 +0,0 @@
|
||||||
%Warning-CASEINCOMPLETE: t/t_case_incomplete_enum_warn.v:17:16: Enum item 'STATE_WRITE' not covered by case
|
|
||||||
%Warning-CASEINCOMPLETE: t/t_case_incomplete_enum_warn.v:17:16: Enum item 'STATE_ERROR' not covered by case
|
|
||||||
%Error: Exiting due to 2 warning(s)
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
import vltest_bootstrap
|
|
||||||
test.scenarios('linter')
|
|
||||||
test.lint(fails=True, expect_filename=test.golden_filename)
|
|
||||||
test.passes()
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
module test_bug;
|
|
||||||
// Define an enum with 4 states
|
|
||||||
typedef enum logic [1:0] {
|
|
||||||
STATE_IDLE = 2'd0,
|
|
||||||
STATE_READ = 2'd1,
|
|
||||||
STATE_WRITE = 2'd2,
|
|
||||||
STATE_ERROR = 2'd3
|
|
||||||
} system_state_t;
|
|
||||||
|
|
||||||
system_state_t current_state;
|
|
||||||
|
|
||||||
initial begin
|
|
||||||
current_state = STATE_IDLE;
|
|
||||||
|
|
||||||
// We only cover IDLE and READ.
|
|
||||||
// We intentionally leave out WRITE and ERROR!
|
|
||||||
unique case (current_state)
|
|
||||||
STATE_IDLE: $display("Idling...");
|
|
||||||
STATE_READ: $display("Reading...");
|
|
||||||
endcase
|
|
||||||
end
|
|
||||||
endmodule
|
|
||||||
Loading…
Reference in New Issue