verilator/test_regress/t/t_lint_implicit_def_bad.v

28 lines
493 B
Systemverilog
Raw Normal View History

2010-02-23 14:27:16 +00:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2008 by Wilson Snyder.
module t (a,z);
input a;
output z;
2019-12-15 03:04:58 +00:00
sub sub ();
2010-02-23 14:27:16 +00:00
assign imp_warn = 1'b1;
// verilator lint_off IMPLICIT
assign imp_ok = 1'b1;
`default_nettype none
assign imp_err = 1'b1;
`default_nettype wire
assign imp_ok2 = 1'b1;
2019-12-15 03:04:58 +00:00
endmodule
2010-02-23 14:27:16 +00:00
`default_nettype none
`resetall
2019-12-15 03:04:58 +00:00
module sub;
2010-02-23 14:27:16 +00:00
assign imp_ok3 = 1'b1;
endmodule