SCLS251J October 1995 – August 2024 SN54AHC240 , SN74AHC240
PRODMIX
Refer to the PDF data sheet for device specific package drawings
When using multiple bit logic devices inputs should never float.
In many cases, functions or parts of functions of digital logic devices are unused (for example, when only two inputs of a triple-input AND gate are used or only 3 of the 4 buffer gates are used). Such input pins should not be left unconnected because the undefined voltages at the outside connections result in undefined operational states. The following rules specify what must be observed under all circumstances.
All unused inputs of digital logic devices must be connected to a high or low bias to prevent them from floating. The logic level that should be applied to any particular unused input depends on the function of the device. Generally they will be tied to GND or VCC whichever makes more sense or is more convenient. It is generally okay to float outputs unless the part is a transceiver. If the transceiver has an output enable pin, then it will disable the outputs section of the part when asserted. This does not disable the input section of the IOs, so they cannot float when disabled.