TDEB Top Bar

Trending
Semiconductor Industry News — The Digital Electronics Blog
Follow Us

TDEB Masthead

The Semiconductor Hub

Semiconductors.  Chips and Systems.  Innovation.

Indexed by leading Search Engines, AI and referenced by Engineers worldwide 500+ Articles 10M+ Pageviews 30+ Reports 50+ Citations

Delay Locked Loop (DLL): How It Works, DLL vs PLL, Examples

The Editor's Desk
by
4
Share Facebook X LinkedIn WhatsApp Email

A delay locked loop (DLL) is a clock circuit that adds an adjustable delay to an incoming clock so that the clock arriving at the registers lines up with the input clock edge. Unlike a phase locked loop (PLL), it has no oscillator: it delays the existing clock instead of generating a new one, which gives it low jitter accumulation and simple, stable loop behavior. DLLs are used for clock deskew in FPGAs, in DDR memory interfaces and in high-speed I/O.

Key takeaways

  • A DLL has four parts: a variable delay line, a phase detector, a control block (charge pump and filter, or a digital counter) and a feedback path through the clock tree.
  • It locks when the delay line plus the clock tree delay equals one full clock period, so the internal clock edge aligns with the external one.
  • Because there is no voltage-controlled oscillator (VCO), noise does not build up from cycle to cycle and the loop is easy to stabilize.
  • A basic DLL cannot multiply frequency, passes input jitter straight through, and works only over the range its delay line can cover.
  • Choose a PLL for frequency synthesis and jitter filtering; choose a DLL for deskew and phase alignment.

Why not a PLL? (original post)

PLLs have disadvantages that make their use in high-speed designs problematic, particularly when both high performance and high reliability are required. The PLL voltage-controlled oscillator (VCO) is the greatest source of problems. Variations in temperature, supply voltage, and manufacturing process affect the stability and operating performance of PLLs.

DLLs, however, are immune to these problems. A DLL in its simplest form inserts a variable delay line between the external clock and the internal clock. The clock tree distributes the clock to all registers and then back to the feedback pin of the DLL. The control circuit of the DLL adjusts the delays so that the rising edges of the feedback clock align with the input clock. Once the edges of the clocks are aligned, the DLL is locked, and both the input buffer delay and the clock skew are reduced to zero.

Advantages:

  • precision
  • stability
  • power management
  • noise sensitivity (lower sensitivity to noise)
  • jitter performance.

Check out the Virtex DLL application note (XAPP132, Using the Virtex Delay-Locked Loop)...

Note (added 1 November 2026): the original Xilinx document link no longer opens. Xilinx is now part of AMD, and the link above now goes to the AMD copy of application note XAPP132, revision 2.8 (January 2006), which describes the up to eight fully digital DLLs in Virtex FPGAs and their zero propagation delay and low output skew. A note on the word "immune": the delay line inside a DLL is still affected by process, voltage and temperature. The point is that the feedback loop keeps correcting the delay as conditions drift, and with no VCO there is no oscillator noise to accumulate. "Much less sensitive" is the more precise description.

Where DLLs are used

  • FPGA clock management. Early Xilinx Virtex and Spartan-II devices included DLL-based clock blocks for deskew and for fixed phase outputs (0, 90, 180 and 270 degrees), doubling and division. Later families moved to blocks that combine DLL and PLL functions.
  • DDR SDRAM. The DRAM uses a DLL to align its output data and data strobe with the clock. The memory controller commonly uses a DLL or delay line to shift the incoming strobe by a quarter period so that it samples the center of the data eye. See dealing with clock jitter in DDR2/DDR3 based designs.
  • Multiphase clock generation. A delay line locked to one period, with N equal cells, gives N evenly spaced clock phases for serializers, clock and data recovery and time-to-digital converters.
  • Chip-level clock deskew. Removing the clock tree insertion delay from I/O timing. Background on the tree itself is in our post on clock tree theory.

Frequently asked questions

What is the main difference between a DLL and a PLL?

A DLL delays the incoming clock to adjust its phase, while a PLL generates a new clock with its own oscillator and can change frequency. A DLL cannot filter input jitter; a PLL can.

Why does a DLL have better jitter than a PLL?

Every DLL output edge is a delayed copy of an input edge, so errors do not build up from cycle to cycle. In a PLL the VCO runs freely between corrections and its phase noise accumulates. If the input clock is noisy, however, a DLL passes that jitter through.

Can a DLL multiply the clock frequency?

Not on its own. Some DLL-based clock blocks produce 2x or fixed-ratio clocks by combining delay taps, but general frequency synthesis needs a PLL.

What does "lock" mean for a DLL?

The loop is locked when the feedback clock edge aligns with the reference edge within the detector's resolution and the control value has stopped changing. Most DLLs provide a lock output for the reset logic.

Why does a DLL have a minimum operating frequency?

