Well it say only using 2 muxes. So it's not allowed to use XOR.
The alternate can be:
Mux1: (sel = B; in1=0; in2=1)
Mux2: (sel = A; in1 = B; in2=mux1_out)
1
Utilisateur anonyme
9 août 2012
Mux with input ports A and B, and control C, where C=0 selects A for output and C=1 selects B for output.
Mux1: connect 1 to A, 0 to B, XOR INPUT1 to C
Mux2: connect XOR INPUT1 to A, mux1 output to B, and XOR INPUT2 to C
done.