verilator/test_regress/t/t_lint_unsup_deassign.v
2017-09-11 19:18:58 -04:00

20 lines
304 B
Verilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2016 by Wilson Snyder.
module t
(
input wire rst
);
integer q;
always @(*)
if (rst)
assign q = 0;
else
deassign q;
endmodule