Look at the truth table. The result x=y can only be equal to 1 if the inputs x and y are identical.
Truth table of a 1-bit identity comparator. |
![]() Circuit diagram of a 1-bit identity comparator. |
![]() Circuit of a 1-bit identity comparator. (Enlarge) |
This logical combination certainly sounds familiar to you. It corresponds to the XNOR logic. With a simple basic gate you are able to set up a 1-bit identity comparator. You build the circuit with only one of the four XNOR gates on the C-MOS IC 4077. You want to compare two 2-bit numbers...? |