proc_arst: Add special-casing of clock signal in conditionals.
[yosys.git] / tests / opt / opt_lut_port.il
1 module $1
2 wire width 4 input 2 \_0_
3 wire output 4 \_1_
4 wire input 3 \_2_
5 wire output 1 \o
6 cell $lut \_3_
7 parameter \LUT 16'0011000000000011
8 parameter \WIDTH 4
9 connect \A { \_0_ [3] \o 2'00 }
10 connect \Y \_1_
11 end
12 cell $lut \_4_
13 parameter \LUT 4'0001
14 parameter \WIDTH 4
15 connect \A { 3'000 \_2_ }
16 connect \Y \o
17 end
18 end