forked from github/verilator
25 lines
498 B
Systemverilog
25 lines
498 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under The Creative Commons Public Domain, for
|
|
// any use, without warranty, 2020 by Wilson Snyder.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t;
|
|
sub sub();
|
|
initial begin
|
|
$write("t: ");
|
|
$printtimescale;
|
|
sub.pts();
|
|
$write("*-* All Finished *-*\n");
|
|
$finish;
|
|
end
|
|
endmodule
|
|
|
|
`timescale 1s/1s
|
|
module sub;
|
|
task pts;
|
|
$write("sub: ");
|
|
$printtimescale;
|
|
endtask
|
|
endmodule
|