verilator/test_regress/t/t_lint_unsup_mixed.v

23 lines
349 B
Coq
Raw Normal View History

// 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 clk,
input wire a
);
integer q;
always @ (a or posedge clk)
begin
if (a)
q = 0;
else
q = q + 1;
end
endmodule