2 Bit Magnitude Comparator Using Decoder. 2 bit magnitude comparator 2 bit magnitude comparator compares two numbers each having two bits a1 a0 b1 b0. It is also reported how we simplified the design to use the least number of ics.
Monday 15 july 2013. I output g when a b ii output e when a b iii output l when a b. 4 decoder design using logical gates data flow modeling style.
To design this comparator will use a 4 16 decoder to produce the required output.
The output of the comparator is zero if both 2 bit inputs are equal otherwise the right bit is one if the first input is greater than the second input and the left bit is one if the second input is greater than the first input. It consists of four inputs and three outputs to generate less than equal to and greater than between two binary numbers. Design had been successfully tested by proteus simulation software. Similarly we can have a 2 bit comparator and the table to list all the combinations at the input and their.
