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