mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
22 lines
413 B
Verilog
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
|