US20080240320A1 - Transmit clock generator - Google Patents

Transmit clock generator Download PDF

Info

Publication number
US20080240320A1
US20080240320A1 US12/135,226 US13522608A US2008240320A1 US 20080240320 A1 US20080240320 A1 US 20080240320A1 US 13522608 A US13522608 A US 13522608A US 2008240320 A1 US2008240320 A1 US 2008240320A1
Authority
US
United States
Prior art keywords
clock
synchronization
clock generator
signal
generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/135,226
Inventor
Timothy Clyde Buchholtz
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US12/135,226 priority Critical patent/US20080240320A1/en
Publication of US20080240320A1 publication Critical patent/US20080240320A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0091Transmitter details

Definitions

  • the present invention relates generally to the data processing field, and more particularly, relates to a method of clock generation for a transmitter and a transmit clock generator.
  • Integrated circuits forming a system-on-a-chip typically utilize serial links to provide chip-to-chip interconnects in high-speed network systems. Such links often define a Front Side Bus (FSB) that includes a slower link layer that interfaces to a higher speed physical (PHY) layer.
  • the PHY typically consists of a plurality of transmitter (Tx) cores that receive parallel data streams from the link layer and serially launch this data off-chip over the transmission media.
  • System clocking is normally provided externally using a phase locked loop (PLL).
  • PLL phase locked loop
  • a probable scenario would be to provide quarter rate clocks to the link layer operating at 1.35 GHz and full rate clocks to the PHY operating at 5.4 GHz. Since the same PLL provides both sets of clocks the clocks are frequency synchronous but the phase relationship between them is unknown.
  • an asynchronous interface must first be handled before the parallel data sent from the FSB link layer can be reliably received by the PHY Tx cores.
  • This function is performed by the Tx clock generator that must create local phase synchronous versions of the quarter rate link layer clock. These local clocks are then used to capture, serialize, and then transmit the data off-chip.
  • a local half rate clock operating at 2.7 GHz and phase synchronous to the full rate PHY clock captures incoming data.
  • An additional local phase synchronous quarter rate clock assists in the serialization and the data is then transmitted using both transitions of the previous local half rate clock, producing a serial data rate of 5.4 Gbps across the link.
  • Disadvantages of conventional arrangements for creating these local phase synchronous clocks include the inherent circuit complexity required for generating multiple waveform sets for phase synchronization and for generating training sequences. Such conventional arrangements require excessive hardware for dual waveform construction and associated multiplexing and control, and for training closure.
  • Tx transmitter
  • Principal aspects of the present invention are to provide a method of clock generation for a transmitter and a transmit clock generator. Other important aspects of the present invention are to provide such method of clock generation for a transmitter and a transmit clock generator substantially without negative effect and that overcome many of the disadvantages of prior art arrangements.
  • a transmit clock generator and a method of clock generation for a transmitter are provided.
  • a first local clock generator and a second local clock generator receiving an external PLL clock signal and respectively generating first and second divided clock signals.
  • a synchronization signal is applied to the first local clock generator and second local clock generator during a clock training period to enforce a phase relationship between the first and second divided clock signals.
  • the synchronization signal includes at least one synchronization pulse that is applied to the first local clock generator and second local clock generator during the clock training period.
  • the synchronization signal is generated using a data clock sampler that receives and samples a data synchronous clock signal, referred to as data_sample, that is derived from a link layer clock, and sampled by the external full rate PLL clock.
  • Sample outputs of the data clock sampler are applied to a synchronization pulse generator that detects rising edge samples from the data clock sampler and outputs rising edge synchronization pulses.
  • a gated synchronization repower tree repowers the rising edge synchronization pulses.
  • a synchronization control signal generated by a clock synchronization control gates the gated synchronization repower tree to allow at least one synchronization pulse to be applied to the first local clock generator and second local clock generator only during the clock training period.
  • the clock training period is established by the clock synchronization control responsive to an applied reset signal indicating proper power to the transmitter has been established and no reset conditions are pending and an applied input indicating valid synchronization pulses are being produced.
  • FIG. 1 is a block diagram illustrating an exemplary transmit clock generator in accordance with the preferred embodiment
  • FIG. 2 illustrates an exemplary clock initialization/reset functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment
  • FIG. 3 illustrates an exemplary clock synchronization control functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment
  • FIG. 4 illustrates an exemplary data clock sampler functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment
  • FIG. 5 illustrates an exemplary synchronization pulse generator functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment
  • FIG. 6 illustrates an exemplary gated synchronization repower tree functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment
  • FIG. 7 illustrates an exemplary half rate local 2.7 GHz clock generator functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment
  • FIG. 8 illustrates an exemplary quarter rate local 1.35 GHz clock generator functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment.
  • Transmit clock generator 100 is illustrated and described for a link layer data rate of 1.35 GHz (1 ⁇ 4 ⁇ ) and a sampling data rate of 5.4 GHz (1 ⁇ ); however, it should be understood that principles of the present invention are applicable to various other link layer and sampling data rates.
  • advantages include: 1) Robustness, the new method of clock generation implemented by transmit clock generator 100 is insensitive to the duty cycle of the DATA_SAMPLE clock, such as a Front Side Bus (FSB) 1.35 GHz link layer clock and provides an enhanced and dependable training closure scheme. 2) Simplicity, the new method of clock generation requires less hardware than conventional arrangements since it avoids dual waveform construction and associated multiplexing and control, and simpler training closure hardware. 3) Flexibility, the new method of clock generation enables the use a wider range of DATA_SAMPLE frequencies. 4) Extendibility, the new method of clock generation easily supports additional levels of serialization by adding additional local clock generators, sharing common synchronization signals.
  • DATA_SAMPLE clock such as a Front Side Bus (FSB) 1.35 GHz link layer clock
  • clock synchronization is provided within a narrow time window, or training period, during system power on.
  • Transmit clock generator 100 samples an incoming clock, with frequency 1 ⁇ 4 ⁇ (1.35 GHz) and phase y, with a sampling clock of frequency 1 ⁇ (5.4 GHz) and a phase z, once each cycle of the sampling clock.
  • the incoming clock shown as DATA_SAMPLE in FIG. 1 , is sampled at both its high value and low value provided the sampling does not occur during a rising or falling transition which could fall in the metastable region of the sampling clock. However, if the sampling does occur within the metastable region of the sampling clock this sample is still retained since the new transition value has been either just captured or just missed.
  • metastability is resolved by double latching the sampled waveforms, as shown in FIG. 4 using an L1L2 latch pair.
  • transmit clock generator 100 performs a rising edge detect on the incoming clock and so is insensitive to its duty cycle. Transmit clock generator 100 does not rely upon repetitive periodic waveforms to produce reliable local clocks and avoids the use of multiple data clock samplers which guard against making clock synchronization decisions based on potentially metastable sampling of the DATA_SAMPLE clock. Such conventional schemes often require additional hardware to produce multiple chains of sampling latches, delay elements, comparison logic, and the extra multiplexing needed to select proper DATA_SAMPLE clock samples for clock synchronization.
  • Transmit clock generator 100 only relies on rising edge transitions of the incoming DATA_SAMPLE and since it needs only one valid synchronization pulse to train the local clock generators, it is capable of using an incoming DATA_SAMPLE at the 1 ⁇ 4 ⁇ frequency or a frequency that has been divided down, say 1 ⁇ 8 ⁇ or 1/16 ⁇ .
  • the transmit clock generator 100 includes multiple functional blocks including a Clock Initialization/Reset 102 , a Clock Synchronization Control 104 , a Data Clock Sampler 106 , a Synchronization Pulse Generator 108 , a Gated Synchronization Repower Tree 110 , a Local 2.7 GHz Clock Generator 112 , and a Local 1.35 GHz Clock Generator 114 .
  • a power good signal PGOOD and a transmit reset signal TX_RESET are applied to the Clock Initialization/Reset 102 , which generates an output reset signal RESET_B.
  • transmit clock generator 100 remains in a synchronization mode and will train the local serialization clocks 112 , 114 , synchronizing the local serialization clocks with applied differential 5.4 GHz PLL clock inputs that are generated external to the transmit clock generator 100 .
  • This condition forces the output of the Clock Initialization/Reset 102 , RESET_B, to be low.
  • the Clock Synchronization Control 104 receives the output of the Clock Initialization/Reset 102 , RESET_B and an output N_SYNC of the Synchronization Pulse Generator 108 and generates an output signal CLOSE_LOOP that indicates when the clock synchronization loop is able to be closed.
  • Clock Synchronization Control 104 is used to determine whether the transmit clock generator 100 needs to continue sampling the DATA_SAMPLE clock using Data Clock Sampler 106 to generate synchronization pulses to train the Local 2.7 GHz (1 ⁇ 2 ⁇ ) Clock Generator 112 and the Local 1.35 GHz (1 ⁇ 4 ⁇ ) Clock Generator 114 or whether these local clocks have already been properly synchronized.
  • the output signal RESET_B from the Clock Initialization/Reset 102 indicates that proper power has been established and that no reset conditions are pending.
  • the output signal N_SYNC from the Synchronization Pulse Generator 108 indicates that valid synchronization pulses are being produced. This information is used to generate the output signal CLOSE_LOOP that is applied to the Gated Synchronization Repower Tree 110 which generates synchronization pulses applied to the Local 2.7 GHz (1 ⁇ 2 ⁇ ) Clock Generator 112 and the Local 1.35 GHz (1 ⁇ 4 ⁇ ) Clock Generator 114 .
  • the Synchronization Pulse Generator 108 is responsive to the rising edge samples of the DATA_SAMPLE and, when detected, outputs latched, active-high sync pulses via the Gated Synchronization Repower Tree 110 that are 1 unit-interval (UI) in duration, where a UI is defined as the period of the 5.4 GHz clock.
  • UI unit-interval
  • These sync pulses SYNC serve two purposes, to synchronize clocks to be used to capture, serialize, and transmit the link layer data and handshaking to indicate that synchronization has been completed.
  • the frequency dividers indicated in the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 are not only frequency synchronous with the local 5.4 GHz PLL clocks but also phase determinate.
  • the Sync Pulse Generator 108 via the Gated Synchronization Repower Tree 110 feeds these dividers of the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 and forces the required phase relationships, possibly overriding previously established relationships.
  • synchronization pulses are sent to the Local 2.7 GHz (1 ⁇ 2 ⁇ ) Clock Generator 112 and the Local 1.35 GHz (1 ⁇ 4 ⁇ ) Clock Generator 114 to force these local clock generators that are already frequency synchronous with the 5.4 GHz PLL clock inputs to also be phase determinate.
  • the phase relationship between the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 is important to properly serialize the parallel data received from the FSB link layer.
  • the clocks of the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 are generated using frequency dividers, clocked by the 5.4 GHz PLL clocks, as illustrated and described with respect to FIGS. 7 and 8 .
  • Clock Initialization/Reset functional block 102 is formed by a level shifter 202 receiving the PGOOD signal and coupled by a first L1L2 latch pair 204 and a second L1L2 latch pair 206 to a first input of a two input AND gate 208 .
  • the TX_RESET signal is applied to a level shifter 210 and coupled by a first L1L2 latch pair 212 and a second L1L2 latch pair 214 to a second inverting input of the two input AND gate 208 .
  • L 54 _N, L 54 _P Externally generated differential 5.4 GHz PLL clock inputs labeled L 54 _N, L 54 _P are applied to respective clock inputs of the L1L2 latch pairs 204 , 206 , 212 , 214 .
  • the AND gate 208 provides the output signal RESET_B of the Clock Initialization/Reset 102 .
  • the level shifters 202 and 210 optionally are provided for voltage level shifting where needed when the link layer and physical layer have different voltage domains.
  • the PGOOD signal is applied to the L1L2 latch pair 204 and similarly the TX_RESET signal is applied to the L1L2 latch pair 212 , when the optional level shifters 202 and 210 are eliminated.
  • Clock Synchronization Control 104 is formed by a two input OR gate 302 coupled to a two input AND gate 304 coupled to an L1L2 latch pair 306 providing the output signal CLOSE_LOOP.
  • OR gate 302 receives the N_SYNC output of the Synchronization Pulse Generator 108 and feedback of the generated output signal CLOSE_LOOP.
  • AND gate 304 receives the output of OR gate 302 and the output signal RESET_B from the Clock Initialization/Reset 102 .
  • the output of AND gate 304 is applied to the L1 latch of the L1L2 latch pair 306 .
  • the externally generated differential 5.4 GHz PLL clock inputs L 54 _N, L 54 _P are applied to respective clock inputs of the L1L2 latch pair 306 that provides the output signal CLOSE_LOOP at the L2 latch output.
  • Data Clock Sampler 106 includes a plurality of series connected L1L2 latch pairs 402 , 404 , 406 , 408 , each clocked at the externally generated differential 5.4 GHz PLL clock inputs.
  • a clock input derived from the link layer clock and sharing the same timing relationship with respect to the link layer clock as the raw, unserialized link layer data, shown as DATA_SAMPLE, is applied as an input to the Data Clock Sampler 106 to the master L1 latch of the first latch pair 402 .
  • the Data Clock Sampler 106 also receives a frequency synchronous sampling clock, which is for example, a repowered copy of the external differential 5.4 GHz PLL clock.
  • the sampled DATA_SAMPLE at the NCP2 output of L1L2 latch pair 406 and the NCP3 output of L1L2 latch pair 408 , is directed to the Synchronization Pulse Generator 108 , which performs a rising edge detection.
  • the Data Clock Sampler 106 performs a 4 ⁇ or greater over-sampling of the 1.35 GHz or slower DATA_SAMPLE input clock using a sampling latch clocked at 5.4 GHz. Since the DATA_SAMPLE input shares the same timing relationships as the raw data received from the link layer, this is equivalent to actually sampling the raw data itself and creating synchronous clocks that will be used to capture, serialize, and transmit the raw data in the Tx first-in first-out registers (FIFOs) and drivers (not shown).
  • the sampling L1 latch of the Data Clock Sampler 106 is the first L1 (master) sampling latch of latch pair 402 that captures the DATA_SAMPLE input.
  • the remaining latches L2 of the first latch pair 402 , and L1L2 latch pairs 404 , 406 , 408 are used in pipelining the samples and to filter out any metastable effects resulting when the asynchronous DATA_SAMPLE input arrives in the metastable region of the L1 sampling latch.
  • the only samples of interest are in the region of rising DATA_SAMPLE transitions, correspondingly rising link layer clock transitions, which signal the beginning and subsequent end of a raw data cycle. If the rising DATA_SAMPLE edge occurs within the metastable region of the L1 sampling latch 402 the value of the sample is indeterminate and this leads to a quantization error of at most 1 UI. Since the raw data cycle itself is only 4 UI wide, this 1 UI quantization error needs to be accounted for in balancing the overall setup and hold margins when latching the raw data to be serialized in the Tx FIFOs.
  • Synchronization Pulse Generator 108 includes a two input AND gate 502 that receives the NCP2 output of L1L2 latch pair 406 and receives and inverts the NCP3 output of L1L2 latch pair 408 of the Data Clock Sampler 106 .
  • the ANDED outputs NCP2 and inverted NCP3 provide the N_SYNC of the Synchronization Pulse Generator 108 .
  • Gated Synchronization Repower Tree 110 includes a two input AND gate 602 receiving the N_SYNC of the Synchronization Pulse Generator 108 and receiving and inverting the CLOSE_LOOP output of the Clock Synchronization Control 104 that together define the synchronization training period.
  • the ANDED outputs N_SYNC and inverted CLOSE_LOOP provide the SYNC pulse output of AND gate 602 that is applied to the local clock generators 112 and 114 .
  • the rising edge synchronization pulses N_SYNC output of the Synchronization Pulse Generator 108 are then repowered in the Gated Synchronization Repower Tree 110 , where they are also gated by a synchronization control signal output CLOSE_LOOP, provided by the Clock Synchronization Control 104 , that only allows synchronization pulses to be sent to the local clock generation blocks 112 , 114 if the clock synchronization loop is open.
  • the first sync pulse N_SYNC sent to the Clock Sync Control 104 activates the CLOSE_LOOP control signal that will gate off the Gated Synchronization Repower Tree 110 , preventing subsequent SYNC pulses from being generated.
  • the control loop terminates the training based upon valid power, the absence of any Tx resets, and the receipt of at least one valid synchronization pulse. This keeps the 2.7 GHz and 1.35 GHz frequency dividers of the local clock generators 112 and 114 in a free running state where they retain the phase relationships dictated by the last received sync pulse during the training period.
  • FIG. 7 illustrates an exemplary Local 2.7 GHz Clock Generator functional block 112 of the transmit clock generator 100 in accordance with the preferred embodiment.
  • Local 2.7 GHz Clock Generator 112 includes a frequency divider defined by a multiplexer 702 used for testing coupled to a two input OR gate 704 coupled to an L1L2 latch pair 706 with the clock output labeled LCLK 27 _P of the L2 latch fed back to a first input of multiplexer 702 .
  • the SYNC output of the Gated Synchronization Repower Tree 110 is applied to an input of OR gate 704 .
  • the external differential 5.4 GHz PLL clock drives the L1L2 latch pair 706 that create the half rate frequency or 2.7 GHz output LCLK 27 _P.
  • FIG. 8 illustrates an exemplary Local 1.35 GHz Clock Generator functional block of the transmit clock generator 100 in accordance with the preferred embodiment.
  • Local 1.35 GHz Clock Generator 114 includes a frequency divider defined by a multiplexer 802 used for testing coupled to a first two input OR gate 804 coupled to an L1L2 latch pair 806 .
  • the L1L2 latch pair 806 is coupled to a second two input OR gate 808 coupled to an L1L2 latch pair 810 with the clock output labeled LCLK 135 _P of the L2 latch fed back to a first input of multiplexer 802 .
  • the SYNC output of the Gated Synchronization Repower Tree 110 is applied to an input of the OR gates 804 , 808 .
  • the external differential 5.4 GHz PLL clock drives the L1L2 latch pairs 806 , 810 that create the quarter rate frequency or 1.35 GHz output LCLK 135 _P.

