 9 out of 10 based on 190 ratings. 3,039 user reviews.

# 4 BIT MAGNITUDE COMPARATOR TRUTH TABLE AND LOGIC DIAGRAM Digital Comparator and Magnitude Comparator
Jul 07, 2015The figure below shows the block diagram of a single bit magnitude comparator. This comparator compares the two bits and produces one of the 3 outputs as L (A<B), E (A=B) and G (A>B). The truth table for the single bit comparator is given below. When A0 B0 = 00 & 11, both inputs are equal, therefore A=B output will be high.
Comparator - Designing 1-bit, 2-bit and 4-bit comparators
How to Design A Simple 1-Bit Comparator?How to Design A 2-Bit Comparator?How to Design A 4–Bit Comparator?How Do I Remember this?A 1-bit comparator compares two single bits’s apply a shortcut to find the equations for each of the cases. Normally, we can use a K-map. But this shortcut is efficient and handy when you understand it A>B, there is only one case when the output is high when A=1 and B=0. Let’s call this X. We can write the equation as followsX(which stands for A>B) = AB’Similarly, denote A<B with Y and A=B with Ze Y is high when A=0 and B=1, we get the following equationY = A’BSince Z is high in..See more on technobyteAuthor: Wwwbook/Umairhussaini                                              