answersLogoWhite

0


Best Answer

Given two inputs, A and B. Use one NAND as an inverter (one source to both inputs) for A.

Do the same for B. Use one NAND gate with inputs \A (not A, the output from the first gate) and B.

Use one NAND gate with inputs A and \B. Use one last NAND gate with inputs coming from the two previous gates. Its output will behave like an XOR gate.

Alternatively: Gates G1, G2, G3, G4, arrange in a diamond with G1 and G4 at the left and right vertices, A input along top edge, B input along bottom edge. G2 at top center, G3 at bottom center. A goes to G1 and G2, B goes to G1 and G3, G2 and G3 go to G4.

Net list: A - G1i1 A - G2I1 B - G1i2 B - G3I2 G1o - G2i2 G1o - G3i1 G2o - G4i1 G3o - G4i2 G4o - A^B

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Draw XOR using NAND gate
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you make a nand gate using xor gate?

XORing X with 1 gives X', i.e., NOT(X). If we are able to construct a NAND (AND) using XOR, we can also obtain AND (NAND) from it, which makes XOR a universal gate since inverted inputs to a NAND (AND) will give OR (NOR). However XOR is not a universal gate! Therefore we cannot obtain NAND (AND) using XOR. :-) By, Tirtha Sarathi Ghosh Class 10 IIT Kanpur Aspirant


Is xor gate is a universal gate?

No, XOR gate is a not a universal gate. There are basically two universal gates NAND and NOR.


Full subtractor circuit using x-or gate?

To make a full subtractor, you need an XOR and a NAND gate.


Why XOR and XNOR gate is not known as universal gates?

All other logic gates can be made using XOR and XNOR, but to get NOT, you need to do (input) XOR 1 or (input) XNOR 0, but with NAND, you don't need 1: (input) NAND (input).


Design 4 input xor gate using 2 input nand gate in verilog hdl?

Its possible to design a 4-i/p xor gate using only 2-i/p nand gates Although the design turns out to be quite complex and comprises of 21 NAND gates : F = (A'B+AB')(C'D'+CD) + (A'B'+AB)(C'D+CD') Above given equation is the o/p equation for the circuit .


How many minimum number of nand gates are required to realize xor gates?

As such an OR gate should do the job...but if the question is of using gates other than the simple OR, it should be a combo of NOR and NOT gates; where-in, the NOT gate comes after the NOR gate. Factfully speaking: The output of a NOR gate when fed to a NOT gate shall give you an OR gate. cheers :) Anish Murthy Airpula, RF Design Engineer (F.A.E) Ceramic & Microwave Products Group, Dover Corporation Inc, United States of America


How many gates you can make using universal gates?

Seven gates, they are: not, and, or, nor, nand, xor, xnor.


Why XOR gate and XNOR gate are not universial gate?

xor and xnor gates are derived from not gate


Is xor gate is derived gate?

yes... xor is derived gate from primary gates


Draw the logic circuit for a haly adder using nand gates only?

____ ____ c ----->|xor |------------> s a ->|xor |-+------------>|____| b ->|____| | _____ _____ +--->|nand |------>|nand |--> c c ----->|_____| +-->|_____| _____ | a ----->|nand |--+ b ----->|_____|


Can you design or gate using xor gate?

No. OR is not functionally complete, so you can not use it to derive any other logical expression. The reason for this is because you can only construct the following expressions out of only OR gates: A OR B A OR A Because of the Idempotency theorem, A OR A simply reduces to A, so we are left with A OR B, which we can not use to derive any other logical circuits. At the very least, we would also need a NOT gate. This is why NOR and NAND are functionally complete: you can derive a NOT gate by using A NAND A or A NOR A.


Can you design xor gate using or gate?

No. OR is not functionally complete, so you can not use it to derive any other logical expression. The reason for this is because you can only construct the following expressions out of only OR gates: A OR B A OR A Because of the Idempotency theorem, A OR A simply reduces to A, so we are left with A OR B, which we can not use to derive any other logical circuits. At the very least, we would also need a NOT gate. This is why NOR and NAND are functionally complete: you can derive a NOT gate by using A NAND A or A NOR A.