aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple/ifdef_2.v
blob: 9fae7570d3497418294207f315a1ec4fdcfdeb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module ifdef_2_top(o1, o2, o3);

output wire o1;

`define COND_1
`define COND_2
`define COND_3

`ifdef COND_1
	output wire o2;
`elsif COND_2
	input wire dne1;
`elsif COND_3
	input wire dne2;
`else
	input wire dne3;
`endif

output wire o3;

endmodule