1 / 63 · Concetto
Digital signals: when a voltage represents a bit
Separate bits from voltages and calculate noise margins and propagation bounds.
Le lezioni sono gratuite. Iscriviti per salvare i progressi.
La traduzione non è ancora disponibile. Viene mostrata la lezione originale. (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 and high at or above , 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 and . 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.
- Driver: Guarantees output voltages under a stated load
- Connection: Noise can change the received voltage
- Receiver: VIL and VIH define valid input levels
- Logic: Output guaranteed after inputs settle plus delay
Calculate the available margin
Suppose the driver guarantees and . Then
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
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.
- 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.
- 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.
- Select transmit 1. Starting at 2.80 V, −0.80 V noise still guarantees 1; −0.81 V does not.
- 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.
Prova tu
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.
Leggi la spiegazione
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.