2022-12-01 01:42:21 +01:00
|
|
|
// DESCRIPTION: Verilator: SystemVerilog Test module
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
|
|
|
// SPDX-FileCopyrightText: 2022 Wilson Snyder
|
2022-12-01 01:42:21 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
|
|
module t;
|
|
|
|
|
|
|
|
|
|
enum logic [2:0] {S0, S1, S2} state;
|
|
|
|
|
|
|
|
|
|
initial begin
|
|
|
|
|
state = S1;
|
|
|
|
|
|
|
|
|
|
unique case (state)
|
|
|
|
|
S0: $stop;
|
|
|
|
|
S2: $stop;
|
|
|
|
|
endcase
|
|
|
|
|
end
|
|
|
|
|
endmodule
|