Any gate i can substitute to xor gate?

  • Thread starter Thread starter chrisalviola
  • Start date Start date
  • Tags Tags
    Gate
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 15K views
chrisalviola
Messages
80
Reaction score
0
any gate i can substitute to xor gate?
if i don't have xor gate what gate i can use to substitute it?
 
Physics news on Phys.org
chrisalviola said:
any gate i can substitute to xor gate?
if i don't have xor gate what gate i can use to substitute it?

define xor with a truth table.
 
mgb_phys said:
If this is homework - what is XOR in boolean algebra ?

In practical terms you can build any logic out of either NAND or NOR, most chips only implement one of these.

nope not a homework
i want to make a binary adder cuircuit i don't have an xor gate only and, or & not.
 
rootx said:
define xor with a truth table.

0 0 -0
0 1-1
1 0-1
1 1-0
 
chrisalviola said:
0 0 -0
0 1-1
1 0-1
1 1-0

xor = not(a).b + a.not(b)

I also thought this is a homework problem. You can easily get this into and/or gates. If there are more than 2 inputs, you should be using k-maps. Once, you have in and/or gates, it is simple to convert it into nand (using Sum of products form) or nors (using products of sums or simply messing with bool algebra...)
 
problem solved

http://www.play-hookey.com/digital/xor_function.html
 
Last edited by a moderator:
rootX said:
xor = not(a).b + a.not(b)

I also thought this is a homework problem. You can easily get this into and/or gates. If there are more than 2 inputs, you should be using k-maps. Once, you have in and/or gates, it is simple to convert it into nand (using Sum of products form) or nors (using products of sums or simply messing with bool algebra...)
tnks