verilator/test_regress/t/t_inst_missing_bad.v
2020-03-21 11:24:24 -04:00

15 lines
445 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2012 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t (/*AUTOARG*/);
wire ok = 1'b0;
sub sub (.ok(ok), , .nc());
endmodule
module sub (input ok, input none, input nc, input missing);
initial if (ok && none && nc && missing) begin end // No unused warning
endmodule