Electrical – Finding the SOP expression for the XOR gate and the circuit for it

digital-logiclogic-gates

Would the sum of products expression look like so:
\$\overline{A}\cdot B+A\cdot\overline{B}=Z\$ ? And the corresponding circuit should look like so? enter image description here

Sorry for the bad drawing. I'm just wondering if this is how this concept works, but surprisingly this is not in any obvious google results.

Thanks for any help!

Best Answer

Your circuit diagram is correct.

Side note however, if you're designing logical transistors (i.e. CMOS logic), then you are able to reduce the amount of transistors it will take to produce an XOR gate. The amount you have above would take 16 NMOS and PMOS transistors. However, I contend that you can reduce this down to 10.