mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
24 lines
481 B
Coq
24 lines
481 B
Coq
|
// DESCRIPTION: Verilator: Verilog Test module
|
||
|
//
|
||
|
// This file ONLY is placed into the Public Domain, for any use,
|
||
|
// without warranty, 2017 by Wilson Snyder.
|
||
|
|
||
|
module t (/*AUTOARG*/
|
||
|
// Outputs
|
||
|
value
|
||
|
);
|
||
|
|
||
|
output reg [63:0] value;
|
||
|
|
||
|
initial begin
|
||
|
`ifdef VERILATOR
|
||
|
// Default is all ones, so we assume that here
|
||
|
if (value != '0) $stop;
|
||
|
`else
|
||
|
if (value != {64{1'bx}}) $stop;
|
||
|
`endif
|
||
|
$write("*-* All Finished *-*\n");
|
||
|
$finish;
|
||
|
end
|
||
|
endmodule
|