Implementation of 4-bit digital comparator using MSI ICs
IC 74LS85 is a four-bit magnitude comparator that compares Binary Numbers. It checks whether a 4-bit binary number A3 A2 A1 A0 is greater than, less than or equal to another 4-bit number B3 B2 B1 B0. The IC has two sets of four bit inputs to be compared and also has three cascade inputs A > B, A = B and A < B and produces three outputs A > B, A = B and A < B. These devices are fully expandable to any number of bits without external gates.