verilator/test_regress/t/t_inst_missing.v

33 lines
656 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.
// SPDX-FileCopyrightText: 2012 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
2013-02-02 22:52:08 +01:00
module t;
2026-03-08 23:26:40 +01:00
wire ok = 1'b0;
// verilator lint_off UNDRIVEN
wire nc;
// verilator lint_on UNDRIVEN
2026-03-08 23:26:40 +01:00
// verilator lint_off PINNOCONNECT
// verilator lint_off PINCONNECTEMPTY
sub sub (
ok
,,
nc
);
// verilator lint_on PINCONNECTEMPTY
// verilator lint_on PINNOCONNECT
2013-02-02 22:52:08 +01:00
endmodule
2026-03-08 23:26:40 +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