Build an XOR gate from AND/NOT

circuit-designdigital-logiclogic-gates

is the following a legitimate way to create an xor gate?

schematic

simulate this circuit – Schematic created using CircuitLab

The AND with the two NOT inputs would be a NOR, but I'm seeing with just two gates — AND + NOT — if the below is a valid way to build an XOR gate or if I'm missing something. The above would eventually decompose into:

schematic

simulate this circuit

Best Answer

Yes, that's a legitimate way with AND gates.

NAND or NOR gates are usually the primitives available so an XOR would be built from those in practice.

Related Topic