EveryCircuit
Contact
Reviews
Home
magnatrout
modified 4 years ago

Logic Gates - Pullup Resistor Inverted Inputs

0
1
126
01:03:33
The problem with using one-way switches to activate CMOS ICs is that floating inputs wreak havoc on CMOS circuits via shoot-through current. Depending on available parts, one solution is to use pullup resistors. This method inverts the inputs of the logic gates while forcing the input to be either HIGH or LOW - no floating values. This schematic uses a NOR to simulate an AND (upper left), a NAND to simulate an OR (upper right), an AND to simulate a NOR (bottom left), and an OR to simulate a NAND (bottom right).
published 4 years ago
HIGreg
4 years ago
This is a really good demonstration of De Morgan's theorem: a gate is equivalent to inverting inputs, output, and changing the gate between AND and OR. This can be done by physically changing the inputs, ouput, and gate. Or it can be done "in your mind." This mental trick can help reduce chip count if you're ever in a situation to implement a gate or two with a quad NAND chip. If you find yourself with signals where 0v is a logical 1, then using the "opposite gate" is useful too. This is one reason that NAND and NOR are considered the universal gates: with only NANDs (or only NORs) you can implement inverters, NAND, NOR, AND, and OR gates. De Morgan's Theorem comes in handy!

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