verilator/test_regress/t/t_math_real_public.v

22 lines
413 B
Verilog

// 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