verilator/test_regress/t/t_dpi_vams.v

29 lines
503 B
Coq
Raw Normal View History

2014-05-08 11:15:44 +00:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2014 by Wilson Snyder.
//`begin_keywords "VAMS-2.3"
`begin_keywords "1800+VAMS"
module t (/*AUTOARG*/
// Outputs
out,
// Inputs
in
);
input in;
wreal in;
2017-09-11 23:18:58 +00:00
output out;
wreal out;
2014-05-08 11:15:44 +00:00
import "DPI-C" context function void dpii_call(input real in, output real out);
2017-09-11 23:18:58 +00:00
initial begin
2014-05-08 11:15:44 +00:00
dpii_call(in,out);
$finish;
end
endmodule