EE Primers · Communication interfaces · Driver Topologies · 7 of 9

CML: a differential pair, two 50 Ω resistors, and nothing to slow it down

A CML driver is the simplest fast circuit there is: two transistors sharing a constant tail current, each with a 50 Ω resistor to the supply. The input decides which transistor carries the current; that side's output drops by the current times its load, the other side sits at the supply. Nothing ever switches rail to rail, no transistor ever saturates, and the 50 Ω pull-ups double as a matched source termination for the transmission line. That is why CML (and its descendants) sits behind essentially every multi-gigabit serial link: PCIe, SGMII, the coax outputs of camera serializers and the backplanes that aggregate them. This page derives the levels for each termination arrangement, explains where the speed comes from, works through return loss, AC-coupling capacitors and de-emphasis, and compares CML with the voltage-mode drivers that have replaced it in many of the fastest designs.

How it works, step by step

  1. A pair sharing one current. Two transistors have their sources tied to a tail current source IT, typically 16 mA. Each drain has a 50 Ω resistor to VDD and is one of the two outputs.
  2. The input chooses the side. A differential input of a couple of hundred millivolts sends all of IT through one transistor and none through the other. The transistors divide a fixed current; they never switch fully on or off.
  3. Current through a resistor makes the level. The side carrying IT sits below VDD by IT times its load. The side with no current sits at VDD. Flip the input and the two swap.
  4. The far-end termination shares the current. DC-coupled into a receiver with 50 Ω to VDD, each side sees 50 Ω in parallel with 50 Ω, i.e. 25 Ω. The swing is 16 mA × 25 Ω = 400 mV per side, 800 mV differential peak-to-peak.
  5. Why it is fast. No transistor saturates, so no stored charge has to be removed. The swing is a few hundred millivolts, not the full supply. The only resistance charging each node is 25–50 Ω, so the time constants are tiny.
  6. The pull-ups absorb reflections. The on-chip 50 Ω resistors match the 50 Ω line, so a wave that bounces back from the receiver is absorbed at the driver instead of being reflected again.
  7. The supply current is constant. IT flows from VDD whatever the data, so the driver puts no switching current on its supply, the same property LVDS has.
  8. More tail currents shape the edge. Add a second, smaller current-steering pair driven by the previous bit. The output is boosted at each transition and reduced during long runs of the same bit: de-emphasis, which pre-compensates for the channel's loss.
01 · Intuition

Open-drain, made differential and fast

Look at one side of a CML stage and it is an open-drain output: a transistor that can only pull its output down, and a resistor that pulls it up. Three changes turn that slow, asymmetric circuit into the fastest driver in use:

  • The pull-down strength is fixed. The two transistors share one tail current source IT. They do not switch on and off; they divide IT between them, all of it to one side for a 1 and all to the other side for a 0.
  • The pull-up is small and exact. 50 Ω on chip, trimmed to a few percent, instead of kilohms on the board. It is both the load that converts current to voltage and the source termination of a 50 Ω line.
  • Both sides are used. The output is the difference between the two drains, so it swings symmetrically and the supply current never changes.

When the left transistor carries IT, the left output is pulled down by ITR and the right output sits at VDD (no current through its resistor). Flip the input and they swap.

CML driver, DC-coupled to a receiver terminated with 50 Ω to its supply. Amber: the tail current's path. It flows through the source and receiver resistors of one side only.
02 · Levels

Levels depend on what the line is terminated to

The current divides between the on-chip pull-up \(R_{\text{S}}=50\ \Omega\) and whatever the far end puts on that side. The output that carries the current drops by IT times the parallel combination; the idle side does not drop at all.

Unterminated (open line, or measured with a high-impedance probe)

$$V_{\text{OH}}=V_{\text{DD}}\qquad V_{\text{OL}}=V_{\text{DD}}-I_{\text{T}}R_{\text{S}}\qquad 16\ \text{mA}\times 50\ \Omega =800\ \text{mV single-ended swing}$$

DC-coupled to 50 Ω at the receiver, terminated to the same VDD

