aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/gen_if_null.v
blob: a12ac6288689194f412fb2f0f63e14afc3a32e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module test(x, y, z);
	localparam OFF = 0;
	generate
		if (OFF) ;
		else input x;
		if (!OFF) input y;
		else ;
		if (OFF) ;
		else ;
		if (OFF) ;
		input z;
	endgenerate
endmodule