Professional Documents
Culture Documents
All Digital Phase Locked Loop Design and Implementation
All Digital Phase Locked Loop Design and Implementation
I. INTRODUCTION
Many circuits currently face the problem of clock skew, and
registers and flip-flops are not receiving the clock at the exact
same time. The clocks are generated by oscillators, but the
clocks that reach the registers and flip-flops are distorted and
require a phase locked loop to address this problem. A phase
locked loop ensures that the clock frequencies seen at the
clock inputs of various registers and flip-flops match the
frequency generated by the oscillator.
The phase locked loop (PLL) is a very important and
common part of high performance microprocessors.
Traditionally, a PLL is made to function as an analog building
block, but integrating an analog PLL on a digital chip is
difficult. Analog PLLs are also more susceptible to noise and
process variations. Digital PLLs allow a faster lock time to be
achieved and are attractive for clock generation on high
performance microprocessors.
2
A modified D Flip-flop was utilized because the D input
doesnt change and remains high always. The output of the
modified D Flip-flops enters a two input NOR gate that resets
the Flip-flops if both clocks are high. The up and down signals
indicate if the DCO clock needs to be increased (up is true) or
decreased (down is true). The event and direction signal are
necessary to create the up and down enable signals for the
T2D converter. Additional circuitry between the PFD and T2D
is required for the signal conversion to take place.
C. Thermometric Decoder
The thermometric decoder is a specific decoder that
generates the digital word that controls the DCO. The
thermometric decoder was designed by modifying the general
decoder to obtain the required functionality.
The decoder generates a 128 bit output, of which only 126
bits are used by the DCO. These 126 bits control the DCOs
tristate gates.
D. Digitally Controlled Oscillator
A standard digitally controlled oscillator was implemented,
which consists of a seven stage ring oscillator (in 0.25 micron
technology with an inverter delay close to 20ps and the
frequency of 1.4 GHz) and 21 tristates are parallel to each
inverter. The ring oscillator contains a NAND gate that is used
to control the DCO. This DCO is easy to make using standard
cells, but its power consumption is quite high. In [2], it was
mentioned that fifty percent of the power consumption of a
PLL comes from the DCO.
Figure 5: DCO Consisting of Ring Oscillator and 21
Tristate inverters per inverter.
One of the main design criteria for a DCO is to provide
3
parameter that is simulated for this system.
Our DCO design was tested for all the seven bit input
sequences using a linear feedback shift register. The frequency
corresponding to each control word was noted. The operating
range of the DCO is 180 MHz to 320 MHz. For a control word
of 0000000 the DCO frequency is 48.93 MHz and for
1111111 it is 322.9 MHz. The DCO resolution is close to 1
MHz. Figure 6 displays for each control word the frequency of
the DCO.
4
VI. FUTURE WORK
The VHDL implementation was started in parallel with the
schematic approach. Since the schematic approach of the PLL
required us to perform layout by hand, the VHDL all digital
PLL implementation was left aside. If this was completed, an
analysis could have been performed on the power, area, and
lock time differences of the two implementation approaches.
The thermometric decoder can be made faster; at this point
it is a large and slow decoder that occupies a large part of the
layout. If the decoder can be optimized, the system should be
smaller and more efficient.
The phase maintenance can be used to load the final control
word for the DCO from a register instead of continually
performing phase comparison.
VII. CONCLUSION
The development of an all digital phase locked loop was
interesting and a great learning experience. There are many
improvements and concepts that still need to be learned, but
the basics of an all digital PLL implementation was covered
during this project. A good lock time was achieved of 105
cycles and considerations for power were implemented in this
project.
Figure 9: Jitter Analysis
ACKNOWLEDGMENTS
The area, power and delay of the system, determines the
cost of the phase locked loop. The comparison of the digital
PLL to the analog PLL is shown in Table 1. The area of the
layout is 45666.5 um^2. The power of used by the PLL system
is 3.875 mW, which is equivalent to 5.883 dBm. The number
of transistors in the digital PLL system is 3194.
Table 1: Comparison of Analog and Digital PLL
Digital PLL
Analog PLL
Power
5.883 dBm
3.5 dBm
Lock time
1.5 us
10 us
(100-120 cycles)
Jitter/Phase Noise
0.4 ns
-212 dBc/Hz
The lock time of the digital PLL was observed to be a
great improvement over the analog PLL. The power of the
digital PLL is more than an analog PLL possibly because of
the DCO being used. If a lower power DCO was implemented
into the system, the power could decrease significantly.
V. POWER CONSIDERATIONS
The modified D Flip-flops used for the PFD has lower
power consumption. The clock gating used in the T2D also
saves power.
Other low power implementations can be lowering the
power consumed by the DCO, by using mode selection.
Multiple supply voltages can be used, by having the lower
Vdd supply to the counter, adder, and DCO.
[2]
[3]
[4]
[5]