Pergunta de entrevista da empresa Microsoft

Design an XOR gate using only two 2:1 mux.

Respostas da entrevista

Sigiloso

20 de dez. de 2014

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

Sigiloso

9 de ago. de 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.

2