Help me design a combinational circuit hat compares two 4-bit numbers

Status
Not open for further replies.

fm_com_28

Full Member level 1
Joined
Feb 2, 2006
Messages
99
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,288
Location
Fayoum, Egypt
Activity points
1,916
Dear,
I want to design a combinational circuit hat compares two 4-bit numbers to check if they are equal. The circuit output is equal to 1 if the two numbers are equal and 0 otherwise.
 

Comparator

Code:
Dear, 
I want to design a combinational circuit hat compares two 4-bit numbers to check if they are equal. The circuit output is equal to 1 if the two numbers are equal and 0 otherwise.

u can use 4 XOR gate and combine all the four output of xor gates in a 4 input NOR gate and the output of this NOR gate is the required output.

Added after 55 seconds:

IF u need Schematic we can post that also but first try your self.....
 

    fm_com_28

    Points: 2
    Helpful Answer Positive Rating
Re: Comparator

Hi fm_com_28,

You could use a 74(XX)85 circuit, it's a 4 bit magnitude comparator,
no need to design a custom circuit.
Just connect your two four bit numbers to A0 . . . A3 and B0 . . .B3. Don't
forget to make the "A smaller than B" and the "A larger than B" cascade
inputs logical "0" and the "A equals B" cascade input logical "1".
There are three outputs: A greater than B, A = B and A smaller than B.

on1aag.
 

Re: Comparator

Yes nikhilele i need the schematic plase.I also need the software you use to draw logic schematics.
 

Re: Comparator

u can use ic compartor
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…