verilator/test_regress/t/t_flag_xinitial_0.v
2017-10-01 21:31:40 -04:00

24 lines
481 B
Verilog

// 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