$$R_{\text{eff}}=R_{\text{S}}\,\parallel \,R_{\text{T}}=25\ \Omega \qquad V_{\text{OL}}=V_{\text{DD}}-I_{\text{T}}\cdot 25\ \Omega =V_{\text{DD}}-400\ \text{mV}$$
$$\text{swing per side}\ 400\ \text{mV}\qquad \text{differential peak-to-peak}\ 2\times 400=800\ \text{mV}_{\text{ppd}}\qquad \text{common mode}\ V_{\text{DD}}-200\ \text{mV}$$

Half the current flows in the source resistor and half travels down the line to the receiver resistor, so the receiver sees the same 400 mV per side.

AC-coupled to 50 Ω at the receiver (the usual case)

The coupling capacitors block DC, so at DC the driver sees only its own 50 Ω and its average output sits lower: with balanced data each side carries IT half the time, so its average is \(V_{\text{DD}}-I_{\text{T}}R_{\text{S}}/2=V_{\text{DD}}-400\ \text{mV}\). For the signal (above the coupling corner) the capacitors are shorts, the load is again 25 Ω, and the swing is again 400 mV per side, now centred on the receiver's own bias voltage.

Why "CML" levels vary so much between datasheetsThe swing is a design parameter (the tail current is usually programmable in steps), the supply may be 3.3 V for discrete clock buffers or under 1 V for a SerDes in a 5 nm SoC, and the levels depend on the termination. Compare CML parts by differential swing into 100 Ω and by common mode, not by VOH.
03 · Speed

Where the speed comes from

The transistors never saturate

A CMOS inverter drives its transistors from cut-off to deep triode; a bipolar saturating switch stores charge in its base that must be removed before it can turn off. In a CML pair the transistors stay in their active (saturation, for MOS) region the whole time and only the share of a constant current moves. No stored charge, no rail-to-rail gate swing, no crowbar.

A small input swing steers all the current

For a bipolar pair the collector currents follow a hyperbolic tangent of the differential input:

$$I_{\text{C}1}-I_{\text{C}2}=I_{\text{T}}\,\tanh (V_{\text{id}}/2V_{\text{T}})\qquad V_{\text{T}}=kT/q\approx 26\ \text{mV}$$

tanh\((2)=0.96\), so \(V_{\text{id}}=4\text{V}_{\text{T}}\approx 104\ \text{mV}\) steers 98 % of the current. For a MOS pair in the square-law region, all of the current is steered once \(|V_{\text{id}}|\ge \sqrt{2}\cdot V_{\text{ov}}\), where Vov is the overdrive at balance: 0.2 V of overdrive needs 283 mV. Because a 400 mV output swing exceeds what the next stage needs to switch fully, CML stages can be cascaded indefinitely without restoring to full logic levels. The small-signal gain gmR only has to exceed one.

One RC pole, and it is tiny

The output node is Reff in parallel with the pad, ESD and transistor capacitance Cout:

$$\tau =R_{\text{eff}}C_{\text{out}}\qquad 25\ \Omega \times 300\ \text{fF}=7.5\ \text{ps}\qquad f_{-3\,\text{dB}}=1/(2\pi \tau )\approx 21\ \text{GHz}\qquad t_{20\text{–}80}=1.39\,\tau \approx 10\ \text{ps}$$

Compare a CMOS output: \(R_{\text{out}}\approx 30\ \Omega\) into 10 pF of board load, \(\tau =300\ \text{ps}\), forty times slower, and that output must also swing ten times further.

Constant supply current

Like LVDS, the supply sees IT in both states. CML switching does not inject current spikes into the supply, and many lanes can toggle together.

$$P=V_{\text{DD}}\cdot I_{\text{T}}\qquad 1.0\ \text{V}\times 16\ \text{mA}=16\ \text{mW per lane},\ \text{data-independent}$$
04 · Matching

Back-termination and return loss

The 50 Ω pull-ups are what the line sees looking back into the driver. A wave reflected from an imperfect receiver arrives at a matched source and is absorbed, instead of bouncing back toward the receiver one round trip later (the weakness of a classic LVDS current source). With both ends matched, the channel's only reflections come from its own discontinuities. The cost is the halved swing computed above: half the current is spent in the source resistor.

How good the match is, is expressed as return loss:

$$\Gamma =(Z-Z_{0})/(Z+Z_{0})\qquad \text{RL}=-20\,\log |\Gamma |\ \text{dB}$$

