Skip to content
BetterDL

High impedance

Also called: high-Z, hi-Z, Z state, floating output, high-impedance state, third state, high impedance Z

The disconnected state of a tri-state output, written Z. The output drives neither 0 nor 1, so another device can drive the same wire.

A normal logic output is always pushing its wire toward 0 or toward 1. An output in high impedance, written Z, is doing neither. Electrically it's as if it had been unplugged from the wire.

Only tri-state outputs can do this. Memory chips use it on their data outputs:

  • not selected (CS inactive) → Z
  • selected but writing → Z (the data lines are inputs now)
  • selected, reading, with OE active → drives the stored word

Why it exists: so many devices can share one bus. Every device that isn't currently talking sits at Z, leaving the wire to the one that is.

What Z is not:

  • It is not 0. A wire whose only drivers are all at Z is floating, and its value is undefined (often pulled to a known level by a resistor).
  • It is not a Boolean value you can AND or OR. It describes a connection, not a number.

In timing diagrams Z is usually drawn as a line halfway between 0 and 1.

Worked example

Example

What is on the data line?

Three chips share data line D3. Work out D3 in each case.

  1. 1.

    Chip 1 drives 1, chips 2 and 3 are at Z: D3 = 1.

  2. 2.

    All three at Z: D3 floats. Its value is undefined.

  3. 3.

    Chip 1 drives 1 and chip 2 drives 0: contention. D3 is undefined, and the chips may be damaged.

Common mistakes

  • Treating Z as logic 0. A Z output contributes nothing; the wire takes whatever another driver puts on it.

  • Expecting a floating bus to read as 0. With no driver enabled, the value is undefined.

  • Thinking ordinary gates can output Z. Only tri-state outputs can disconnect.

Practice High impedance

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

High impedance is taught in Memory and Basic CPU / Computer Architecture.