# Can the two "high" input to a digital logic gate have different voltage values?

Suppose there is a logic gate and it has two inputs.I want both the inputs to be "high" i.e logic 1, can i have two different voltage values at these two inputs? e.g 3v on one and 4v on another?

• This should be directly and clearly answered in the datasheet right where you expect to find it. Look up the input threshold levels. Mar 18, 2016 at 11:28
• what if the two different voltages lie beyond the threshold voltage? Mar 18, 2016 at 11:47
• There is no problem in having different voltage levels on the inputs of a single gate. For each input to be seen as a '1' each voltage must be greater than Vih (max). You did not say what IC this is so I cannot confirm that 3V is adequate to be seen as a '1'. Mar 18, 2016 at 11:51
• If the datasheet says that anything over 2.4V is '1' then both inputs are '1'. But if the supply rail is 3V or 3.3V, and the second input isn't "5V tolerant" then 4V will probably destroy the chip.
– user16324
Mar 18, 2016 at 12:06