Documente Academic
Documente Profesional
Documente Cultură
CHAPTER 5
5.1 INTRODUCTION
(CLK_IN) just inside the clock input pad. The clock signal from the clock
input pad is usually the most convenient clock for latching data signals just
inside the data input pads. Without active synchronization, the phase of the
two clocks will likely be different due to the uncertain and IC-specific
propagation delay through the clock tree buffer network. The role of the DLL
is to adjust the output tap of a programmable digital delay line at the root of
the clock tree so that the phases at the leaf nodes of (CLK_IN) just inside the
clock pad receiver circuit as specified by Hsiang-Hui Chang et al (2003). A
DLL is also useful in other common situations in digital system design.
For example, a DLL can be used to ensure that the clocks that are
distributed by multiple, separately balanced clock trees within a custom IC or
a Field-Programmable Gate Array (FPGA) are synchronized at all the flip-
flop inputs.
CLK pin
CLK_FB
DLL
CLK Buffers
Circuit
.
.
.
In the DLL operation, the search for an optimal delay of the clock
is similar to the operation of Analog to Digital Converter (ADC) designs. The
essence in DLL is the transformation of the phase difference to the digital
form, while ADC is used to transform the voltage into the digital form. Thus,
some algorithms used in ADC can be used in DLL design.
For the analog DLL design, the delay line is always controlled by
an analog control signal on a loop filter in the DLL. Since the delay line is
controlled continuously, the phase error between the input and output clocks
tends to be smaller compared to the locking results in the digital DLLs.
Besides, analog DLLs tend to have smaller chip areas and lower power
dissipations. However, due to analog nature, the analog DLLs are susceptible
to process variations and supply noises due to the smaller noise margin of the
analog design.
The basic type DLL uses counter type control algorithm with
feedback to achieve the desired phase relationship between an input clock
(CLKIN) and a feedback clock (CLKFB). As shown in Figure 5.2, the PD
produces two error signals (D and U) which indicate the relative timing order
(early and late) of the feedback clock (CLKFB) with respect to the input clock
(CLKIN).
PD CLKFB
U D
Up/Down
Counter
Ckref
1
2
Correct locking
Ckref
False locking
Initialisation K = 1
Conventional
(N-M+K) bit SAR
algorithm
K = K+1
No No
Lock? K=M?
Y Y
Closed-loop Failure
one more LSB from the VSAR units to lock again, i.e., (N-M+2)-bit binary
search. This is equivalent to twice the delay line. Before the number of
borrowed bits reaches to, the operation repeats until the DLL is locked
correctly. Once the lock state is confirmed, the VSAR controller is
transformed into a counter for a closed-loop operation.
The lock time of DLL can still be reduced by modifying the VSAR
controller by adding one more control loop as shown in Figure 5.6. Here U
and D are phase detector outputs.
124
Initialisation K = 1
Conventional
(N-M+K) bit SAR
algorithm Y U = 0? No
&&
D = 1?
K = K+1
No No
No
Lock? K=M? Y K=M?
Y Y
Y
Closed-loop Failure K = K+1
As shown in Figure 5.8 the ADDLL has 8-bit DCDL, 4-bit VSAR
units and 4-bit SAR units in VSAR controller. Here, CLKIN is the input clock,
CLKOUT is the output clock which is de-skewed by ADDLL, CLKSAR is clock
to VSAR controller which is the output of divide-by-2 frequency divider and
START is used to start the controller.
D
Phase
Detector
Digital Controlled
CLKIN
Delay Line (DCDL) CLKOUT
Tap [7:0]
/2
[7:4] [3:0]
CLKSAR
4 bit VSAR 4 bit SAR
START unit unit
MVSAR Controller
CLK_IN
...
...
0 1 255
256 : 1 MUX
Tap_SEL [7:0]
CLK_OUT
As shown in Figure 5.9, the individual taps in the delay line were
balanced with dummy NAND gate loads to minimize clock pulse erosion due
to different rise and fall times.
127
CLKIN Q
D U
CLKOUT
D Q D
Figure 5.11 Phase Detector (PD) output for a sample CLK IN and CLK OUT
128
MVSAR SAR
M [7: 4] (N-M) [3: 0]
Figure 5.12 MVSAR controller (8-bit) with 4-bit MVSAR units and
4-bit SAR units
The VSAR algorithm seems to have a longer lock time than the
conventional one. However, this may not be true. The key is the Division
Ratio (DR) which is the frequency ratio between the MVSAR controller clock
(CLKSAR) and the input clock (CLKIN).
DR >[TLOOP/ TCLK]+1
where [TLOOP/ TCLK] denotes the Gaussian operation, TCLK is the input clock
period and TLOOP is the loop delay which includes the propagation delays of
129
the delay line, the PD, the MVSAR controller and so on. DR in the MVSAR
controller is the minimum of 2. For the MVSAR controller, the delay of the
delay line increases gradually from the minimum and never exceeds twice the
input clock period. Thus, the harmonic locking is no longer an issue.
Figure 5.14 RTL schematic for counter controller in basic counter type
ADDLL
130
Figure 5.16 RTL schematic for VSAR controller in VSAR type ADDLL
Figure 5.17 RTL schematic for phase detector in MVSAR type ADDLL
Figure 5.19 RTL schematic for 32-inverter chain (sub design of DCDL)
in MVSAR type ADDLL
132
Figure 5.23 Timing diagram for MVSAR type ADDLL for fCLKIN =14
MHz
134
Figure 5.24 Timing diagram for MVSAR type ADDLL for fCLKIN =150
MHz
5.6 CONCLUSION
300
250
No. of clock cycles needed for first lock
200
MVSAR
150
VSAR
Counter
100
50
0
0 20 40 60 80 100 120 140 160 180
CLKIN (MHz)
Hsiang-
Bum-sik Hui
MVSAR Counter Cockburn
VSAR type Kim Chang
type type Yang and Liu and Keith
Parameters ADDLL ADDLL and Lee and
ADDLL (2007) Boyle
(modeled) Sup Kim Shen-
(proposed) (modeled) (2006)
(1998) Iuan Liu
(2005)
Technology TSMC TSMC TSMC 0.18m 1P6M 0.18m 0.35 m 0.18m
0.18m 0.18m 0.18m 1P6M 1P4M 1P6M
1P6M 1P6M 1P6M
Category Digital Digital Digital Digital Digital Digital Digital
& analog & analog & analog
Lock range 14 ~ 170 14 ~ 170 14 ~ 170 40 ~ 550 14~166 100 2~700
(operating
frequency
range) MHz
Max. clock 28 @14 62 at 239 at 134 ~14 cycles 122~244 <2sec 32 cycles
cycles MHz 14MHz 14MHz cycles i.e.200
needed for 16@ 26@ 15@ cycles
first lock 170MHz 170MHz 170MHz
Power 25.27mW 26.64mW 25.60mW 12.6mW@ X 3.2mW@ 23mW@
(mW) 550MHz 100MHz 700MHz
X Not mentioned