verilator/test_regress/t/t_disable.v

27 lines
523 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
2023-10-16 14:02:29 +02:00
// any use, without warranty, 2023 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t;
initial begin
2023-10-16 14:02:29 +02:00
fork : foo
disable foo;
#1 $stop;
join_none
2023-10-16 14:02:29 +02:00
#2;
begin : forked
fork
disable forked;
#1 $stop;
join_none
end
#2;
$write("*-* All Finished *-*\n");
$finish;
end
endmodule