A resistor 10 % high (55 Ω) gives \(\Gamma =0.048\), \(RL=26\ \text{dB}\). That is not the limit. The pad, ESD diodes and transistor drains add a few hundred femtofarads in parallel, whose reactance falls with frequency: at 10 GHz, 300 fF is 53 Ω. The source impedance becomes 50 Ω ∥ \((-j_{53}\ \Omega )=26-j_{25}\ \Omega\), Γ grows to about 0.43, and RL falls to 7.4 dB. SerDes standards specify a return-loss mask (for example, better than about 10 dB up to a quarter of the baud rate, sloping down above), and designers hide the capacitance behind on-chip T-coils and inductive peaking to meet it. The calculator below shows the effect.

05 · AC coupling

Coupling capacitors: corner frequency and baseline wander

A transmitter's common mode is set by its own supply (VDD − 200 to 400 mV); a receiver wants its inputs biased wherever its own input stage works best. Rather than make every pair of chips agree, most serial links put a series capacitor in each wire and let the receiver set its own bias through its termination. Each wire then sees a high-pass filter. The capacitor is in series with the source and load resistors:

$$f_{\text{c}}=1/[2\pi \,(R_{\text{S}}+R_{\text{T}})\,C]\qquad 100\ \Omega ,100\ \text{nF}\to 15.9\ \text{kHz}\qquad \tau =10\ \text{µs}$$

A high-pass passes edges but not long constant levels. During a run of N identical bits at bit time Tb, the received level decays toward the middle:

$$\text{droop}=1-\text{e}^{-N\,T_{\text{b}}\,/\,\tau}\approx N\,T_{\text{b}}/\tau$$

This is baseline wander. It is why AC-coupled links use DC-balanced line codes: 8b/10b limits runs to five identical bits, so at 2.5 Gbit/s the longest run is 2 ns and droop with a 10 µs time constant is 0.02 %. Scrambled codes (64b/66b, 128b/130b) have no hard run limit, only a vanishing probability of long runs; the capacitor is sized so that even a run of hundreds of bits droops by well under one percent. PCIe, for example, specifies its transmitter-side AC-coupling capacitors as 75–265 nF for 2.5 and 5 GT/s and 176–265 nF from 8 GT/s.

Layout. The capacitor's pads are wider than the trace and form a capacitive dip in the impedance. Use the smallest package that meets voltage and value (0201 or 0402), place the two capacitors of a pair symmetrically, and void the reference plane under the pads to raise their impedance back toward 50 Ω.

06 · Equalization

De-emphasis: an FIR filter made of tail currents

A PCB channel attenuates high frequencies more than low ones. An isolated 1 after a run of 0s arrives smaller than a long run of 1s, and the eye closes. The transmitter can pre-compensate by sending the low-frequency content (repeated bits) at reduced amplitude and keeping full amplitude only for transitions. Because CML output is a current summed in a resistor, this is easy: split the tail current into a main tap and a post-cursor tap driven by the previous bit inverted.

$$v[n]=R_{\text{eff}}\,(c_{0}\,b[n]-c_{1}\,b[n-1])\qquad b=\pm 1,\quad c_{0}+c_{1}=I_{\text{T}}$$

After a transition, \(b[n]=-b[n-1]\) and the taps add: \(\text{amplitude}\propto c_{0}+c_{1}\). On a repeated bit they subtract: ∝ c0 − c1. De-emphasis is quoted as the ratio:

$$\text{DE}=20\,\log [(c_{0}-c_{1})/(c_{0}+c_{1})]\qquad -3.5\ \text{dB}\to \text{ratio}\ 0.668,\ c_{1}=16.6\ \%\qquad -6\ \text{dB}\to 0.5,\ c_{1}=25\ \%$$

These two values are PCIe's settings for its 2.5 and 5 GT/s generations; from 8 GT/s the transmitter has a three-tap filter (pre-cursor, main, post-cursor) whose weights are negotiated with the receiver during link training. The total current is unchanged, so the peak swing and the power stay the same; what is given up is low-frequency amplitude, which the channel was going to let through anyway.

07 · Successor

CML versus voltage-mode (SST) drivers

A CML driver spends its tail current whether or not it is useful: half of it heats the source resistors. A source-series-terminated (SST, voltage-mode) driver is a CMOS H-bridge whose transistors plus series resistors add up to 50 Ω per side. It switches each side between the rails through 50 Ω, exactly like a series-terminated push-pull output, but differential and impedance-trimmed.

