Electronic – 74HC/HCT: What to do with unused inputs and why

digital-logic

If I'm using an IC in the 74HC or 74HCT family, and I'm not using all the input pins, I understand that I should not leave them unconnected because they will float. But what exactly should I do with them, and what are the pros and cons of the different options?

For example, if I'm using the 74HCT08, which has four AND gates, and I'm only using two of the gates, what should I do with the inputs of the other two gates?

I've seen various recommendations in various places, such as…

  • connect them directly to Vcc
  • connect them directly to GND
  • connect them to Vcc through a pull-up resistor
  • connect them to GND through a pull-down resistor

What are the pros and cons of each of these options? Which option is best for stability and low power consumption?

Best Answer

There are a few considerations that have not been mentioned in other answers.

  1. Sometimes the unused input plays an important role in the logic of the part. An example would be a 4-input gate where only 3 inputs are actually used. In this case the logic level that you tie the unused input to must be selected properly or else the logic function of the used functions will not work.
  2. In some business / industrial segments it is necessary to test all functions in each part on the board even if they are not used. This is done to ensure that some nascent fault in a chip does not expose to a higher chance of catastrophic failure of the part. The addition of pull ups or pull downs on each unused pins allows automated test equipment to toggle the pins which would not be possible if they were hard tied to VDD or GND.
  3. There are cases where it is handy to keep unused gates available for possible future rework to tweak the design in the case of bugs found, need to invert or combine signals or other things. Pins hard tied to VDD and GND are very much harder to rework so added pull ups or pull downs provide access pads for the rework.