verilator/test_regress/t/t_genvar_misuse_bad.v
2012-03-09 19:35:37 -05:00

18 lines
331 B
Verilog

// 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
);
genvar i;
assign q[i] = d[i];
endmodule