Hi guys! Im also new here. I have been searching the net for a schematic diagram of an XOR gate (TTL and CMOS) but I could not find any. Help Please.
Ive seen the discussion about the logic gates but the XOR gate schematic was not included.

Does it look like an OR gate? How do I make them a pull-up and a pull-down? Where do I place the resistors?

Click to expand...

Sorry, I misread the question, you want exclusivity (not least my previous description was for NOR, and you above diagram correct puts the inverter on the back end to make it non-negating).

XOR in CMOS is little more tricky. For two-inputs (because it is easiest to explain this way) you need two pMOS pull-up paths to Vdd and two nMOS pull-down paths to ground:

The two pMOS pull-up paths to Vdd are:

1) Series-transistors gate driven by A and NOT(A).

2) Series-transistors gate driven by B and NOT(B).

The two nMOS pull-down paths to Ground are:

1) Series-transistors gate driven by A and B.

2) Series-transistors gate driven by NOT(A) and NOT(B).

If you draw the circuit and plot the truth table the output is XOR. There would be a slight change on the pull-downs of XNOR. Let me know if the layout isn't clear, or draw it up and upload it so I can check the layout.

See the attached for one way to do it.
The schematic on top is a single CMOS NAND gate, 4011.

By combining four NAND gates as in the lower diagram, you will have an XOR gate.

This approach may be somewhat more complex, but using NAND gates has the advantage of flexibility; you can combine NANDs to create any other logic gate. Once you've perfected building NANDs, you have a very useful basic logic gate.

I designed this XOR gate using the instructions I found here. I know there's still a lot of things that needs to be sorted out before I could call this one a FUNCTIONING XOR gate, so help please!
oh, and thnx guys for all the help!!!