Abstract

A transmit clock generator includes a first local clock generator and a second local clock generator, each receiving an external PLL clock signal and respectively generating first and second divided clock signals. A synchronization signal is applied to the first local clock generator and second local clock generator during a clock training period to enforce a phase relationship between the first and second divided clock signals. The synchronization signal includes at least one synchronization pulse that is applied to the first local clock generator and second local clock generator during the clock training period.

Description

    FIELD OF THE INVENTION
  • The present invention relates generally to the data processing field, and more particularly, relates to a method of clock generation for a transmitter and a transmit clock generator.
  • DESCRIPTION OF THE RELATED ART
  • Integrated circuits forming a system-on-a-chip (SoC) typically utilize serial links to provide chip-to-chip interconnects in high-speed network systems. Such links often define a Front Side Bus (FSB) that includes a slower link layer that interfaces to a higher speed physical (PHY) layer. The PHY typically consists of a plurality of transmitter (Tx) cores that receive parallel data streams from the link layer and serially launch this data off-chip over the transmission media. System clocking is normally provided externally using a phase locked loop (PLL). A probable scenario would be to provide quarter rate clocks to the link layer operating at 1.35 GHz and full rate clocks to the PHY operating at 5.4 GHz. Since the same PLL provides both sets of clocks the clocks are frequency synchronous but the phase relationship between them is unknown.
  • As a result an asynchronous interface must first be handled before the parallel data sent from the FSB link layer can be reliably received by the PHY Tx cores. This function is performed by the Tx clock generator that must create local phase synchronous versions of the quarter rate link layer clock. These local clocks are then used to capture, serialize, and then transmit the data off-chip. In the scenario described previously a local half rate clock operating at 2.7 GHz and phase synchronous to the full rate PHY clock captures incoming data. An additional local phase synchronous quarter rate clock assists in the serialization and the data is then transmitted using both transitions of the previous local half rate clock, producing a serial data rate of 5.4 Gbps across the link. Disadvantages of conventional arrangements for creating these local phase synchronous clocks include the inherent circuit complexity required for generating multiple waveform sets for phase synchronization and for generating training sequences. Such conventional arrangements require excessive hardware for dual waveform construction and associated multiplexing and control, and for training closure.
  • A need exists for an improved transmitter (Tx) clock generation technique for creating the local phase synchronous clocks required to capture, serialize, and transmit the incoming parallel data from the FSB link layer.
  • SUMMARY OF THE INVENTION
  • Principal aspects of the present invention are to provide a method of clock generation for a transmitter and a transmit clock generator. Other important aspects of the present invention are to provide such method of clock generation for a transmitter and a transmit clock generator substantially without negative effect and that overcome many of the disadvantages of prior art arrangements.
  • In brief, a transmit clock generator and a method of clock generation for a transmitter are provided. A first local clock generator and a second local clock generator receiving an external PLL clock signal and respectively generating first and second divided clock signals. A synchronization signal is applied to the first local clock generator and second local clock generator during a clock training period to enforce a phase relationship between the first and second divided clock signals. The synchronization signal includes at least one synchronization pulse that is applied to the first local clock generator and second local clock generator during the clock training period.
  • In accordance with features of the invention, the synchronization signal is generated using a data clock sampler that receives and samples a data synchronous clock signal, referred to as data_sample, that is derived from a link layer clock, and sampled by the external full rate PLL clock. Sample outputs of the data clock sampler are applied to a synchronization pulse generator that detects rising edge samples from the data clock sampler and outputs rising edge synchronization pulses. A gated synchronization repower tree repowers the rising edge synchronization pulses. A synchronization control signal generated by a clock synchronization control gates the gated synchronization repower tree to allow at least one synchronization pulse to be applied to the first local clock generator and second local clock generator only during the clock training period.
  • In accordance with features of the invention, the clock training period is established by the clock synchronization control responsive to an applied reset signal indicating proper power to the transmitter has been established and no reset conditions are pending and an applied input indicating valid synchronization pulses are being produced.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention together with the above and other objects and advantages may best be understood from the following detailed description of the preferred embodiments of the invention illustrated in the drawings, wherein:
  • FIG. 1 is a block diagram illustrating an exemplary transmit clock generator in accordance with the preferred embodiment;
  • FIG. 2 illustrates an exemplary clock initialization/reset functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment;
  • FIG. 3 illustrates an exemplary clock synchronization control functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment;
  • FIG. 4 illustrates an exemplary data clock sampler functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment;
  • FIG. 5 illustrates an exemplary synchronization pulse generator functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment;
  • FIG. 6 illustrates an exemplary gated synchronization repower tree functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment;
  • FIG. 7 illustrates an exemplary half rate local 2.7 GHz clock generator functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment; and
  • FIG. 8 illustrates an exemplary quarter rate local 1.35 GHz clock generator functional block of the exemplary transmit clock generator of FIG. 1 in accordance with the preferred embodiment.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Having reference now to the drawings, in FIG. 1, there is shown an exemplary transmit clock generator generally designated by the reference character 100 in accordance with the preferred embodiment. Transmit clock generator 100 is illustrated and described for a link layer data rate of 1.35 GHz (¼×) and a sampling data rate of 5.4 GHz (1×); however, it should be understood that principles of the present invention are applicable to various other link layer and sampling data rates.
  • In accordance with features of the transmit clock generator of the preferred embodiment, advantages include: 1) Robustness, the new method of clock generation implemented by transmit clock generator 100 is insensitive to the duty cycle of the DATA_SAMPLE clock, such as a Front Side Bus (FSB) 1.35 GHz link layer clock and provides an enhanced and dependable training closure scheme. 2) Simplicity, the new method of clock generation requires less hardware than conventional arrangements since it avoids dual waveform construction and associated multiplexing and control, and simpler training closure hardware. 3) Flexibility, the new method of clock generation enables the use a wider range of DATA_SAMPLE frequencies. 4) Extendibility, the new method of clock generation easily supports additional levels of serialization by adding additional local clock generators, sharing common synchronization signals.
  • In accordance with features of the preferred embodiment, clock synchronization is provided within a narrow time window, or training period, during system power on. Transmit clock generator 100 samples an incoming clock, with frequency ¼× (1.35 GHz) and phase y, with a sampling clock of frequency 1× (5.4 GHz) and a phase z, once each cycle of the sampling clock. The incoming clock, shown as DATA_SAMPLE in FIG. 1, is sampled at both its high value and low value provided the sampling does not occur during a rising or falling transition which could fall in the metastable region of the sampling clock. However, if the sampling does occur within the metastable region of the sampling clock this sample is still retained since the new transition value has been either just captured or just missed. If the new transition value was just missed, a new transition value will be captured in the next cycle of the sampling clock so that the sampling accuracy is within one cycle of the sampling clock. In the transmit clock generator 100 metastability is resolved by double latching the sampled waveforms, as shown in FIG. 4 using an L1L2 latch pair.
  • In accordance with features of the preferred embodiment, transmit clock generator 100 performs a rising edge detect on the incoming clock and so is insensitive to its duty cycle. Transmit clock generator 100 does not rely upon repetitive periodic waveforms to produce reliable local clocks and avoids the use of multiple data clock samplers which guard against making clock synchronization decisions based on potentially metastable sampling of the DATA_SAMPLE clock. Such conventional schemes often require additional hardware to produce multiple chains of sampling latches, delay elements, comparison logic, and the extra multiplexing needed to select proper DATA_SAMPLE clock samples for clock synchronization. Transmit clock generator 100 only relies on rising edge transitions of the incoming DATA_SAMPLE and since it needs only one valid synchronization pulse to train the local clock generators, it is capable of using an incoming DATA_SAMPLE at the ¼× frequency or a frequency that has been divided down, say ⅛× or 1/16×.
  • As shown in FIG. 1, the transmit clock generator 100 includes multiple functional blocks including a Clock Initialization/Reset 102, a Clock Synchronization Control 104, a Data Clock Sampler 106, a Synchronization Pulse Generator 108, a Gated Synchronization Repower Tree 110, a Local 2.7 GHz Clock Generator 112, and a Local 1.35 GHz Clock Generator 114.
  • A power good signal PGOOD and a transmit reset signal TX_RESET are applied to the Clock Initialization/Reset 102, which generates an output reset signal RESET_B. Until the Clock Initialization/Reset 102 receives an active PGOOD signal or as long as there is a pending TX_RESET, transmit clock generator 100 remains in a synchronization mode and will train the local serialization clocks 112, 114, synchronizing the local serialization clocks with applied differential 5.4 GHz PLL clock inputs that are generated external to the transmit clock generator 100. This condition forces the output of the Clock Initialization/Reset 102, RESET_B, to be low. When an active PGOOD signal is received and when there is no outstanding TX_RESET then the output of the Clock Initialization/Reset 102, RESET_B, goes high.
  • As shown in FIG. 1, the Clock Synchronization Control 104 receives the output of the Clock Initialization/Reset 102, RESET_B and an output N_SYNC of the Synchronization Pulse Generator 108 and generates an output signal CLOSE_LOOP that indicates when the clock synchronization loop is able to be closed. Clock Synchronization Control 104 is used to determine whether the transmit clock generator 100 needs to continue sampling the DATA_SAMPLE clock using Data Clock Sampler 106 to generate synchronization pulses to train the Local 2.7 GHz (½×) Clock Generator 112 and the Local 1.35 GHz (¼×) Clock Generator 114 or whether these local clocks have already been properly synchronized.
  • The output signal RESET_B from the Clock Initialization/Reset 102 indicates that proper power has been established and that no reset conditions are pending. The output signal N_SYNC from the Synchronization Pulse Generator 108 indicates that valid synchronization pulses are being produced. This information is used to generate the output signal CLOSE_LOOP that is applied to the Gated Synchronization Repower Tree 110 which generates synchronization pulses applied to the Local 2.7 GHz (½×) Clock Generator 112 and the Local 1.35 GHz (¼×) Clock Generator 114.
  • The Synchronization Pulse Generator 108 is responsive to the rising edge samples of the DATA_SAMPLE and, when detected, outputs latched, active-high sync pulses via the Gated Synchronization Repower Tree 110 that are 1 unit-interval (UI) in duration, where a UI is defined as the period of the 5.4 GHz clock. These sync pulses SYNC serve two purposes, to synchronize clocks to be used to capture, serialize, and transmit the link layer data and handshaking to indicate that synchronization has been completed. Properly serializing the raw link layer data requires that the frequency dividers indicated in the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 are not only frequency synchronous with the local 5.4 GHz PLL clocks but also phase determinate. The Sync Pulse Generator 108 via the Gated Synchronization Repower Tree 110 feeds these dividers of the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 and forces the required phase relationships, possibly overriding previously established relationships.
  • When the output signal CLOSE_LOOP indicates that the clock synchronization loop is still open, synchronization pulses are sent to the Local 2.7 GHz (½×) Clock Generator 112 and the Local 1.35 GHz (¼×) Clock Generator 114 to force these local clock generators that are already frequency synchronous with the 5.4 GHz PLL clock inputs to also be phase determinate. The phase relationship between the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 is important to properly serialize the parallel data received from the FSB link layer. The clocks of the Local 2.7 GHz Clock Generator 112 and the Local 1.35 GHz Clock Generator 114 are generated using frequency dividers, clocked by the 5.4 GHz PLL clocks, as illustrated and described with respect to FIGS. 7 and 8.
  • Referring now to FIG. 2, there is shown an exemplary clock initialization/reset functional block 102 of the transmit clock generator 100 in accordance with the preferred embodiment. Clock Initialization/Reset functional block 102 is formed by a level shifter 202 receiving the PGOOD signal and coupled by a first L1L2 latch pair 204 and a second L1L2 latch pair 206 to a first input of a two input AND gate 208. The TX_RESET signal is applied to a level shifter 210 and coupled by a first L1L2 latch pair 212 and a second L1L2 latch pair 214 to a second inverting input of the two input AND gate 208. Externally generated differential 5.4 GHz PLL clock inputs labeled L54_N, L54_P are applied to respective clock inputs of the L1L2 latch pairs 204, 206, 212, 214. The AND gate 208 provides the output signal RESET_B of the Clock Initialization/Reset 102. The level shifters 202 and 210 optionally are provided for voltage level shifting where needed when the link layer and physical layer have different voltage domains. The PGOOD signal is applied to the L1L2 latch pair 204 and similarly the TX_RESET signal is applied to the L1L2 latch pair 212, when the optional level shifters 202 and 210 are eliminated.
  • Referring now to FIG. 3, there is shown an exemplary Clock Synchronization Control functional block 104 of the transmit clock generator 100 in accordance with the preferred embodiment. Clock Synchronization Control 104 is formed by a two input OR gate 302 coupled to a two input AND gate 304 coupled to an L1L2 latch pair 306 providing the output signal CLOSE_LOOP. OR gate 302 receives the N_SYNC output of the Synchronization Pulse Generator 108 and feedback of the generated output signal CLOSE_LOOP. AND gate 304 receives the output of OR gate 302 and the output signal RESET_B from the Clock Initialization/Reset 102. The output of AND gate 304 is applied to the L1 latch of the L1L2 latch pair 306. The externally generated differential 5.4 GHz PLL clock inputs L54_N, L54_P are applied to respective clock inputs of the L1L2 latch pair 306 that provides the output signal CLOSE_LOOP at the L2 latch output.
  • Referring now to FIG. 4, there is shown an exemplary Data Clock Sampler functional block 106 of the transmit clock generator 100 in accordance with the preferred embodiment. Data Clock Sampler 106 includes a plurality of series connected L1L2 latch pairs 402, 404, 406, 408, each clocked at the externally generated differential 5.4 GHz PLL clock inputs.
  • A clock input, derived from the link layer clock and sharing the same timing relationship with respect to the link layer clock as the raw, unserialized link layer data, shown as DATA_SAMPLE, is applied as an input to the Data Clock Sampler 106 to the master L1 latch of the first latch pair 402. The Data Clock Sampler 106 also receives a frequency synchronous sampling clock, which is for example, a repowered copy of the external differential 5.4 GHz PLL clock. The sampled DATA_SAMPLE, at the NCP2 output of L1L2 latch pair 406 and the NCP3 output of L1L2 latch pair 408, is directed to the Synchronization Pulse Generator 108, which performs a rising edge detection.
  • During a training period the Data Clock Sampler 106 performs a 4× or greater over-sampling of the 1.35 GHz or slower DATA_SAMPLE input clock using a sampling latch clocked at 5.4 GHz. Since the DATA_SAMPLE input shares the same timing relationships as the raw data received from the link layer, this is equivalent to actually sampling the raw data itself and creating synchronous clocks that will be used to capture, serialize, and transmit the raw data in the Tx first-in first-out registers (FIFOs) and drivers (not shown). The sampling L1 latch of the Data Clock Sampler 106 is the first L1 (master) sampling latch of latch pair 402 that captures the DATA_SAMPLE input. The remaining latches L2 of the first latch pair 402, and L1L2 latch pairs 404, 406, 408 are used in pipelining the samples and to filter out any metastable effects resulting when the asynchronous DATA_SAMPLE input arrives in the metastable region of the L1 sampling latch. To eliminate sensitivity to the duty cycle of the link layer clock, the only samples of interest are in the region of rising DATA_SAMPLE transitions, correspondingly rising link layer clock transitions, which signal the beginning and subsequent end of a raw data cycle. If the rising DATA_SAMPLE edge occurs within the metastable region of the L1 sampling latch 402 the value of the sample is indeterminate and this leads to a quantization error of at most 1 UI. Since the raw data cycle itself is only 4 UI wide, this 1 UI quantization error needs to be accounted for in balancing the overall setup and hold margins when latching the raw data to be serialized in the Tx FIFOs.
  • Referring now to FIG. 5, there is shown an exemplary Synchronization Pulse Generator functional block 108 of the transmit clock generator 100 in accordance with the preferred embodiment. Synchronization Pulse Generator 108 includes a two input AND gate 502 that receives the NCP2 output of L1L2 latch pair 406 and receives and inverts the NCP3 output of L1L2 latch pair 408 of the Data Clock Sampler 106. The ANDED outputs NCP2 and inverted NCP3 provide the N_SYNC of the Synchronization Pulse Generator 108.
  • Referring now to FIG. 6, there is shown an exemplary Gated Synchronization Repower Tree functional block 110 of the transmit clock generator 100 in accordance with the preferred embodiment. Gated Synchronization Repower Tree 110 includes a two input AND gate 602 receiving the N_SYNC of the Synchronization Pulse Generator 108 and receiving and inverting the CLOSE_LOOP output of the Clock Synchronization Control 104 that together define the synchronization training period. The ANDED outputs N_SYNC and inverted CLOSE_LOOP provide the SYNC pulse output of AND gate 602 that is applied to the local clock generators 112 and 114.
  • The rising edge synchronization pulses N_SYNC output of the Synchronization Pulse Generator 108 are then repowered in the Gated Synchronization Repower Tree 110, where they are also gated by a synchronization control signal output CLOSE_LOOP, provided by the Clock Synchronization Control 104, that only allows synchronization pulses to be sent to the local clock generation blocks 112, 114 if the clock synchronization loop is open.
  • When an active PGOOD signal is received and when there is no outstanding TX_RESET the first sync pulse N_SYNC sent to the Clock Sync Control 104 under these conditions activates the CLOSE_LOOP control signal that will gate off the Gated Synchronization Repower Tree 110, preventing subsequent SYNC pulses from being generated. The control loop terminates the training based upon valid power, the absence of any Tx resets, and the receipt of at least one valid synchronization pulse. This keeps the 2.7 GHz and 1.35 GHz frequency dividers of the local clock generators 112 and 114 in a free running state where they retain the phase relationships dictated by the last received sync pulse during the training period.
  • FIG. 7 illustrates an exemplary Local 2.7 GHz Clock Generator functional block 112 of the transmit clock generator 100 in accordance with the preferred embodiment. Local 2.7 GHz Clock Generator 112 includes a frequency divider defined by a multiplexer 702 used for testing coupled to a two input OR gate 704 coupled to an L1L2 latch pair 706 with the clock output labeled LCLK27_P of the L2 latch fed back to a first input of multiplexer 702. The SYNC output of the Gated Synchronization Repower Tree 110 is applied to an input of OR gate 704. The external differential 5.4 GHz PLL clock drives the L1L2 latch pair 706 that create the half rate frequency or 2.7 GHz output LCLK27_P.
  • FIG. 8 illustrates an exemplary Local 1.35 GHz Clock Generator functional block of the transmit clock generator 100 in accordance with the preferred embodiment. Local 1.35 GHz Clock Generator 114 includes a frequency divider defined by a multiplexer 802 used for testing coupled to a first two input OR gate 804 coupled to an L1L2 latch pair 806. The L1L2 latch pair 806 is coupled to a second two input OR gate 808 coupled to an L1L2 latch pair 810 with the clock output labeled LCLK135_P of the L2 latch fed back to a first input of multiplexer 802. The SYNC output of the Gated Synchronization Repower Tree 110 is applied to an input of the OR gates 804, 808. The external differential 5.4 GHz PLL clock drives the L1L2 latch pairs 806, 810 that create the quarter rate frequency or 1.35 GHz output LCLK135_P.
  • While the present invention has been described with reference to the details of the embodiments of the invention shown in the drawing, these details are not intended to limit the scope of the invention as claimed in the appended claims.

