verilator/test_regress/t/t_case_enum_emptyish.v

30 lines
442 B
Systemverilog
Raw Normal View History

2023-01-10 13:18:12 +01:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2023 Wilson Snyder
2023-01-10 13:18:12 +01:00
// SPDX-License-Identifier: CC0-1.0
module t;
2023-01-10 13:18:12 +01:00
2026-03-08 23:26:40 +01:00
enum logic [2:0] {
e0,
e1,
e2,
e3
} EN;
2023-01-10 13:18:12 +01:00
2026-03-08 23:26:40 +01:00
initial begin
2023-01-10 13:18:12 +01:00
2026-03-08 23:26:40 +01:00
unique case (EN)
e0: ;
e1: ;
e2: ;
e3: ;
endcase
2023-01-10 13:18:12 +01:00
2026-03-08 23:26:40 +01:00
$write("*-* All Finished *-*\n");
$finish;
end
2023-01-10 13:18:12 +01:00
endmodule