You are on page 1of 10

About the Experiment

This experiment enables a student to learn

How to realize the functionality of IC 7485 which is used to compare magnitudes of


two binary numbers.

How to realize an eight bit magnitude comparator by cascading two comparator (one
is lower nibble comparator,another is higher nibble comparator)

Aim of the Experiment

The objective of Part 1 of the experiment is to fully understand the functionality of 4 bit
magnitude comparator using 3485 IC and to show how the comparator output changes
according to input combinations of two 4 bit binary numbers.
The objective of Part 2 of the experiment is to understand the functionality of 8bit magnitude
comparator by cascading two four bit magnitude comparator.

IC 7485 is used to compare magnitude of two binary numbers .The two 4-bit numbers are
applied at the inputs A3,A2,A1,A0 and B3,B2,B1,B0 Where A3 and B3 are the most
significant bits of the two 4-bit operands to be Compared.The Three cascading inputs (A =
B)IN,
(A < B)IN and (A > B)IN should be connected to logic '1'(HIGH),logic '0'(LOW) and logic
'0'(LOW) respectively.The Three outputs (A > B)OUT,
(A = B)OUT and (A < B)OUT will reflect the results of comparing the two 4-Bit numbers
A=A3A2A1A0 and B=B3B2B1B0.

Figure 1
The students of virtual DEC Laboratory can verify the functionality of the 7485 chip fully
rather than testing for a total of 28=256 inputs,the students can observe the outputs listed in
the compressed function table given below.

Figure 2
Part II
Implement an 8-bit magnitude comparator using two 7485 chips.Let A= A7...A0 and B=
B7...B0 be the two 8-bit numbers.Note that no external gates are required. The three outputs

of the 7485 comparing the lower nibbles , viz (A > B)OUT,(A = B)OUT and (A < B)OUT are
connected to the corresponding cascading inputs of the 7485 used to compare the higher
nibbles.Final results of comparison are obtained at the(A > B)OUT,(A = B)OUT and (A < B)OUT
terminals the higher nibble comparator.

NOTE :

To perform this experiment,it is compulsary always to keep Vcc ON, GND OFF, (A =
B)IN High, (A < B)IN Low and
(A > B)IN Low.

o 1. At first go through the structure of 7485. Then apply high level voltage to
A3 and low level voltage to B3.

o 2. Next, apply high level voltage to B3 and low level voltage to A3.

o 3. Next, apply high level voltage to A2 and low level voltage to B2 and keep
same voltage level to A3 & B3 (Either High or Low)

o 4. Next, apply high level voltage to B2 and low level voltage to A2 and keep
same voltage level to A3 & B3 (Either High or Low)

o 5. Next, apply high level voltage to A1 and low level voltage to B1 and keep
same voltage level to A3, B3, A2 and B2 (Either High or Low)

o 6. Next, apply high level voltage to B1 and low level voltage to A1 and keep
same voltage level to A3, B3, A2 and B2 (Either High or Low)

o 7. Next, apply high level voltage to A0 and low level voltage to B0 and keep
same voltage level to A3, B3, A2, B2, A1 and B1 (Either High or Low)

o 8. Next, apply high level voltage to B0 and low level voltage to A0 and keep
same voltage level to A3, B3, A2, B2, A1 and B1 (Either High or Low)

o 9. Next, apply Same level voltage to A0, B0, A3, B3, A2, B2, A1 and B1
(Either High or Low)

You might also like