# How does a NOT gate generate power? [duplicate]

I know that a NOT gate always inverts its input.

When the input is "ON" I can imagine the gate stopping the flow of current.

But how does the gate generates flow of current when the input is OFF?

Please could you explain how this happens as simply as possible, I'm new to electronics ;)

• The gate always stops the flow of current, whether the input is LOW or HIGH. The gate measures voltage, not current. Likewise, the output can drive a small amount of current, whether H or L. – endolith Aug 17 '15 at 17:59
• To oversimplify at the possible risk of being slightly erroneous: When the input is OFF, the gate doesn't stop the flow of current, so the output is ON. When the input is ON, the gate stops the flow of current, so the output is OFF. – David Schwartz Aug 17 '15 at 21:28
• Nice intuition check! I remember wondering the same thing earlier in my EE career. It didn't help that I was book-focused, rather than hands-on, and many schematics elect to omit drawing the Vcc and Gnd lines on Not gates... – Cort Ammon Aug 17 '15 at 21:29
• It doesn't. Gates are an abstraction for actual circuits, where we only draw the really important bits (and not pesky annoying things like power supplies) – user253751 Aug 17 '15 at 23:57

Logical gates are electronic circuits having their power supplies in addition to the logical IO. If you look at the ICs implementing the NOT gate, you will notice Vcc and GND pins for that purpose. On logical diagram you are not usually seeing them, because they are unnecessary for the logical description.