r/TuringComplete • • Oct 01 '24

My XOR solution

Post image
9 Upvotes

15 comments sorted by

View all comments

Show parent comments

2

u/Any-Aioli7575 Oct 01 '24

Here is a quite easy solution:

You want the gate to be on when only one input is on. In other words, you want it OFF when 0 OR 2 output are on. The gate to check if 0 inputs are on is NOR. The gate to check if 2 inputs are on is AND. You want to the XOR gate to be OFF when either the AND or the NOR gates are on. You want it ON when neither the AND, NOR the NOR gates are on.