Design a XOR gate (xor_gate) using basic gates (and_gate, or_gate, not_gate).
xor_gate
and_gate
or_gate
not_gate
Requirements
a, b
y
Notes
^
Use the Boolean equation for XOR: y=(a⋅b')+(a'⋅b)
y=(a⋅b')+(a'⋅b)
Truth Table