Claims (12)

1-4. (canceled)
5. A transmit clock generator for clock generation for a transmitter comprising:
a first local clock generator and a second local clock generator, each receiving an external PLL clock signal and respectively generating first and second divided clock signals;
a synchronization signal for enforcing a phase relationship between the first and second divided clock signals; said synchronization signal being applied to said first local clock generator and said second local clock generator during a clock training period; said synchronization signal including at least one synchronization pulse being applied to the first local clock generator and second local clock generator during the clock training period; and
a data clock sampler for generating said synchronization signal; said data clock sampler receiving and sampling a data synchronous clock signal for providing sample outputs, and said data clock sampler being clocked by the external PLL clock; said data clock sampler including a first master latch receiving said data synchronous clock signal and a first slave latch coupled to said master latch, said first master and first slave latches being connected to a second master and second slave latch for resolving metastability by double latching sampled data clock inputs; and
a plurality of latches being series connected to said master and slave latches for pipelining sample outputs.
6. (canceled)
7. A transmit clock generator for clock generation for a transmitter comprising:
a first local clock generator and a second local clock generator, each receiving an external PLL clock signal and respectively generating first and second divided clock signals;
a synchronization signal for enforcing a phase relationship between the first and second divided clock signals; said synchronization signal being applied to said first local clock generator and said second local clock generator during a clock training period; said synchronization signal including at least one synchronization pulse being applied to the first local clock generator and second local clock generator during the clock training period; and
a data clock sampler for generating said synchronization signal; said data clock sampler receiving and sampling a data synchronous clock signal for providing sample outputs, and said data clock sampler being clocked by the external PLL clock;
said sample outputs of the data clock sampler being applied to a synchronization pulse generator; said synchronization pulse generator for generating synchronization pulses; said synchronization pulse generator detecting rising edge samples from the data clock sampler and outputs rising edge synchronization pulses.
8. A transmit clock generator as recited in claim 7 includes a gated synchronization repower tree, and said gated synchronization repower tree receiving and repowering said rising edge synchronization pulses.
9. A transmit clock generator as recited in claim 8 wherein said gated synchronization repower tree is gated by a synchronization control signal generated by a clock synchronization control; said synchronization control signal for allowing at least one synchronization pulse to be applied to the first local clock generator and second local clock generator only during the clock training period.
10. A transmit clock generator as recited in claim 9 wherein said clock synchronization control establishes the clock training period responsive to an applied reset signal indicating proper power to the transmitter has been established and no reset conditions are pending and an applied input indicating valid synchronization pulses are being produced.
11. A transmit clock generator as recited in claim 9 wherein said clock synchronization control includes an OR gate receiving said synchronization pulses and feedback of the synchronization control signal; said OR gate coupled to an input of an AND gate and a reset signal applied to another input of said AND gate, said AND gate coupled to a first latch of a latch pair; said latch pair providing the synchronization control signal, said external PLL clock signal applied to respective clock inputs of said latch pair.
12. A transmit clock generator as recited in claim 11 wherein said reset signal is generated by a clock initialization and reset functional block; said clock initialization and reset functional block receiving a power good signal and a transmitter reset signal; said clock initialization and reset functional block including an AND gate for combining said received signals.
13. A transmit clock generator as recited in claim 6 wherein said synchronization pulse generator includes an AND gate receiving sample outputs of a first pipelined latch pair and receiving sample outputs of a second pipelined latch pair of said data clock sampler.
14. A transmit clock generator as recited in claim 9 wherein said gated synchronization repower tree includes an AND gate having an input receiving said synchronization control signal and an input receiving said rising edge synchronization pulses.
15-19. (canceled)
US12/135,226 2005-07-14 2008-06-09 Transmit clock generator Abandoned US20080240320A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/135,226 US20080240320A1 (en) 2005-07-14 2008-06-09 Transmit clock generator

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/181,715 US7457387B2 (en) 2005-07-14 2005-07-14 Method for generating transmitter clock
US12/135,226 US20080240320A1 (en) 2005-07-14 2008-06-09 Transmit clock generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11/181,715 Continuation US7457387B2 (en) 2005-07-14 2005-07-14 Method for generating transmitter clock

