verilator/test_regress/t/t_genvar_misuse_bad.v

17 lines
341 B
Coq
Raw Normal View History

2012-03-10 00:34:02 +00:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2012 by Wilson Snyder.
// See bug408
module top
(
output logic [1:0] q,
input logic [1:0] d,
input logic clk
2012-03-10 00:34:02 +00:00
);
genvar i;
assign q[i] = d[i];
2012-03-10 00:34:02 +00:00
endmodule