mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
25b9a16bc7
Signed-off-by: Krzysztof Bieganski <kbieganski@antmicro.com>
20 lines
410 B
Systemverilog
20 lines
410 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2024 by Antmicro.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t;
|
|
logic x;
|
|
sub s(x);
|
|
initial #1 x = 1;
|
|
endmodule
|
|
|
|
module sub(input x);
|
|
initial fork begin
|
|
@x;
|
|
$write("*-* All Finished *-*\n");
|
|
$finish;
|
|
end join_any
|
|
endmodule
|