0
23kviews
Design a 2-bit digital comparator that accepts inputs A and B and gives three outputs G,E and L. i) Output G, when A>B ii) Output E, when A=B iii) Output L, when A<B

Mumbai University > COMPS > Sem 3 > Digital Logic Design and Analysis

Marks: 10 M

Year: June 2014

1 Answer
2
2.4kviews

A 2-bit digital comparator will compare A1, A0 bits of input A with B1, B0 bits of input B resp. to design this comparator will use a 4:16 decoder to produce the required output. The truth table for designing the comparator is as below:

1) Truth Table:

enter image description here

2) Logic Circuit:

enter image description here

Please log in to add an answer.