verilator/test_regress/t/t_inst_missing.v

23 lines
633 B
Systemverilog
Raw Normal View History

2013-02-02 22:52:08 +01:00
// 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
2013-02-02 22:52:08 +01:00
module t;
2013-02-02 22:52:08 +01:00
wire ok = 1'b0;
// verilator lint_off UNDRIVEN
wire nc;
// verilator lint_on UNDRIVEN
2013-02-02 22:52:08 +01:00
// verilator lint_off PINNOCONNECT
2014-03-28 02:36:52 +01:00
// verilator lint_off PINCONNECTEMPTY
sub sub (ok, , nc);
2014-03-28 02:36:52 +01:00
// verilator lint_on PINCONNECTEMPTY
2013-02-02 22:52:08 +01:00
// verilator lint_on PINNOCONNECT
endmodule
2014-03-28 02:36:52 +01:00
module sub (input ok, input none, input nc);
initial if (ok && none && nc) begin end // No unused warning
2013-02-02 22:52:08 +01:00
endmodule