Different ways of implementing a comparator?

Answer Posted / rohit jain

If we are talking about the Digital Comparator which
compares two binary digits (1 & 0) than we can implement
using a multiplexer.

Here A and B are the select lines of mux.
suppose A>B--------o/p=a1 (A,B)=(1,0)
A<B--------o/p=a2 (A,B)=(0,1)
A=B--------o/p=a3 (A,B)=(1,1) (0,0)

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have a driver that drives a long signal & connects to an input device. At the input device there is either overshoot, undershoot or signal threshold violations, what can be done to correct this problem?

2181


For a single computer processor computer system, what is the purpose of a processor cache and describe its operation?

1854


What is the function of chain reordering?

616


Explain the Charge Sharing problem while sampling data from a Bus?

4178


What is the difference between the mealy and moore state machine?

589






Draw a 6-T SRAM Cell and explain the Read and Write operations

799


Are you familiar with the term MESI?

2115


What work have you done on full chip Clock and Power distribution? What process technology and budgets were used?

2356


Explain why is the number of gate inputs to cmos gates usually limited to four?

1019


What is Charge Sharing? Explain the Charge Sharing problem while sampling data from a Bus

787


Describe a finite state machine that will detect three consecutive coin tosses (of one coin) that results in heads.

2315


Explain about 6-T XOR gate?

729


Explain how Verilog is different to normal programming language?

682


Draw the timing diagram for a SRAM Read. What happens if we delay the enabling of Clock signal?

673


Write a program to explain the comparator?

677