The delay line must cover one full clock period minus the fixed delays. A slower clock needs more delay, and once the line runs out of range the DLL cannot lock.

Deep dive: the numbers and details

This part holds the figures, equations and worked examples. Skip it if the overview is all you need.

How a delay locked loop works

The building blocks are:

  1. Voltage-controlled or digitally controlled delay line. A chain of delay cells. In an analog DLL a control voltage sets the delay of every cell; in a digital DLL a counter selects how many taps the clock passes through, sometimes with a fine interpolator between taps.
  2. Phase detector. Compares the rising edge of the input (reference) clock with the rising edge of the feedback clock and reports "early" or "late".
  3. Control block. In an analog DLL, a charge pump and a loop filter capacitor turn the phase error into a control voltage. In a digital DLL, an up/down counter changes the tap setting.
  4. Feedback path. The clock is taken from the end of the clock tree, or from a replica of it, and returned to the phase detector, so the delay of the tree is inside the loop.

The loop drives the total delay towards a whole number of clock periods, normally exactly one:

t_buffer + t_delay_line + t_clock_tree = N x T_clk (usually N = 1)

When this holds, the clock at the registers has a rising edge at the same moment as the clock at the input pin, which is why the original post says the input buffer delay and the clock skew are "reduced to zero". In practice a small static phase error remains, set by the phase detector and, for a digital DLL, the tap size.

Worked example: deskewing a 100 MHz clock

QuantityValueNote
Clock period T10.0 ns100 MHz
Input buffer delay1.2 nsexample value
Clock tree insertion delay2.0 nsexample value
Delay the DLL must add10.0 - 1.2 - 2.0 = 6.8 nstotal = one period
Digital tap size50 psexample value
Taps selected at lock6.8 ns / 50 ps = 136residual error up to half a tap, 25 ps, if the detector rounds to the nearest tap

Without the DLL, the registers would see the clock 3.2 ns after the pin. With it, they see an edge aligned with the pin edge, which removes 3.2 ns from the input and output timing budgets. If the clock were 50 MHz (T = 20 ns), the DLL would need 16.8 ns of delay; a delay line that cannot reach that sets the lowest frequency the DLL supports.

DLL vs PLL

AspectDLLPLL
Core elementVariable delay lineVoltage-controlled oscillator
What it controlsPhase (delay) onlyFrequency and phase
Loop orderFirst order, easy to make stableSecond order or higher, needs careful loop filter design
Jitter accumulationNone from cycle to cycle; each edge comes from an input edgeVCO phase noise accumulates between corrections
Input jitterPassed through to the outputFiltered above the loop bandwidth
Frequency multiplicationNot in a basic DLL (some designs combine taps to make 2x or fixed ratios)Yes, any ratio N/M
Lock timeUsually shortUsually longer
Typical usesClock deskew, DDR DQS phase shift, multiphase clocksFrequency synthesis, SerDes, clock cleaning

Our companion post on the phase locked loop (PLL) covers the other side of this comparison.

Design pitfalls

  • False or harmonic lock. If the delay line can exceed one period, the loop may lock to 2T or 3T, which multiplies the delay line's noise and range problems. Designs start from minimum delay or add lock detection to prevent this.
  • Stuck at the end of range. If the required delay is outside the delay line range, the loop saturates and never locks.
  • Supply noise on the delay line. Supply noise changes cell delay directly, so delay lines often have their own regulated supply.
  • Duty cycle distortion. Unequal rise and fall delays in the line change the duty cycle, which matters for DDR, where both edges carry data.
  • Lock time in the reset sequence. Logic must wait for the lock signal before relying on the aligned clock.

For quick definitions, see DLL (delay-locked loop) and clock skew on The Semiconductor Hub glossary.

Further reading

The Editor's Desk
About the Author
The Editor's Desk
Share Facebook X LinkedIn WhatsApp Email

Post a Comment

4 Comments

Your comments will be moderated before it appears here.

  1. Hello there, and thank you.
    I work for a small start-up and for now i will keep it a secret ;-). I do have a Masters in EE specializing in ASIC & DSP. BTW i m a native of TN, INDIA.

    ReplyDelete
  2. Hi, Sorry i don't have much info on that. I will see if i can get that info from my friends.

    ReplyDelete
  3. Hi I want to do a project on delay locked loop for my masters degree, can anyone suggest me some good IEEE papers on DLL and some good materials

    ReplyDelete
  4. Hi all,

    I am a student, would like to design a Delay locked loop. Is Pspice able to help me in the simulation ?

    1) Is Pspice suitable for a timing simulation?
    2)Pspice can change the (process , voltage, temperature )PVT in the setting?
    3) Does Pspice can add additional libraries in the tools?

    or any simulation tools that able help me?

    thanks .

    helps in need...

    warmest regards;
    danes

    ReplyDelete
Post a Comment

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!