Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

hi hi,

u may also make use of this folowing diagram:

24_1159891914.GIF


the software... u may use altera quartus II (free web edition software), u may download the software through the altera website as:

https://www.altera.com/products/software/products/quartus2web/sof-quarwebmain.html

i hope these may help u...


regards,

hippoo
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top