EveryCircuit
Contact
Reviews
Home
eekee
modified 8 years ago

2-fet xor

7
5
222
03:07:01
simple xor-type circuits which rely on their inputs to source/sink current. the p-channel one is straight-forward: both inputs 0 -> no power. both inputs 1 -> both transistors turned off. otherwise, one transistor can pass power. the n-channel one could be considered xnor because it pulls down when on. it depends how you use it. the width of all the transistors was increased to pass enough current for the leds.
published 8 years ago
roops1967
8 years ago
Nice
eekee
8 years ago
thanks roops!
2ctiby
8 years ago
With a XNOR the output is high (ie current flowing to light the lamp) when both input switches are in a similar state, whether that be both input switches in the on state or both input switches in the off state. For both of these cases here, there is no such high output when both input switches are in a similar state .... so both of these here are XOR with reference to the high output current for the lamp, which is the object here. (correct me if I am wrong).
eekee
8 years ago
@2ctiby: That's what I was thinking, yes. @Bushmills: "The state of the output" can mean either voltage or current flow, depending on what you need. You're assuming only voltage applies, which is the normal case for digital logic, but when you want a gate-like feature in a mostly non-digital circuit then current may be useful instead.
eekee
8 years ago
@Bushmills: No, I wouldn't call it that because it's made to be an inverter. Hmm... I think we're seeing this differently because I'm not thinking of these as real gates, just gate-like things for use in circuits which aren't really digital. Also these things are switches, the actual voltage at their output depends primarily on other components. They're only capable of pulling to one power rail. Logic gates are designed to put out specific voltages corresponding to 1 and 0. In these, the nearest thing to those voltages is whether or not the current is flowing.

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy