Reference clock architecture for integrated circuit device
A clocking arrangement for transceivers in an integrated circuit device includes a plurality of fractionally adjustable phase-locked loops. Each respective one of the fractionally adjustable phase-locked loops generates a respective transmit frequency for a respective one of the transceivers. There is a respective clock-data recovery module in a receive portion of each respective one of the transceivers, and each respective clock-data recovery module includes a respective fractionally adjustable frequency-lock loop. There is a reference clock input providing a reference clock for a plurality of the fractionally adjustable phase-locked loops and the fractionally adjustable frequency-lock loops. The reference clock input can be a sole reference clock input providing a reference clock for all of the adjustable phase-locked frequency-lock loops. Alternatively, the reference clock input can include a plurality of separate reference clock inputs, each providing a separate reference clock to a predetermined subset of the adjustable phase-locked or frequency-lock loops.
1. A method to operate an integrated circuit comprising:
providing a reference clock to a plurality of transceivers of the integrated circuit;
programming a fractionally-adjustable phase-locked loop (PLL) of a first transceiver of the plurality of transceivers based on a first target data rate of the first transceiver and a clock rate of the reference clock;
providing an input data signal to the first transceiver, wherein the input data signal comprises an input data rate;
in a frequency lock mode, producing an output clock signal at the first target data rate of the first transceiver using the reference clock input and the fractionally-adjustable PLL; and
in a data lock mode, producing the output clock signal at the input data rate based on the input data signal.
2. The method of claim 1 , wherein the integrated circuit comprises a clock-and-data recovery module that comprises the first transceiver.
3. The method of claim 1 , programming a fractionally-adjustable PLL comprises adjusting a value of a fractional loop counter of the first transceiver.
4. The method of claim 1 , wherein producing the output clock signal corresponding to the first target data rate comprises:
measuring a phase difference between the output clock signal and the reference clock input using a phase-frequency detector of the first transceiver; and
adjusting the PLL clock signal based on the phase difference using a voltage-controlled oscillator.
5. The method of claim 1 , wherein producing the output clock signal at the input data rate based on the input data signal comprises measuring a phase difference between the output clock signal and the input data signal using phase detector of the first transceiver.
6. The method of claim 1 , comprising:
in the frequency lock mode, determining that a first rate of the output clock signal approximates the first target data rate using a lock-detect circuit;
switching from the frequency lock mode to the lock detect mode based on the determination that the first rate approximates the first data rate; and
in the data lock mode, adjusting the frequency of the output clock signal from the first target data rate to the input data rate.
7. The method of claim 6 , wherein switching from the frequency lock mode to the lock detect mode comprises adjusting a multiplexor of the first transceiver.
8. The method of claim 1 , wherein the target data rate corresponds to 10 Gbps.
9. A transceiver configured to receive a first input signal, the transceiver comprising:
a phase-locked loop that comprises:
a phase-frequency detector that receives a reference clock signal from a clock signal generator at a fixed clock frequency and a second clock signal from a fractional loop counter configured to receive an output clock signal, wherein the fractional loop counter is programmed to set a frequency of the output clock signal to a first target frequency based on a difference between the fixed clock frequency and a data frequency of the first input signal;
a phase detector that receives the input data signal and the output clock signal, and is configured to set the frequency of the output clock signal to the data frequency of the first input signal; and
a multiplexor coupled to the phase-frequency detector and to the phase detector;
wherein the clock signal generator is configured to provide the clock signal at the fixed clock frequency to a second transceiver configured to receive a second input signal that comprises a second data frequency different from the first data frequency.
10. The transceiver of claim 9 , comprising a fractional loop counter coupled to the voltage-controlled oscillator that produces the output clock signal to the phase-frequency detector.
11. The transceiver of claim 9 , comprising a lock-detect circuit that produces a lock-detect signal based on a difference between the reference clock signal and the second clock signal.
12. The transceiver of claim 11 , wherein the multiplexor selects between the phase-frequency detector and the phase detector based on the lock-detect signal.
13. The transceiver of claim 9 , comprising a voltage-controlled oscillator coupled to the multiplexor that provides the output clock signal to the phase detector.
14. The transceiver of claim 9 , comprising circuitry that recovers serial data based on the output clock signal and the input data signal.
15. The transceiver of claim 9 , comprising circuitry that produces serial data based on the output clock signal.
16. An integrated circuit comprising:
a plurality of transceivers, each transceiver comprising a phase-locked loop (PLL) circuitry configured to receive a reference clock signal at a fixed clock frequency from a clock generator, wherein each transceiver is configured to receive a respective input data signal at a respective data frequency, and wherein each respective PLL circuitry comprises:
a respective frequency lock loop comprising:
a fractional loop counter coupled to a voltage-controlled oscillator, wherein the fractional loop counter is programmed based on the clock frequency and on a respective target frequency that approximates the respective data frequency; and
a phase-frequency detector that receives the reference clock signal and is coupled to the fractional loop counter;
a respective data lock loop comprising a phase detector that receives the respective input data signal and is coupled to the voltage-controlled oscillator; and
a respective multiplexor that selects between the respective frequency lock loop and the respective fractional loop counter.
17. The integrated circuitry of claim 16 , wherein each respective PLL circuitry comprises a lock-detect circuit that adjusts the selection of the multiplexor based on a difference between the reference clock signal and a respective output data signal of the respective fractional loop counter.