5-Magnitude Comparator Drafting and Design
5-Magnitude Comparator Drafting and Design
IA < B Pin 2
IA = B Pin 3 Pin 2 – Pin 4 is the input pins. Those pins will be only used when we need to compare the data longer than the 4-bits. These pins will receive the values from the output
pins of the previous IC to compare the next bits. Pin 2 will receive the HIGH state in case of data B is greater than data A, Pin 3 will receive the HIGH state in case of data
A and B are equal and Pin 4 will receive the HIGH state when input B is less then A. At the same time only one pin will be HIGH others will be LOW.
IA > B Pin 4
OA > B Pin 5 Pin 5 is an output pin. In the case of data, A is higher than data B the output state will be HIGH at pin 5.
OA = B Pin 6 Pin 6 is an output pin. In the case of data, A and B are equal the output state will be HIGH at pin 6.
OA < B Pin 7 Pin 7 is an output pin. In the case of data, A is less then data B the output state on pin 7 will be HIGH.
GND Pin 8 Pin 8 is a ground pin. It will use as the common ground with Power supply and other devices.
B0 Pin 9 Pin 9 will use to receive the LSB (Least Significant Bit) of the 4-bit input data B.
A0 Pin 10 Pin 10 is an input pin. It will use to receive the LSB of the 4-bit input data A.
B1 Pin 11 Pin 11 will be used as the input pin. It will receive the second LSB of 4-bit input data B.
A1 Pin 12 Pin 12 will be used as the input pin for data A. It will receive the second LSB of 4-bit input data A.
A2 Pin 13 Pin 13 will be used to receive the second bit of 4-bit input data A.
B2 Pin 14 Pin 14 will be used to receive the second bit of 4-bit input data B.
A3 Pin 15 Pin 15 will be used to receive the MSB of 4-bit input data A.
VCC Pin 16 Pin 16 will be used to give the power to the IC to make it functional.
Multisim Circuit
Activity
• Create 4-bit Comparator that will display the number inputted using
the 7-segment display and display the output “L” for less than, “G” for
greater than, and “E” for equal using 7-segment display.