forked from github/verilator
22 lines
413 B
Systemverilog
22 lines
413 B
Systemverilog
|
// DESCRIPTION: Verilator: Verilog Test module
|
||
|
//
|
||
|
// This file ONLY is placed into the Public Domain, for any use,
|
||
|
// without warranty, 2018 by Alex Solomatnikov
|
||
|
|
||
|
module t;
|
||
|
sub #(.REAL(2.0)) sub;
|
||
|
endmodule
|
||
|
|
||
|
module sub ();
|
||
|
timeunit 1ns;
|
||
|
timeprecision 1ps;
|
||
|
|
||
|
parameter REAL = 0.0;
|
||
|
|
||
|
initial begin
|
||
|
$display("REAL %g", REAL);
|
||
|
$write("*-* All Finished *-*\n");
|
||
|
$finish;
|
||
|
end
|
||
|
endmodule
|