Administrator
|
This post was updated on .
In the real world a logic HI (which is usually, but not always, the same as a logic True -- there's what is called "positive logic" and "negative logic") is obtained by tying the input directly (or via a pullup resistor or transistor) to the positive supply voltage, while a logic LO is obtained by tying the input (again, often through a pulldown device) to the negative supply voltage (often called 'ground' or 'common').
In CMOS technology, which is the dominant technology today, you do NOT leave inputs floating. This can result in the internal devices becoming indeterminate and turning on both the pull-hi and the pull-lo outputs at the same time, resulting in high currents that can quickly destroy the chip. In the older TTL logic, an unconnected input was actually pulled HI internally by the nature of how the circuit was implemented, though it's generally considered poor design practice to rely on this as unconnected inputs act like noise antennas and if there's enough electrical noise in the vicinity it can overcome the weak pullup action and cause erratic behavior.
|