Categories: Digital Electronics

Magnitude Comparator

Magnitude Comparator is a combinational circuit capable of comparing the relative magnitude of two binary numbers. It is one of the two types of digital comparator.

Figure(a): Block diagram of n-bit comparator

Figure(a) shows the block diagram of n-bit magnitude comparator. It accepts two n-bit binary numbers, say A and B as inputs and produces one of the outputs: A>B, A=B and A<B.

One of the outputs will be high depending upon the relative magnitude. That is, output A>B will be high if A is greater than B, output A=B will be high if A and B are equal, and output A<B will be high if A is less than B.

Its logic behaviour is same as adder. It does not return sum or carry.

Magnitude comparators are used in central processing units and microcontrollers.

This basic circuit for a magnitude comparator can be extended for any number of bits.

Four bit magnitude comparators are very popular circuits and are commercially available.

Examples: 74HC85 and CMOS 4063. These are four bit magnitude comparators.

Logic Diagram

Figure(b): Four bit magnitude comparator

Robin

Share
Published by
Robin

Recent Posts

Hard Computing

What is hard computing? Hard computing is a traditional computing. It requires a precisely stated…

5 years ago

Soft Computing

Soft computing is a problem solving technology. It tends to fuse synergically different aspects of…

5 years ago

Cluster Computing

Cluster computing is an approach to achieve high performance, reliability or high throughput computing by…

5 years ago

Full-Subtractor

Full subtractor is a combinational circuit capable of performing subtraction on two bits namely minuend…

9 years ago

Half-Subtractor

Half-subtractor is a combinational circuit capable of subtracting a binary number from another binary number.…

9 years ago

Difference between latch and flip-flop

Latch is a flop-flop in its simplest form capable of storing binary bit 1 or…

9 years ago