Any gate i can substitute to xor gate?

  • Thread starter Thread starter chrisalviola
  • Start date Start date
  • Tags Tags
    Gate
Click For Summary

Discussion Overview

The discussion revolves around the question of substituting an XOR gate with other logic gates, particularly in the context of building a binary adder circuit. Participants explore various approaches and definitions related to XOR in Boolean algebra.

Discussion Character

  • Technical explanation, Conceptual clarification, Homework-related, Debate/contested

Main Points Raised

  • Some participants inquire about the definition of XOR in Boolean algebra and request a truth table for clarification.
  • Others suggest that any logic gate can be constructed using NAND or NOR gates, which are commonly implemented in chips.
  • One participant provides a truth table for XOR and expresses the need to create a binary adder circuit without an XOR gate, only having AND, OR, and NOT gates available.
  • Another participant presents the expression for XOR using AND and NOT operations: xor = not(a).b + a.not(b), and discusses how to convert this into AND/OR gates.
  • A later reply proposes an alternative expression for XOR: A or B and not(A and B).

Areas of Agreement / Disagreement

Participants express differing views on how to substitute an XOR gate, with some suggesting specific methods while others provide alternative expressions. The discussion does not reach a consensus on a single substitution method.

Contextual Notes

Some participants assume familiarity with Boolean algebra and K-maps, while others focus on practical circuit design. The discussion includes various interpretations of how to implement XOR functionality without directly using an XOR gate.

Who May Find This Useful

This discussion may be useful for individuals interested in digital logic design, circuit construction, and Boolean algebra, particularly those looking for alternatives to standard logic gates.

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?
 
Computer science news on Phys.org
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.
 
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
 
Isn't it, A or B and not( A and B)
 

Similar threads

Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 56 ·
2
Replies
56
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
80
Views
5K