Publications (1)

Publication Number Publication Date
US20080240320A1 true US20080240320A1 (en) 2008-10-02

Family

ID=37661651

Family Applications (2)

Application Number Title Priority Date Filing Date
US11/181,715 Expired - Fee Related US7457387B2 (en) 2005-07-14 2005-07-14 Method for generating transmitter clock
US12/135,226 Abandoned US20080240320A1 (en) 2005-07-14 2008-06-09 Transmit clock generator

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US11/181,715 Expired - Fee Related US7457387B2 (en) 2005-07-14 2005-07-14 Method for generating transmitter clock

Country Status (1)

Country Link
US (2) US7457387B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8391432B2 (en) * 2005-08-08 2013-03-05 Hewlett-Packard Development Company, L.P. Data serializer
US8193831B1 (en) * 2011-02-16 2012-06-05 Broadcom Corporation Method and apparatus for reducing power consumption in a digital circuit by controlling the clock

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112047A1 (en) * 2001-12-19 2003-06-19 Dike Charles E. Long setup flip-flop for improved synchronization capabilities
US20040119521A1 (en) * 2002-12-20 2004-06-24 Kurd Nasser A. Adaptive frequency clock signal
US20040236977A1 (en) * 2003-05-22 2004-11-25 Kizer Jade M. Method and apparatus for programmable sampling clock edge selection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112047A1 (en) * 2001-12-19 2003-06-19 Dike Charles E. Long setup flip-flop for improved synchronization capabilities
US20040119521A1 (en) * 2002-12-20 2004-06-24 Kurd Nasser A. Adaptive frequency clock signal
US20040236977A1 (en) * 2003-05-22 2004-11-25 Kizer Jade M. Method and apparatus for programmable sampling clock edge selection

