259Views5Replies

Author Options:

Would this work as an XOR logic gate? Answered

Hi, I'm new to logic gates and I am wondering if this would work as (or is) a XOR logic gate.

Discussions

L.'s reply to Sean applies to the transistor too..

In the first case, when A=0 B=0 then the output of the OR gate is 0 and the output of the NAND gate is 1, there is 5V on the base and 0 V on the collector. This is an NPN transistor, so there is a forward biased diode between +5 and 0V. Smoke.

Steve


That's a OR and a NAND?
Where are your truth tables? (that's how I figured it out...)

If this is correct, yes it should do an EX-OR. But why not connect the outputs to the same leg of the transistor?

L

lemonie, for an answer to why-not?, examine the case where a=b=0 or a=b=1. smoke


The outputs will be 1 or 0, high or low (and equally so). As semiconductors I'd expect a diode-functionality in them, so I don't see a problem myself.

L