For a differential peak-to-peak swing Vppd into a 100 Ω differential load:

$$\text{CML}:\quad I_{\text{T}}=V_{\text{ppd}}/(2\times 25\ \Omega )\qquad P=V_{\text{DD}}\cdot V_{\text{ppd}}/50\ \Omega$$
$$\text{SST}:\quad I=V_{\text{DD}}/200\ \Omega ,\ V_{\text{ppd}}=V_{\text{DD}}\qquad P=V_{\text{DD}}^{2}/200\ \Omega =V_{\text{DD}}\cdot V_{\text{ppd}}/200\ \Omega$$

For the same swing the SST driver uses a quarter of the power. With \(V_{\text{DD}}=1.0\ \text{V}\) and 1 Vppd: CML needs 20 mA and 20 mW, SST 5 mA and 5 mW. Its drawbacks are that its swing is tied to the supply, it injects supply noise like any push-pull stage, and equalization is done by splitting the driver into segments whose impedance must stay matched. Many current SerDes (PCIe 4.0 and beyond, high-rate Ethernet) use SST transmitters; CML remains common in clock buffers, discrete redrivers, retimers, serializer outputs and wherever a programmable swing or supply independence matters. Both present the same face to the board: a 50 Ω-per-side source, AC-coupled into a 50 Ω-per-side receiver.

08 · In practice

Where CML-style outputs appear

LinkElectricalNotes
PCIe, USB 3.x, SATA, DisplayPort main linkCML or SST TX, AC-coupled, 85–100 Ω differentialTX de-emphasis or FIR; RX CTLE and DFE
SGMII, 1000BASE-X, USXGMII (MAC to PHY)CML-type, AC-coupled 100 Ω pairsThe Ethernet PHY's MAC side; the automotive Ethernet MDI itself uses a voltage-mode DAC driver with an analog hybrid
Camera and display serializers (GMSL, FPD-Link III/IV)CML output, often single-ended into 50 Ω coax, with power over coaxSee GMSL and FPD-Link
Reference clock buffers and fan-outCML or HCSL outputsProgrammable swing; often DC-coupled to the same-family input
Backplanes and cable redrivers / retimersCML in, CML outLinear redrivers preserve the waveform; retimers recover clock and data
"No external termination" is half the storyThe termination is on chip, but an AC-coupled link still needs the series capacitors, and a DC-coupled link is valid only between parts that agree on the termination voltage. Connecting CML to LVPECL or LVDS needs a bias network: see Connecting the families.
09 · Self-check

Questions

A CML driver has \(I_{\text{T}}=12\ \text{mA}\) and 50 Ω pull-ups to 1.2 V, DC-coupled to 50 Ω at the receiver tied to 1.2 V. Find VOL, swing and differential p-p.

\(R_{\text{eff}}=25\ \Omega\): \(V_{\text{OL}}=1.2-0.3=0.9\ \text{V}\), 300 mV per side, 600 mVppd, common mode 1.05 V.

Why does CML need no output termination resistor on the board?

The on-chip 50 Ω pull-ups are the source termination; the receiver's on-chip 50 Ω are the load termination. The board provides only the 50 Ω (100 Ω differential) line and, usually, the coupling capacitors.

How much does a run of 100 identical bits droop at 10 Gbit/s with 100 nF caps and 50 Ω terminations?

\(\tau =100\ \Omega \times 100\ \text{nF}=10\ \text{µs}\); run = 10 ns; droop ≈ \(10\ \text{ns}/10\ \text{µs}=0.1\ \%\).

What tap weights give −6 dB de-emphasis, and what happens to the peak swing?

\(c_{0}=75\ \%\), \(c_{1}=25\ \%\): \((0.75-0.25)/(0.75+0.25)=0.5\). Peak (transition) swing is unchanged; repeated bits are at half amplitude.

For 800 mVppd at \(V_{\text{DD}}=0.9\ \text{V}\), compare CML and SST power.

CML: \(I=0.8/50=16\ \text{mA}\), \(P=0.9\ \text{V}\times 16\ \text{mA}=14.4\ \text{mW}\). SST at 0.9 V gives 900 mVppd for \(0.81/200=4.05\ \text{mW}\): more swing for less than a third of the power.

← LVDSNext: LVPECL →Signal integrity fundamentals →