verilator/test_regress/t/t_delay_1step.v

20 lines
420 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain
// SPDX-FileCopyrightText: 2025 Antmicro
// SPDX-License-Identifier: CC0-1.0
module t;
timeunit 10s; timeprecision 1s;
initial begin
#1;
if ($time != 1) $stop;
repeat (10) #1step;
if ($time != 2) $stop;
#10;
$write("*-* All Finished *-*\n");
$finish;
end
endmodule