Also Published As

Publication number Publication date
US7457387B2 (en) 2008-11-25
US20070014388A1 (en) 2007-01-18

Similar Documents

Publication Publication Date Title
US6940306B2 (en) Methods and circuitry for implementing first-in first-out structure
US6240523B1 (en) Method and apparatus for automatically determining the phase relationship between two clocks generated from the same source
US7287105B1 (en) Asynchronous-mode sync FIFO having automatic lookahead and deterministic tester operation
KR101297683B1 (en) Method and apparatus for adjustment of synchronous clock signals
US7482841B1 (en) Differential bang-bang phase detector (BBPD) with latency reduction
US7809026B1 (en) System and method for providing on-chip delay measurements in serializer/deserializer systems
US7242737B2 (en) System and method for data phase realignment
US6982575B2 (en) Clock ratio data synchronizer
US7194057B2 (en) System and method of oversampling high speed clock/data recovery
US7793021B2 (en) Method for synchronizing a transmission of information and a device having synchronizing capabilities
US20090147888A1 (en) Receiver Interface
US7457387B2 (en) Method for generating transmitter clock
US5748123A (en) Decoding apparatus for Manchester code
US7733130B2 (en) Skew tolerant communication between ratioed synchronous clocks
KR20010034344A (en) A pulse edge detector with double resolution
US7321647B2 (en) Clock extracting circuit and clock extracting method
US8718215B2 (en) Method and apparatus for deskewing data transmissions
US7359468B2 (en) Apparatus for synchronizing clock and data between two domains having unknown but coherent phase
US6181757B1 (en) Retiming method and means
JP2002269036A (en) Asynchronous transfer device and asynchronous transfer method
JP3463212B2 (en) Data transmission device
KR0157923B1 (en) Menchester decoder
US6470459B1 (en) Half-word synchronization method for internal clock
JPH01143435A (en) Data transmission equipment
KR20190134037A (en) Semiconductor apparatus with domain crossing

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE