Altifigence Academy

1 / 63 · Concepto

Digital signals: when a voltage represents a bit

Separate bits from voltages and calculate noise margins and propagation bounds.

La traducción aún no está disponible. Se muestra la lección original. (English)

What this course builds toward

Work from gates to combinational circuits, storage and finite-state machines, then complete a small design. Elementary algebra is enough to begin; basic programming helps with the later RTL labs. The optional advanced chapters extend these foundations to datapaths and interfaces.

A bit is an interpretation of a voltage

Wires carrycarry The value carried from one addition column to the next. The final carry and signed overflow are different conditions. Learn more continuous voltages. A receiver guarantees low at or below VILV_{IL} and high at or above VIHV_{IH}, within its allowed operating range. The interval between them has no guaranteed binary interpretation. Device data sheets, not a universal voltage rule, specify the thresholds.

For an illustrative 3.3 V interface, let VIL=0.8VV_{IL}=0.8\,\mathrm V and VIH=2.0VV_{IH}=2.0\,\mathrm V. An input of 1.4 V is not a third logic value: it violates the assumptions of the binary model. A transition necessarily crosses this region, so observation time matters too.

From voltage to logic
  1. Driver: Guarantees output voltages under a stated load
  2. Connection: Noise can change the received voltage
  3. Receiver: VIL and VIH define valid input levels
  4. Logic: Output guaranteed after inputs settle plus delay

Calculate the available margin

Suppose the driver guarantees VOL0.2VV_{OL}\le0.2\,\mathrm V and VOH2.8VV_{OH}\ge2.8\,\mathrm V. Then

NML=VILVOL=0.6V,NMH=VOHVIH=0.8VNM_L=V_{IL}-V_{OL}=0.6\,\mathrm V,\qquad NM_H=V_{OH}-V_{IH}=0.8\,\mathrm V

A +0.4 V disturbance on the worst-case low leaves 0.6 V at the receiver, still a valid low. These are static margins under the specified load; they do not by themselves characterize short pulses or reflections.

Logic needs a timing contract

An AND gate produces 1 for stable inputs 11, after its propagation bound. For two gates in series with bounds 2 ns and 3 ns, allow up to 5 ns after the inputs settle. Analyze each path and take the longest bound.

An unconnected input is not a driven zero. In a four-state simulator, X means unknown and Z means high impedance; neither denotes one particular physical voltage. Interactive controls in this course model stable 0/1 values.

Further reading: MIT OpenCourseWare — The Digital Abstraction

Lab · Cross a noise-margin boundary

Where does the logic guarantee end?

VIL=0.8 V; VIH=2 V; VOL=0.2 V; VOH=2.8 V. NM_L=0.6 V; NM_H=0.8 V. Neither logic value is guaranteed between the input thresholds. This is a static teaching model.

  1. Select transmit 0. The driver is fixed at its worst-case low output, 0.20 V. At +0.60 V noise, the receiver sees 0.80 V and still guarantees 0.
  2. Press the right arrow once to add 10 mV. At 0.81 V the result is no longer guaranteed. That does not mean it immediately becomes 1.
  3. Select transmit 1. Starting at 2.80 V, −0.80 V noise still guarantees 1; −0.81 V does not.
  4. A larger disturbance can reach the opposite valid region. The receiver then sees a valid logic level, but the transmitted data has changed.

The model does not clamp out-of-range inputs into a valid region. A real device's permitted input range, clamp current and pulse behavior require its own specification; this lab does not predict device damage or transient response.

Inténtalo tú

A transmitted 1 starts at 2.80 V with −0.85 V noise. Can you conclude the receiver reads 0? Compare a transmitted 0 disturbed by +2.00 V.

Leer la explicación

The first input is 1.95 V, between thresholds: neither logic value is guaranteed. The second is 0.20+2.00=2.20 V, so it is a valid received 1 even though 0 was sent. Valid classification does not imply preserved data.

Tu elección se aplica a este navegador. Puedes cambiarla en el pie de página.