Comparateur binaire - Logique combinatoire

The binary comparator (or logic comparator) also known as a magnitude comparator is a combinational logic circuit that allows comparing two binary words available at its input. The binary comparator has three outputs that indicate whether the two codes are equal, whether the first code is greater than the second, or whether the first code is less than the second. One of the applications of the binary comparator is the parity bit check to detect errors in a transmitted code and which consists of comparing the received parity bit with that calculated by the recipient.