4 wire width 12 input 0 \A
5 wire width 2 input 1 \S
6 wire width 6 output 2 \Y
11 connect \A { \A [11:10] \A [3:2] \A [10:9] \A [7] \A [7] \A [8] \A [2] \A [7:6] \A [5] \A [5] \A [3:2] \A [5:4] \A [1] \A [1] \A [3:0] }
19 equiv_opt -assert opt_reduce -fine
21 select -assert-count 1 t:$bmux r:WIDTH=4 %i
28 wire width 6 input 0 \A
29 wire width 2 input 1 \S
30 wire width 6 output 2 \Y
35 connect \A { \A [5:0] \A [5:0] \A [5:0] \A [5:0] }
43 equiv_opt -assert opt_reduce -fine
45 select -assert-count 0 t:$bmux
52 wire width 160 input 0 \A
53 wire width 2 input 1 \S
54 wire width 5 output 2 \Y
60 connect \S { \S [1] 1'1 \S [0] \S [1] 1'0 }
67 equiv_opt -assert opt_reduce -fine
69 select -assert-count 1 t:$bmux r:S_WIDTH=2 %i
76 wire width 10 input 0 \A
78 wire width 5 output 2 \Y
91 equiv_opt -assert opt_reduce -fine
93 select -assert-count 0 t:$bmux
94 select -assert-count 1 t:$mux
101 wire width 5 input 0 \A
102 wire width 5 output 1 \Y
115 equiv_opt -assert opt_reduce -fine
117 select -assert-count 0 t:$bmux