2024-12-12 14:51:48 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain
|
|
|
|
|
// SPDX-FileCopyrightText: 2024 Antmicro
|
2024-12-12 14:51:48 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2024-12-12 14:51:48 +01:00
|
|
|
|
|
|
|
|
initial begin
|
2026-02-09 00:20:28 +01:00
|
|
|
automatic int q[$] = {1, 2};
|
|
|
|
|
|
2024-12-12 14:51:48 +01:00
|
|
|
if (!(1 inside {q[0], q[1]})) $stop;
|
|
|
|
|
if (3 inside {q[0], q[1]}) $stop;
|
|
|
|
|
|
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
endmodule
|