How to make an XOR gate using an OR gate?

I want XOR gateways to use OR gate.I tried, but I have to use an extra NOT gate to create XOR gates. Is it possible to make an XOR gate using only an OR gate? If so, how can I do this? please help. thanks in advance.

+4
source share
2 answers

The AND and OR functions are "monotonic." By definition, this means that if you start with any setting of the input bits, then change one of the input bits from zero to one, the output can either remain unchanged or change from zero to one; he can never change from one to zero. You can prove it from the truth tables.

The composition of monotonic functions is a monotonic function. It is also easy to prove.

XOR is not a monotonous function. (Consider the binary input XOR, in which both inputs are equal to one, then change one to zero.)

Therefore, it is impossible to do what you ask.

+3
source

There is no SoP or PoS equation that allows you to perform XOR only with OR strings; A minimum of 3 (non-XOR / XNOR) shutters are required, including at least one inversion.

+1
source

Source: https://habr.com/ru/post/1491710/


All Articles