WO2004059471A2 - Clock skew compensation apparatus and method - Google Patents
Clock skew compensation apparatus and method Download PDFInfo
- Publication number
- WO2004059471A2 WO2004059471A2 PCT/US2003/040237 US0340237W WO2004059471A2 WO 2004059471 A2 WO2004059471 A2 WO 2004059471A2 US 0340237 W US0340237 W US 0340237W WO 2004059471 A2 WO2004059471 A2 WO 2004059471A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- clock
- data
- output
- latch
- clk
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims 10
- 230000003111 delayed effect Effects 0.000 claims abstract description 46
- 238000003780 insertion Methods 0.000 claims abstract description 26
- 230000037431 insertion Effects 0.000 claims abstract description 26
- 230000001960 triggered effect Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 abstract description 18
- 230000001419 dependent effect Effects 0.000 abstract description 6
- 230000000630 rising effect Effects 0.000 description 47
- 238000013500 data storage Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 19
- 230000005540 biological transmission Effects 0.000 description 14
- 230000004044 response Effects 0.000 description 8
- 230000007704 transition Effects 0.000 description 6
- 239000000872 buffer Substances 0.000 description 4
- 230000001143 conditioned effect Effects 0.000 description 4
- 230000001934 delay Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101150032285 QDR2 gene Proteins 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/10—Distribution of clock signals, e.g. skew
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F5/00—Methods or arrangements for data conversion without changing the order or content of the data handled
- G06F5/06—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
- G06F5/08—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations, the intermediate ones not being accessible for either enqueue or dequeue operations, e.g. using a shift register
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
Definitions
- Double Data Rate (DDR and DDRII) and Quad Data Rate (QDR and QDRII) are industry standard architectures for high-speed networking Static Random Access Memory (SRAM).
- the DDR architecture doubles the data rate of standard SRAM by performing two memory accesses per clock cycle.
- the input port and the output port are separate and operate independently allowing two memory reads and two memory writes per clock cycle. With two memory reads and writes per clock cycle, the QDR architecture quadruples the data rate of standard SRAM by allowing four memory accesses per clock cycle.
- the QDR architecture was originally designed for high speed SRAM interfaces. However, the QDR architecture has been adopted for other high frequency applications, for example, as a standard interface to memory based co- processors.
- the QDR architecture defines a master clock pair that is used to control read and write accesses to the SRAM. For example, all data read from SRAM is aligned to the rising edges of the master clock pair.
- a bus master such as, an ASIC or a microprocessor coupled to the QDR device to use the rising edges of the master clock pair to capture the data synchronized to the master clock pair.
- data valid windows and hold times decrease accordingly.
- Data synchronized to the master clock pair by the memory based coprocessor may not be valid when captured by the bus master using the master clock pair.
- the QDR architecture also defines a data clock pair.
- the data clock pair is a phase-shifted version of the master clock pair.
- the QDR architecture permits the bus master to use the data clock pair to capture the data instead of the master clock pair in order to meet data setup and hold times at the bus master.
- the memory-based co-processor must synchronize the data to the data clock pair after it has been read from data storage. There can be a significant phase difference (skew) between the master clock pair and the data clock pair.
- a skew compensation circuit which complies with the QDR II interface requirements and deals with significant phase difference between an input clock and an output clock, is presented.
- a transparent latch has two states, open and closed. While open, the transparent latch passes data on the input to the output. While closed, the transparent latch holds the data present on the input on the transition from the open to the closed state. While open the transparent latch provides a window for capturing the data present on the input to avoid waiting for a next clock edge to pass data from the input to the output.
- a synchronization circuit for re-synchronizing data from an input clock to an output clock includes a first transparent latch, a second transparent latch and an output latch.
- the first transparent latch receives the data and is clocked by the input clock.
- the second transparent latch receives data from the first transparent latch and is clocked by a delayed output clock.
- the delayed output clock is a delayed version of the output clock.
- the output latch receives data from the second transparent latch and is clocked by the output clock.
- the delayed output clock may include an insertion delay.
- the output clock may be a delay locked loop version of the delayed output clock with the insertion delay removed.
- the input clock may be a K# clock of a master clock pair and the output clock a C# clock of a data clock pair.
- the output latch may be edge triggered. Data may be output from the output latch at a double data rate.
- the first transparent latch and the second transparent latch pass received data when open and hold a last data received when closed.
- the first transparent latch is open when the input clock is logic ' 1 ' and closed when the input clock is logic '0' and the second transparent latch is open when the delayed output clock is logic ' 1 ' and closed when the output clock is logic '0'.
- Fig. 1 is a block diagram of a device including a skew compensation circuit for synchronizing data received from data storage according to the principles of the present invention
- Figs. 2A-2B is a more detailed block diagram of the data out interface coupled to the data storage shown in Fig. 1 ;
- Fig. 3 is a timing diagram illustrating insertion delay
- Fig. 4 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for early data and moderate skew between the clocks;
- Fig. 5 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for late data and moderate skew between the clocks;
- Fig. 6 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for early data and worst case skew between the clocks
- Fig. 7 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for early data and worse case skew between the clocks;
- Fig. 8 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for early data and no skew between the clocks.
- Fig. 9 is a schematic of an embodiment of any one of the transparent latches shown in Figs. 2A-2B;
- Fig. 10 is a schematic of the clock detector shown in Figs. 2A-2B;
- Fig. 11 is a block diagram of any one of the delay locked loops shown in Fig. 2;
- Fig. 12 is a schematic of an embodiment of the edge detector and the SR flip flop shown in Figs. 2A-2B.
- Fig. 1 is a block diagram of a device 100 including a skew compensation circuit 106 for synchronizing data received from data storage 110 according to the principles of the present invention.
- the device 100 provides data stored in the data storage 110 in response to a request to read the data received from a bus master 101.
- the bus master 101 can be a microprocessor or an Application Specific Integrated Circuit (ASIC) capable of issuing a command to the device 100.
- the data output from data storage 110 is synchronized to the master clock pair.
- the data out circuit 104 resynchronizes the data received from data storage to an output clock 115 selected by the clock selector circuit 108.
- Data from data storage synchronized to the master clock pair 106 is conditioned by the skew compensation circuit 106 so that data transmitted to the output latch 102 can be synchronized to the output clock.
- the skew compensation circuit 106 compensates for the skew between the master clock pair and the selected output clock and skew between the data and the master clock pair.
- the skew compensation circuit 106 includes two transparent latches 120, 130. Each transparent latch 120, 130 has two states; open and closed. When the latch is in the open state, data present on the input passes to the output. When the latch is in the closed state, data present on the input on the transition from open to closed state is held on the output of the latch.
- the latches 120, 130 are open when the respective clock signal coupled to the clock input is ' 1 ' and closed when the respective clock signal is '0'.
- the transparent latch When open, the transparent latch provides a window for capturing data on the input instead of waiting for a next clock edge.
- the data storage 110 can include memory or registers for storing data and has a separate input port 118 and output port 116 that operate independently, allowing data to be simultaneously read and written. Data output received by the data out circuit 104 on output port 116 is synchronized to a master clock pair 112.
- the data out circuit 104 synchronizes data received from data storage 110 to an output clock.
- a clock selector circuit 108 selects the output clock for synchronizing the data output 122.
- the data output through the output port 116 is synchronized to the rising edges of the master clock pair 112.
- the data output can be synchronized to the falling edges of the master clock pair 112.
- the data can be synchronized to an output clock 115.
- the data clock pair 114 is a phase-shifted version of the master clock pair 112.
- the skew compensation circuit 106 handles a phase shift (skew) of up to 180 degrees between the master clock pair 112 and the data clock pair 114.
- the clock selector circuit 108 includes a clock detector for detecting a clock signal on the data clock pair 114.
- the clock detector is described later in conjunction with Fig. 5. If a clock signal is detected on the data clock pair 114, one of the clock signals of the data clock pair 114 is selected as the delayed output clock 115 for the skew compensation circuit 106 to condition the data so that it can be synchronized to the output clock by the output latch 102. Otherwise, one of the master clock pair 112 is selected as the delayed output clock 115 for the skew compensation circuit 106.
- the conditioned data 123 output by the skew compensation circuit 106 is coupled to an output latch 102.
- the output latch 102 synchronizes the conditioned data to the output clock (DLL output clock) 117 to provide data out synchronized to the output clock 117.
- Figs. 2A-2B is a more detailed block diagram of the data out interface 104 coupled to the data storage 110 shown in Fig. 1.
- the output latch 102 includes circuitry for generating a Dual Data Rate (DDR) data out.
- DDR Dual Data Rate
- a single data rate output can be provided by coupling the input of D-type flip flop 150 directly to the output of transparent latch 130 in the skew compensation circuit 106 and clocking D-type flip flop 150 with the DLL#_CK output from DLL 210.
- the data clock pair 114 is a phase-shifted version of the master clock pair 112.
- the master clock pair 112 includes a K_CLK signal and a K#_CLK signal (Fig. 3).
- the K#_CLK signal is the K_CLK signal phase shifted by 180 degrees.
- the data clock pair 114 includes a C_CLK signal and a C#_CLK signal.
- the C#_CLK signal is the C_CLK signal phase shifted by 180 degrees.
- the data storage 110 is a dual port Static Random Access Memory (SRAM) with separate independent input and output ports.
- SRAM Static Random Access Memory
- Each of the input port 118 and the output port 116 includes a 36-bit data bus.
- the input port 118 also includes address and control signals. All data and commands that are input through the input port 118 and data that is output through the output port 116 are synchronized to the master clock pair (K_CLK, K#_CLK) 112.
- the data storage 110 can be content addressable memory (CAM) or dynamic random access memory (DRAM).
- CAM content addressable memory
- DRAM dynamic random access memory
- the data storage can also be a logic block, for example, a block of registers for storing data.
- the input port 118 accepts double data rate data, that is, a new command or data can be received twice every K_CLK period.
- double data rate data that is, a new command or data can be received twice every K_CLK period.
- a new command or data is received on each edge (falling and rising) of the K-CLK signal by capturing the command or data on both the rising edge of K_CLK and the rising edge of K#_CLK.
- the data storage can accept a new command or data twice every clock period even though the command may take more than one K_CLK period to complete.
- the data forwarded from the output port 116 is synchronized with the master clock pair.
- the skew compensation circuit 106 transmits the data forwarded from the output port 116 dependent on the delayed output clock 115.
- K_CLK and K#_CLK are delayed versions of K clock and K# clock received at input pins of the device.
- the C_CLK and C#_CLK signals are delayed versions of the C clock and C# clock received at input pins of the device.
- the delay blocks 231, 232, 233, 234 refer to the delay due to input buffers, signal traces and other components in the device.
- the delayed output clock 115 is either a delayed version of the K# clock or a delayed version of the C# clock dependent on whether the clock detector 240 detects a clock signal on the data clock pair 114.
- the clock detector 240 can be any clock detector known in the art. One embodiment of a clock detector is described later in conjunction with Fig. 4.
- the output 202 of the clock detector 240 controls multiplexers 200 and 220.
- the clock detector 240 detects if a clock signal is received on the data clock pair 114.
- the state of the C_Clock detect signal output by the clock detector 240 and coupled to multiplexers 220, 200 selects whether the K#_CLK or the C#_CLK is transmitted to the delayed output clock.
- the skew compensation circuit 106 includes two transparent latches 120, 130.
- the output port 116 of the data storage 110 is coupled (A-data) to the 36-bit transparent latch 120.
- the data outputs (B-data) of transparent latch 120 are coupled to the data inputs of transparent latch 130.
- Transparent latch 120 is controlled by K#_CLK and transparent latch 130 controlled by delayed output clock 115. While K#_CLK is logic ' 1 ' , transparent latch 120 is open and data is transferred from the data inputs (A-data bus) to the data outputs (B-data bus). While K#_CLK is logic '0', latch 120 is closed and data captured on the falling edge of K#_CLK is stored by the latch 120 and output on the B-data bus. While latch 120 is closed, changes on the input A-data bus do not result in changes in the output B-data bus. Transparent latch 130 operates in the same way in response to delayed output clock.
- Delayed output clock 115 is not a DLL-locked signal and thus suffers from the well-known problem of insertion delay.
- An insertion delay is the time it takes a signal to travel from an input pin in an integrated circuit to where the signal is used in the integrated circuit. Insertion delay occurs due to resistive and capacitive delays of the physical wires and components of the system as well as the transition time through the input buffers.
- the Delay Locked Loops (DLLs) 210, 230 are fine-tuned for a particular clock frequency range and compensate for the insertion delay.
- Fig. 3 illustrates the data clock pair (C clock, C# clock) as received at the input pins of the device 100. As shown in Fig. 3, the delayed output clock edges (falling and rising) occur an insertion delay 300 after the respective falling and rising edges of the data clock pair.
- the DLL compensates for the insertion delay by providing DLL output clocks (DLL_CK#, DLL_CK) without the insertion delay. The DLL outputs are therefore phase aligned with the data clock pair signals at the pins.
- DLL_CK#, DLL_CK DLL output clocks
- the outputs of the DLLs 230, 210 are coupled to an edge detector 190.
- the edge detector 190 can be any edge detector well-known to those skilled in the art.
- the edge detector outputs a positive pulse on the DDR clock signal 191 upon detecting a rising edge of the DLL_CK signal or the rising edge of the DLL_CK# signal.
- a rising edge on the DDR clock signal 191 clocks D- type flip flop 150 to produce the double data rate output.
- a set-reset flip flop 180 is also coupled to the edge detector 190.
- the state of the SR flip flop 180 changes with each rising edge of the edge detector output signal 192.
- the Set-Reset flip flop's output 193 is coupled to delay element 185.
- Fig. 4 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for early data and moderate skew between the master clock pair and the data clock pair.
- a clock signal has been detected by the clock detector on the data clock pair and data out is synchronized to the rising edges of the data clock pair (C_CLK, C#_CLK).
- the C_CLK is a delayed version of the K_CLK and the
- C#_CLK is a delayed version of the K#_CLK.
- the timing diagram is described in conjunction with the block diagram in Figs. 2A-2B.
- valid data from data storage is output early on port 1 16 on data bus A prior to the rising edge of the K#_CLK.
- the data received from data storage is valid for one K clock period.
- the valid data is shown as occurring in response to the first K_CLK rising edge but those skilled in the art will understand that it may take several K clock cycles to produce this output.
- K#_CLK opens transparent latch 120 and data is transferred to data bus B.
- C#_CLK opens transparent latch 130 and the valid data is transferred to data bus C. While K#_CLK is low the last data received on data bus A is stored in latch 120. Similarly when the C#_CLK is low the last data received on data bus B while C#_CLK is high is stored in latch 130.
- Figs. 2A-2B after the 36-bit data has been transferred to data bus C, it is transmitted 18-bits at a time through D-type flip flop 150 at a double data rate.
- the delayed multiplexor control signal 186 controls whether the lower or upper 18-bits are to be transmitted.
- the next rising edge of C#_CLK (and its DLL locked derivative signal DLL_CK#) latches data bits 35 to 18 at the input of D-type flip flop 170 on bus 133 onto bus 171.
- the resulting pulse on the edge detector output 191 clocks D-type flip flop 150 and data bits 17 to 0 are output through buffer 160.
- the pulse also switches the state of the Set Reset flip flop 180.
- the output of the Set Reset flip flop is delayed through the delay 185 and switches the state of the multiplexor enable to allow data bits 35 to 17 on bus 171 through the multiplexor to bus 141.
- the next rising edge of C_CLK (and its DLL locked derivative signal DLL_CK) also cause a pulse to be generated on signal 191 which clocks flip flop 150 to latch data bits 35 to 18.
- Data bits 35 to 18 are then output by buffer 160.
- the skew compensation circuit conditions the data such that valid data is output on data bus C prior to the respective edge (rising or falling) of the output clock, so that valid data is synchronized with the output clock.
- Fig. 5 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for late data and moderate skew between the master clock pair and the data clock pair.
- This data is valid on data bus A at time 900 after the rising edge of K#_CLK.
- K#_CLK high, latch 120 is transparent and the data is transferred from data bus A to B.
- C#_CLK is high, transparent latch 130 is open and the valid data is transferred from data bus B to C.
- K#_CLK transitions low and latch 120 stores the last data received on data bus A and transmits the stored data on data bus B.
- C_CLK goes high and
- edge detector 190 latches the lower 18 bits (D[17:0]) of the 36-bit data bus in D-type flip flop 150 to transmit the lower 18 bits onto the output bus.
- Fig. 6 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B for early data and worst case skew (180 degrees) between the master clock pair and the data clock pair. This is the worst-case skew condition.
- the data is valid on data bus A.
- the rising edge of K#_CLK opens transparent latch 120 and valid data is transferred from data bus A to data bus B.
- C#_CLK (via signal delayed output clock) opens transparent latch 130 and the valid data is transferred form data bus B to data bus C.
- K#_CLK transitions low, which holds the data on data bus B in latch 120.
- the next falling edge of C#_CLK closes latch 130 and holds the data on data bus C.
- the rising edge of C#_CLK (and its DLL locked derivative signal DLL_CK#) through edge detector 190 latches the lower 18 bits (D[17:0]) of the 36-bit data bus in D-type flip flop 150 to transmit the lower 18 bits onto the output bus.
- edge detector 190 latches the upper 18 bits (D[35:18]) of the 36-bit data bus in D-type flip flop 150 to transmit the upper 18 bits on the output bus.
- Fig. 7 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs 2A-2B for late data and worse case skew between the master clock pair and the data clock pair.
- data is valid on data bus A at the input of latch 120.
- latch 120 is open due to the logic ' 1 ' on the K#_CLK, the data on data bus A is transmitted through latch
- the logic '0' on the K#_CLK closes latch 120 and the data on data bus A is stored in latch 120 and transmitted to data bus B.
- C#_CLK opens latch 130 and the data on data bus B is transmitted to data bus C.
- the logic '0' on the C_CLK closes latch 130 and the data on data bus B is stored in latch 130 and transmitted on data bus C.
- K#_CLK opens latch 120 and the data on data bus A is transmitted to data bus B.
- the rising edge of the C#_CLK (and its DLL locked derivative signal DLL__CK#) through edge detector 190 latches the lower 18 bits (D[17:0]) of the 36-bit data bus in D-type flip flop 150 to transmit the lower 18 bits on the output bus.
- edge detector 190 latches the upper 18 bits [D[35:18]) of the 36-bit data bus C in D-type flip flop 150 to transmit the upper 18-bits on the output bus.
- Fig. 8 is a timing diagram illustrating the relationship between the data and clocks in the skew compensation circuit shown in Figs. 2A-2B with early data and no skew between the master clock pair and the data clock pair.
- data is valid on data bus A at the input of latch 120.
- K#_CLK opens latch 120 and the data on data bus A is transmitted through latch
- the logic ' 1 ' on the C#_CLK opens latch 130 and the data on data bus B is transferred through latch 130 to data bus C.
- the logic '0' on the K#_CLK closes latch 120, and the data on data bus A is stored in latch 120 and transmitted on data bus B.
- the logic '0' on the C#_CLK closes latch 130, and the data on data bus A is stored in latch 130 and transmitted to data bus C.
- edge detector 190 latches the lower 18 bits (D[17:0]) of the 36-bit data bus in D-type flip flop 150 to transmit the lower 18 bits onto the output bus.
- edge detector 190 latches the upper 18 bits (D[35:18]) of the 36-bit data bus in D-type flip flop 150 transmit the upper 18 bits on the output bus.
- both latches 120, 130 are open during the same time period (time
- Fig. 9 is a schematic of an embodiment of any one of the transparent latches
- control signal 420 is logic '1,' the latch
- control signal is logic '1,' the latch is closed and stored input data latched on the transition of the control signal from logic '1' to logic '0' is transferred to the output 414.
- the transparent latch includes transmission gates 400, 402.
- a transmission gate includes a PMOS transistor and an NMOS transistor coupled such that both transistors are ON or OFF dependent on the state of a control signal coupled to the gates of the transistors. While both transistors are OFF, the latch is closed and data is not transmitted through the . transmission gate. While both transistors are ON, the latch is open and data is transmitted through the transmission gate. Only one of the transmission gates 400, 402 is open at one time.
- Transmission gate 402 is open while control signal is logic ' 1 ' and closed while control signal is logic '0'.
- Transmission gate 400 is open while control signal is logic '0' and closed while control signal is logic '1'.
- transmission gate 402 While transmission gate 402 is open, transmission gate 400 is closed. Data received on the input port 412 is transmitted through transmission gate 402, and through inverters 408, 410 to the output port 414. Data transmitted through inventor 408 is also transmitted through inverter 416 to the input of transmission gate 400. While the control signal is logic '0,' transmission gate 402 is closed, data received on the input port 412 cannot be transmitted to the output port 414. Instead, because transmission gate 400 is open, the data present at the input of inverter 416 at the time the state of the control signal changes from logic ' 1 ' to logic'0' is transmitted through transmission gate 400, inverter 408 and 410 to the output port 414.
- Fig. 10 is a schematic of the clock detector 240 shown in Figs. 2A-2B.
- the clock detector includes four D-type latches (flip flops) 501, 502, 503, 504 connected in series.
- the D-input of latch 501 is tied to V DD and the reset inputs of all the latches are connected to a reset signal RSTB.
- the clock detect output signal 202 is output from latch 504.
- the reset signal RSTB set to logic '0' resets all of the latches 501, 502, 503,
- each latch 501, 502, 503, 504 is set to logic '0,' including the Q-output of latch 504, the clock detect output signal 202.
- the clock detector 240 detects whether there is a clock signal on the data clock pair.
- the C_CLK signal is coupled to the clock inputs of the latches.
- the clock inputs of latches 501, 502, 503, 504 can be connected to either of the data clock pair signals, that is, to the C_CLK or the C#_CLK signal.
- the clock detector 240 indicates that it has detected a valid data clock after detecting four rising edges on the C_CLK.
- Latch 501 detects the first rising edge of C_CLK. With the D-input connected to VD D , a logic ' 1 ' is latched in 501 and the Q-output 506 of latch 501 changes from logic '0' to logic '1'. On the second rising edge of C_CLK, the logic ' 1 ' on the D-input of latch 502 is latched by latch 502 and the Q-output 507 of latch 502 changes from logic '0' to logic T.
- the clock detect output After detecting four rising edges on C_CLK, the clock detect output is set to logic ' 1 ' indicating that there is a clock signal on the data clock pair and all data output is to be synchronized with the data clock pair.
- the clock detect out signal remains set to logic ' 1 ' until a reset signal is detected.
- Fig. 11 is a block diagram of any one of the delay lock loops 210, 230 shown in Figs. 2A-2B.
- the delay lock loop 210, 230 includes a phase detector 600, a charge pump 602, a voltage controlled delay line 604 and a feedback path with insertion delay 606.
- the phase detector 600 detects the phase difference between the input clock and the output clock. While a phase difference is detected, the phase detector indicates the phase difference by driving the appropriate up/down signals at the output of the phase detector 600.
- the up/down signals are coupled to a charge pump 602.
- the charge pump 602 increases or decreases the control voltage 608 to a voltage controlled delay line appropriately to modify the delay added to the input clock to minimize the phase difference.
- Delay is added to the input clock based on the detected phase difference between the input clock and the output clock. Delay is also added based on known insertion delay by the feedback path with insertion delay circuit 606.
- the feedback path with insertion delay 606 includes replica delays to ensure that the DLL output clock is precisely locked to the selected clock pair (C, C# or K,
- the replica delay duplicates the components and paths that produce the insertion delay 231, 232, 233, 234 (Figs. 2A-2B) between the input pin (C, C# or K, K#) and where the clock signal (C_CLK, C#_CLK or K_CLK,
- the replica delay is a group of circuits that are an exact replica of the insertion delay.
- the replica delay includes the same components such as transistors with the same layout and configuration. Also, the same wiring widths and lengths are used in the replica delay.
- the input clock signal at the input to the DLL has insertion delay with respect to the clock signal received at the input pin of the device.
- the voltage controlled delay line 604 delays the input clock by almost a full clock period and generates an output clock.
- the output clock is coupled to the feedback path with insertion delay 606.
- the replica insertion delay delays the output clock.
- the phase detector 600 compares the input clock with the delayed output clock (feedback clock) and adjusts the charge pump 602.
- the DLL continues to adjust the voltage controlled delay line 604 until the feedback clock and the input clock are in phase.
- the output clock output from the DLL is the input clock minus the insertion delay.
- the DLL is stable when the input clock and the feedback clock are in phase. After adjusting for the phase difference and the insertion delay, the output clock is aligned to either the K# clock or the C# clock as received at the pin of the device.
- DLL 210 locks DLL_CK# to the K# clock or the C# clock.
- DLL 220 locks DLL_CK to the K clock or the C clock.
- the feedback path 606 in DLL 210 replicates the delay 232, 234 (Figs. 2A- 2B) for the K#_CLK and the C#_CLK, and the feedback path in DLL 220 replicates the delay 231, 233 (Figs. 2A-2B) for the K_CLK and the C_CLK.
- Fig. 12 is a schematic of an embodiment of the edge detector 190 and the SR flip flop 180 shown in Figs. 2A-2B.
- the edge detector 190 generates a positive pulse on the DDR clock 191 in response to detecting a rising edge on either of the selected clock pair signals.
- one of the clock pair signals (DLL_CK#) is coupled to an input of NAND-gate 700 and to an inverting delay circuit 704.
- the output of the delay circuit 704 is coupled to the other input of the NAND-gate 700.
- the other clock pair signal (DLL_CK) is coupled to an input of NAND-gate 702.
- a rising edge on the DLL_CK input to NAND-gate 702 generates a negative pulse on the output of NAND-gate 702.
- the length of the pulse is dependent on the inverting delay 706.
- the negative pulse on the output of NAND-gate 702 generates a positive pulse on the DDR clock 191 and on the output of inverter 710.
- a rising edge on the DLL_CK# input to NAND-gate 700 generates a positive pulse on the DDR clock 191.
- the SR flip flop 180 is coupled to the outputs of NAND-gates 700, 702 in the edge detector 190 to set the state of the control signal to multiplexor 140 dependent on whether the first 18-bits or the second 18-bits of the 36-bit data bus are to be output on the DDR output.
- the operation of an SR flip flop is well known to those skilled in the art.
- a positive pulse on the output of inverter 710 in response to a rising edge of the DLL_CK# resets the output of the SR flip flop to a logic '0'.
- a positive pulse on the output of inverter 712 in response to a rising edge of the DLL_CK sets the output of the SR flip flop to logic ' 1'.
- the above invention has been described for use in an embedded system.
- the invention also applies to a discrete component operating in a system with an input clock and an output clock.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Dram (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Advance Control (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2003293574A AU2003293574A1 (en) | 2002-12-19 | 2003-12-17 | Clock skew compensation apparatus and method |
ES03790522.1T ES2454545T3 (en) | 2002-12-19 | 2003-12-17 | Clock offset offset device and method |
EP03790522.1A EP1573516B1 (en) | 2002-12-19 | 2003-12-17 | Clock skew compensation apparatus and method |
JP2005509996A JP5039302B2 (en) | 2002-12-19 | 2003-12-17 | Slave QDRII compliant coprocessor |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US43484102P | 2002-12-19 | 2002-12-19 | |
US60/434,841 | 2002-12-19 | ||
US10/352,372 | 2003-01-27 | ||
US10/352,372 US7010713B2 (en) | 2002-12-19 | 2003-01-27 | Synchronization circuit and method with transparent latches |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2004059471A2 true WO2004059471A2 (en) | 2004-07-15 |
WO2004059471A3 WO2004059471A3 (en) | 2005-06-23 |
Family
ID=32599706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2003/040237 WO2004059471A2 (en) | 2002-12-19 | 2003-12-17 | Clock skew compensation apparatus and method |
Country Status (7)
Country | Link |
---|---|
US (5) | US7010713B2 (en) |
EP (1) | EP1573516B1 (en) |
JP (1) | JP5039302B2 (en) |
KR (1) | KR101014440B1 (en) |
AU (1) | AU2003293574A1 (en) |
ES (1) | ES2454545T3 (en) |
WO (1) | WO2004059471A2 (en) |
Families Citing this family (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0204144D0 (en) * | 2002-02-22 | 2002-04-10 | Koninkl Philips Electronics Nv | Transferring data between differently clocked busses |
US7010713B2 (en) * | 2002-12-19 | 2006-03-07 | Mosaid Technologies, Inc. | Synchronization circuit and method with transparent latches |
US20060023819A1 (en) * | 2004-07-29 | 2006-02-02 | Adkisson Richard W | Clock synchronizer |
US7464284B2 (en) * | 2005-03-22 | 2008-12-09 | Hewlett-Packard Development Company, L.P. | Systems and methods for driving data over a bus where the systems employ a bus clock that is derived from a system clock and a data clock designed to lead the bus clock |
US20070058766A1 (en) * | 2005-09-14 | 2007-03-15 | Tellabs Operations, Inc. | Methods and apparatus for recovering serial data |
US7661010B2 (en) * | 2006-05-31 | 2010-02-09 | Mosaid Technologies Incorporated | Apparatus and method for interfacing to a memory |
US7870313B2 (en) * | 2007-02-27 | 2011-01-11 | Integrated Device Technology, Inc. | Method and structure to support system resource access of a serial device implementating a lite-weight protocol |
US8094677B2 (en) * | 2007-02-27 | 2012-01-10 | Integrated Device Technology, Inc. | Multi-bus structure for optimizing system performance of a serial buffer |
US7617346B2 (en) * | 2007-02-27 | 2009-11-10 | Integrated Device Technology, Inc. | Rapid input/output doorbell coalescing to minimize CPU utilization and reduce system interrupt latency |
US8516163B2 (en) * | 2007-02-27 | 2013-08-20 | Integrated Device Technology, Inc. | Hardware-based concurrent direct memory access (DMA) engines on serial rapid input/output SRIO interface |
US20080209089A1 (en) * | 2007-02-27 | 2008-08-28 | Integrated Device Technology, Inc. | Packet-Based Parallel Interface Protocol For A Serial Buffer Having A Parallel Processor Port |
US8838896B2 (en) * | 2007-05-30 | 2014-09-16 | Qualcomm Incorporated | Waveform caching for data demodulation and interference cancellation at a node B |
US7500132B1 (en) * | 2008-04-11 | 2009-03-03 | International Business Machines Corporation | Method of asynchronously transmitting data between clock domains |
US8132036B2 (en) * | 2008-04-25 | 2012-03-06 | International Business Machines Corporation | Reducing latency in data transfer between asynchronous clock domains |
US20100243376A1 (en) * | 2009-03-31 | 2010-09-30 | Mcgee Ricky D | Lubricant fill and drain assembly for a gearbox |
US8248105B2 (en) * | 2010-02-16 | 2012-08-21 | Taiwan Semiconductor Manufacturing Company, Ltd. | Smart edge detector |
US8248124B2 (en) * | 2010-06-03 | 2012-08-21 | Intel Corporation | Methods and apparatuses for delay-locked loops and phase-locked loops |
US8575993B2 (en) | 2011-08-17 | 2013-11-05 | Broadcom Corporation | Integrated circuit with pre-heating for reduced subthreshold leakage |
US9112489B2 (en) | 2012-05-30 | 2015-08-18 | Freescale Semiconductor, Inc. | Sequential logic circuit and method of providing setup timing violation tolerance therefor |
US8975933B1 (en) * | 2012-07-02 | 2015-03-10 | Marvell Israel (M.I.S.L.) Ltd. | Systems and methods for a bypass flip flop with transparency |
US9176920B2 (en) | 2012-10-24 | 2015-11-03 | Sandisk Technologies Inc. | Multi-level encoded data transfer |
KR20140112892A (en) * | 2013-03-14 | 2014-09-24 | 삼성디스플레이 주식회사 | Touch Screen Panel and Fabricating Method Thereof |
CN103729278B (en) * | 2014-01-09 | 2015-04-01 | 福州瑞芯微电子有限公司 | SOC reset signal detection circuit |
KR102234594B1 (en) * | 2014-08-01 | 2021-04-05 | 삼성전자주식회사 | Skew calibration circuit and operating method of skew calibration circuit |
US10996272B2 (en) * | 2014-08-27 | 2021-05-04 | Teradyne, Inc. | One-shot circuit |
US20160294371A1 (en) | 2015-04-02 | 2016-10-06 | Dialog Semiconductor (Uk) Limited | Bit-Capture Latch with Transparency Option |
US10170980B2 (en) | 2015-07-07 | 2019-01-01 | Dialog Semiconductor (Uk) Limited | Method for synchronizing power charge-pump with system clock |
US9543993B1 (en) * | 2015-11-30 | 2017-01-10 | Taiwan Semiconductor Manufacturing Company, Ltd. | Radio frequency interconnect |
US9928890B2 (en) * | 2016-08-29 | 2018-03-27 | Apple Inc. | System and method for calibrating memory using credit-based segmentation control |
KR20180046429A (en) | 2016-10-27 | 2018-05-09 | 삼성전자주식회사 | Delay locked loop to cancel offset and memory device including the same |
WO2022067642A1 (en) * | 2020-09-30 | 2022-04-07 | 京东方科技集团股份有限公司 | Driving circuit and driving method for display panel, and display panel |
US11394373B1 (en) | 2021-10-07 | 2022-07-19 | Macronix International Co., Ltd. | Managing flip flop circuits |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4949360A (en) * | 1989-08-08 | 1990-08-14 | International Business Machines Corporation | Synchronizing circuit |
US5132990A (en) * | 1990-11-05 | 1992-07-21 | Ncr Corporation | High speed data synchronizer |
EP0547768A2 (en) * | 1991-12-19 | 1993-06-23 | Sun Microsystems, Inc. | Synchronizer apparatus and method |
US6097775A (en) * | 1998-02-17 | 2000-08-01 | Lsi Logic Corporation | Method and apparatus for synchronously transferring signals between clock domains |
EP1071005A2 (en) * | 1999-07-19 | 2001-01-24 | Thomson Licensing S.A. | Data transfer apparatus for system having plural clock domains |
Family Cites Families (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5258660A (en) * | 1990-01-16 | 1993-11-02 | Cray Research, Inc. | Skew-compensated clock distribution system |
US5259006A (en) * | 1990-04-18 | 1993-11-02 | Quickturn Systems, Incorporated | Method for substantially eliminating hold time violations in implementing high speed logic circuits or the like |
EP0683448B1 (en) * | 1994-05-10 | 2002-01-09 | Intel Corporation | Method and apparatus for synchronous data transmission between digital devices operating at frequencies having a P/Q integer ratio |
JP3789542B2 (en) * | 1996-04-04 | 2006-06-28 | 富士通株式会社 | Memory control circuit |
US5919265A (en) * | 1996-05-28 | 1999-07-06 | Sun Microsystems, Inc. | Source synchronization data transfers without resynchronization penalty |
KR100227114B1 (en) * | 1997-06-30 | 1999-10-15 | 전주범 | Semi-transparent image chattering apparatus for television |
US6072348A (en) * | 1997-07-09 | 2000-06-06 | Xilinx, Inc. | Programmable power reduction in a clock-distribution circuit |
KR100257865B1 (en) * | 1997-09-04 | 2000-06-01 | 윤종용 | Synchronous memory device having data input/output control circuit |
US5922076A (en) * | 1997-09-16 | 1999-07-13 | Analog Devices, Inc. | Clocking scheme for digital signal processor system |
US5968180A (en) * | 1997-09-30 | 1999-10-19 | Intel Corporation | Data capture circuit for asynchronous data transfer |
US6374371B1 (en) * | 1998-03-18 | 2002-04-16 | Micron Technology, Inc. | Method and apparatus for monitoring component latency drifts |
US6111925A (en) * | 1998-03-25 | 2000-08-29 | Vanguard International Semiconductor Corporation | Clock synchronized delay scheme using edge-triggered delay lines and latches with one clock lock time |
KR100291194B1 (en) * | 1998-12-30 | 2001-06-01 | 박종섭 | Read driving method and device in dial SDRAM |
US6381684B1 (en) * | 1999-04-26 | 2002-04-30 | Integrated Device Technology, Inc. | Quad data rate RAM |
US6636980B1 (en) * | 1999-08-19 | 2003-10-21 | International Business Machines Corporation | System for launching data on a bus by using first clock for alternately selecting data from two data streams and using second clock for launching data thereafter |
US6694416B1 (en) * | 1999-09-02 | 2004-02-17 | Micron Technology, Inc. | Double data rate scheme for data output |
US6240042B1 (en) * | 1999-09-02 | 2001-05-29 | Micron Technology, Inc. | Output circuit for a double data rate dynamic random access memory, double data rate dynamic random access memory, method of clocking data out from a double data rate dynamic random access memory and method of providing a data strobe signal |
KR20010035646A (en) | 1999-10-01 | 2001-05-07 | 윤종용 | Semiconductor memory device having a programmable delay adjustment circuit |
KR100375342B1 (en) | 2000-02-08 | 2003-03-08 | 주식회사 풀 무 원 | A natural antimicrobial agents for the improvement of gastrointestinal disease. |
JP2001339283A (en) * | 2000-05-26 | 2001-12-07 | Mitsubishi Electric Corp | Delay circuit and semiconductor circuit device therefor |
KR100384775B1 (en) * | 2000-11-23 | 2003-05-22 | 주식회사 하이닉스반도체 | Method of drive word line and bit line for read and write in quad data rate synchronous sram and circuit of thereof |
US6792554B2 (en) * | 2000-12-11 | 2004-09-14 | International Business Machines Corporation | Method and system for synchronously transferring data between clock domains sourced by the same clock |
US6392946B1 (en) * | 2001-05-15 | 2002-05-21 | Leadtek Research Inc. | SDR and QDR converter and interface card, motherboard and memory module interface using the same |
US20020199124A1 (en) * | 2001-06-22 | 2002-12-26 | Adkisson Richard W. | System and method for synchronizing data transfer across a clock domain boundary |
US7200769B1 (en) * | 2001-08-29 | 2007-04-03 | Altera Corporation | Self-compensating delay chain for multiple-date-rate interfaces |
KR100470995B1 (en) * | 2002-04-23 | 2005-03-08 | 삼성전자주식회사 | multi clock domain data input processing device having clock receiving locked loop and method for providing clock signals therefore |
US6710637B1 (en) * | 2002-04-29 | 2004-03-23 | National Semiconductor Corporation | Non-overlap clock circuit |
US6917561B2 (en) * | 2002-04-29 | 2005-07-12 | Lsi Logic Corporation | Memory controller and method of aligning write data to a memory device |
US7010713B2 (en) * | 2002-12-19 | 2006-03-07 | Mosaid Technologies, Inc. | Synchronization circuit and method with transparent latches |
-
2003
- 2003-01-27 US US10/352,372 patent/US7010713B2/en not_active Expired - Lifetime
- 2003-12-17 KR KR1020057011442A patent/KR101014440B1/en not_active IP Right Cessation
- 2003-12-17 EP EP03790522.1A patent/EP1573516B1/en not_active Expired - Lifetime
- 2003-12-17 JP JP2005509996A patent/JP5039302B2/en not_active Expired - Fee Related
- 2003-12-17 AU AU2003293574A patent/AU2003293574A1/en not_active Abandoned
- 2003-12-17 ES ES03790522.1T patent/ES2454545T3/en not_active Expired - Lifetime
- 2003-12-17 WO PCT/US2003/040237 patent/WO2004059471A2/en active Application Filing
-
2005
- 2005-12-14 US US11/305,433 patent/US7596710B2/en not_active Expired - Lifetime
-
2009
- 2009-08-19 US US12/543,839 patent/US8069363B2/en not_active Expired - Fee Related
-
2011
- 2011-05-23 US US13/113,550 patent/US8296598B2/en not_active Expired - Lifetime
-
2012
- 2012-09-21 US US13/624,487 patent/US8533522B2/en not_active Expired - Lifetime
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4949360A (en) * | 1989-08-08 | 1990-08-14 | International Business Machines Corporation | Synchronizing circuit |
US5132990A (en) * | 1990-11-05 | 1992-07-21 | Ncr Corporation | High speed data synchronizer |
EP0547768A2 (en) * | 1991-12-19 | 1993-06-23 | Sun Microsystems, Inc. | Synchronizer apparatus and method |
US6097775A (en) * | 1998-02-17 | 2000-08-01 | Lsi Logic Corporation | Method and apparatus for synchronously transferring signals between clock domains |
EP1071005A2 (en) * | 1999-07-19 | 2001-01-24 | Thomson Licensing S.A. | Data transfer apparatus for system having plural clock domains |
Also Published As
Publication number | Publication date |
---|---|
EP1573516B1 (en) | 2014-02-19 |
KR20050085801A (en) | 2005-08-29 |
US20040123175A1 (en) | 2004-06-24 |
ES2454545T3 (en) | 2014-04-10 |
US20110228626A1 (en) | 2011-09-22 |
US8533522B2 (en) | 2013-09-10 |
EP1573516A2 (en) | 2005-09-14 |
AU2003293574A8 (en) | 2004-07-22 |
US7010713B2 (en) | 2006-03-07 |
US8069363B2 (en) | 2011-11-29 |
US20130024717A1 (en) | 2013-01-24 |
US20060103439A1 (en) | 2006-05-18 |
AU2003293574A1 (en) | 2004-07-22 |
US20100033216A1 (en) | 2010-02-11 |
JP5039302B2 (en) | 2012-10-03 |
WO2004059471A3 (en) | 2005-06-23 |
US7596710B2 (en) | 2009-09-29 |
JP2006511899A (en) | 2006-04-06 |
KR101014440B1 (en) | 2011-02-14 |
US8296598B2 (en) | 2012-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7596710B2 (en) | Synchronization circuit and method with transparent latches | |
US8209562B2 (en) | Double data rate converter circuit includes a delay locked loop for providing the plurality of clock phase signals | |
KR100457868B1 (en) | Elastic interface apparatus and method therefor | |
US7975162B2 (en) | Apparatus for aligning input data in semiconductor memory device | |
KR100625128B1 (en) | System and method for providing reliable transmission in a buffered memory system | |
US6338127B1 (en) | Method and apparatus for resynchronizing a plurality of clock signals used to latch respective digital signals, and memory device using same | |
US7292500B2 (en) | Reducing read data strobe latency in a memory system | |
US6279090B1 (en) | Method and apparatus for resynchronizing a plurality of clock signals used in latching respective digital signals applied to a packetized memory device | |
US6625242B1 (en) | Delay locked loops and methods that shift the phase of a delayed clock signal based on a reference phase value | |
US7196948B1 (en) | Method and apparatus for data capture on a bi-directional bus | |
JP2003151271A (en) | Data input circuit and data input method for synchronous semiconductor memory device | |
US20030090307A1 (en) | Circuit and method for generating output control signal in synchronous semiconductor memory device | |
EP1813039A2 (en) | Method and apparatus for aligning data in a wide, high-speed, source synchronous parallel link | |
EP1510930A2 (en) | Memory interface system and method | |
US6519688B1 (en) | Read data valid loop-back for high speed synchronized DRAM controller | |
US7242737B2 (en) | System and method for data phase realignment | |
US7558151B1 (en) | Methods and circuits for DDR-2 memory device read data resynchronization | |
US7027542B1 (en) | Apparatus and method for providing data transfer between two digital circuits with different clock domains and for solving metastability problems | |
CN100368991C (en) | Slave QDR2 compliant coprocessor | |
JPS622714A (en) | Synchronous sequence circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): BW GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2003790522 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2005509996 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020057011442 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 20038A70016 Country of ref document: CN |
|
WWP | Wipo information: published in national office |
Ref document number: 1020057011442 Country of ref document: KR |
|
WWP | Wipo information: published in national office |
Ref document number: 2003790522 Country of ref document: EP |