u can design xor by giving the select line of mux as B input of xor and input at '0' pin of mux as A and input at '1' as Abar. Then the complete design is xor using 2:1 mux
A XOR B = A/B +/AB
SEL LINE==A
FOR 0 INPUT GIVE B;(Abar B when a=0 means Abar we should have B so /A.B)
FOR 1 INPUT GIVE /B (ABbar when a=1 means A we should have /B so A/B)
Added after 12 minutes:
Hi, research_vlsi
I too getting the same 5 mux
1 for generating c+d
2 for generating b+c+d
3 for w
4 for x
5 for y
If u get in another way please inform me
research_vlsi
wht u hav drawn is 1 mux and 1 not gate. but when u implement not gate in mux then it is 1 mux. thus, total no. of mux = "2".
i hope u got it. im attaching the diagram.