verilator/test_regress/t/t_lint_unused_iface_bad.v
2017-11-14 20:10:25 -05:00

29 lines
446 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.
interface dummy_if ();
logic sig_udrv;
logic sig_uusd;
endinterface: dummy_if
module sub
(
dummy_if dummy
);
assign dummy.sig_uusd = 1'b0 | dummy.sig_udrv;
endmodule
module t (/*AUTOARG*/);
dummy_if dummy ();
sub sub
(.dummy(dummy)
);
endmodule