mirror of
https://github.com/verilator/verilator.git
synced 2025-01-10 00:27:35 +00:00
29 lines
500 B
Coq
29 lines
500 B
Coq
|
// DESCRIPTION: Verilator: Verilog Test module
|
||
|
//
|
||
|
// This file ONLY is placed into the Public Domain, for any use,
|
||
|
// without warranty, 2011 by Wilson Snyder.
|
||
|
|
||
|
`begin_keywords "VAMS-2.3"
|
||
|
|
||
|
module t (/*autoarg*/
|
||
|
// Outputs
|
||
|
aout,
|
||
|
// Inputs
|
||
|
in
|
||
|
);
|
||
|
|
||
|
input [15:0] in;
|
||
|
output aout;
|
||
|
wreal aout;
|
||
|
|
||
|
parameter real lsb = 1;
|
||
|
// verilator lint_off WIDTH
|
||
|
assign aout = $itor(in) * lsb;
|
||
|
|
||
|
initial begin
|
||
|
$write("*-* All Finished *-*\n");
|
||
|
$finish;
|
||
|
end
|
||
|
|
||
|
endmodule
|