Unused inputs done wrong make CMOS misbehave and TTL noise prone. This page gives the correct tie for AND OR and their inverted forms.
Tie unused inputs of AND or NAND high, because AND outputs 0 on any 0, so a 1 does not matter; tie unused OR or NOR inputs low, because OR outputs 1 on any 1, so a 0 does not matter. Never float them, especially in CMOS where the level is undefined and noise flips it and even raises power.
You may parallel the unused input to an used one of the same gate to save routing, or pull it to VCC through 1 to 10 k (safe for both families), or tie directly to VCC or ground only when clean and same voltage. CMOS must have a definite level; TTL floats high but is noise prone, so pull up too. Treat every extra input of a multi input gate, none left.
| Gate | Tie to | Why |
|---|---|---|
| AND NAND | high | 0 forces 0 |
| OR NOR | low | 1 forces 1 |
| CMOS | definite | no float |
| TTL | pull up | noise |
| Method | parallel pull | save wire |
| Wrong | ground on AND | locks 0 |
Tie AND or NAND unused inputs high and OR or NOR low; CMOS must never float, pull up or parallel. Do not ground an AND input (locks 0) or raise an OR input (locks 1). Use 1 to 10 k pull up and handle unused pins even in fast circuits to cut input capacitance.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital handling per GB/T 4728; control to GB/T 5226.1 and IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.