2023-10-25 17:41:28 +02: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: 2023 Antmicro Ltd
|
2023-10-25 17:41:28 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
|
|
module t();
|
|
|
|
|
initial begin
|
|
|
|
|
int queue[$];
|
|
|
|
|
|
|
|
|
|
queue.insert(0, 0);
|
|
|
|
|
if (queue.size() != 1) $stop;
|
|
|
|
|
|
|
|
|
|
queue.insert(1, 1);
|
|
|
|
|
if (queue.size() != 2) $stop;
|
|
|
|
|
|
|
|
|
|
if (queue[0] != 0) $stop;
|
|
|
|
|
if (queue[1] != 1) $stop;
|
|
|
|
|
|
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
|
|
|
|
endmodule
|