0
6.7kviews
Explain the concept of comparator. Develop the truth table for 2-bit binary comparator & design it using a suitable decoder & additional gates.

Mumbai University > Computer Engineering > Sem 3 > Digital Logic Design and Analysis

Marks: 10M

Year: Dec 2015

1 Answer
0
287views

Concept of Comparator:

A comparator is a special combinational circuit designed primarily to compare the relative magnitude of two binary numbers.

Figure below shows the block diagram of an n-bit comparator.

It receives two n-bits numbers A and B as inputs and the outputs are A>B, A=B and A<b.< p="">

Depending upon the relative magnitudes of the two numbers, one of the outputs will be high.

enter image description here

2-bits binary comparator

The truth table for 2-bit binary comparator is as shown in table below: enter image description here enter image description here

K-map Simplification:

enter image description here enter image description here

Logic Diagram:

enter image description here

Please log in to add an answer.