Abstract:
The invention refers to a clock distortion detection method, and a clock distortion detector including a first input for receiving a first clock signal, a second input for receiving a second clock signal, and at least one mirror delay element.

Description:
TECHNICAL FIELD OF THE INVENTION  
       [0001]     The invention refers to a clock distortion detector, and to a clock distortion detection method.  
       BACKGROUND OF THE INVENTION  
       [0002]     In semi-conductor components, e.g. memory components such as DRAMs (DRAM=Dynamic Random Access Memory and/or dynamic read/write memory) based on CMOS technology, so-called clock signals are used for the chronological co-ordination of the processing and/or relaying of data.  
         [0003]     Conventional semi-conductor components use a “single-ended” clock signal CLK, present on a single line, for this purpose.  
         [0004]     The data may then for instance be processed/relayed at respective rising edges of the single-ended clock signal (or alternatively at respective falling edges of the single-ended clock signal).  
         [0005]     Further, so-called DDR components, e.g. DDR-DRAMs (DDR-DRAM=double data rate DRAM and/or DRAM with a double data rate) are already well known.  
         [0006]     In DDR-DRAMs—instead of one “single ended” clock signal CLK—two differential, inverse clock signals CLK and BCLK present on two separate lines are used.  
         [0007]     Every time, for instance, when the first of the two clock signals changes e.g. from a logic “high” state (e.g. a high voltage level) to e.g. a logic “low” state (e.g. a low voltage level), the second clock signal—essentially simultaneously—changes its state from logic “low” to logic “high” (e.g. from a low to a high voltage level).  
         [0008]     Conversely, whenever the first clock signal changes from a logic “low” state (e.g. from a low voltage level) to a logic “high” state (e.g. a high voltage level), the second clock signal (again essentially simultaneously) changes its state from logic “high” to logic “low” (e.g. from a high to a low voltage level).  
         [0009]     With DDR-DRAMs, data may be processed/relayed both at respective rising, and at respective falling edges of the clock signals.  
         [0010]     This means that data is processed/relayed more frequently and/or faster (more particularly, twice as frequently and/or twice as fast) with a DDR-DRAM using differential, inverse clock signals, than with a corresponding conventional DRAM using a “single ended” clock signal; in other words the data rate of DDR-DRAMs is twice as high as that of corresponding DRAMs.  
         [0011]     In conventional systems, the respective single ended clock signal CLK (or the respective differential clock signals CLK, BCLK) are generated by a respective—external—clock generating device, and transmitted to the respective semi-conductor component(s), e.g. a DRAM, a DDR-DRAM, etc.  
         [0012]     The respective component comprises a means, e.g. a respective DLL-circuit (DLL=Delay Locked Loop), for generating the respective—internal—clock signal(s) DQS (or DQS/BDQS) (“data strobe” signal(s)) out of the—external—clock signal(s) CLK (or CLK/BCLK) provided by the external clock generating device.  
         [0013]     The—internally used—DQS- (or DQS-/BDQS-) signal(s) need to be synchronized with the—external—CLK- (or CLK-/BCLK-) signal(s), e.g., the falling and rising edges of the DQS- (or DQS-/BDQS-) signal(s) provided by the DLL-circuit should e.g. occur at the same time as respective falling and rising edges of the CLK- (or CLK-/BCLK-) signal(s) provided by the external clock generating device.  
         [0014]     Problems might arise if—due to distortions—e.g. the time Th the CLK signal—when received by the respective component, e.g. DRAM/DDR-DRAM—is logic “high” (and the BCLK signal is logic “low”) is longer than the time T 1  the CLk signal is logic “low” (and the BCLK signal is logic “high”), or the other way round (“clock distortion”).  
       SUMMARY OF THE INVENTION  
       [0015]     The invention discloses a novel clock distortion detector, and a novel clock distortion detection method. According to one embodiment of the invention, a clock distortion detector includes: 
        a first input for receiving a first clock signal;     a second input for receiving a second clock signal; and 
 
 at least one mirror delay element. 
       
 
         [0018]     Advantageously, the clock distortion detector includes: 
        a first mirror delay element, comprising two inputs and two outputs;     a second mirror delay element, comprising two inputs and two outputs; 
 
 wherein a second output of the first mirror delay element is coupled with a first input of the second mirror delay element, and wherein a first output of the second mirror delay element is coupled with a second input of the first mirror delay element. 
       
 
         [0021]     According to another embodiment of the invention, a clock distortion detection method includes: 
        applying a clock signal to a control input of a first mirror delay element;     applying the clock signal to a control input of a second mirror delay element;     wherein a signal output by the first mirror delay element is applied to the second mirror delay element, and a signal output by the second mirror delay element is applied to the first mirror delay element.        
 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0025]     These and other features, aspects and advantages of the present invention will be more fully understood when considered with respect to the following detailed description and accompanying drawings, wherein:  
         [0026]      FIG. 1  is an exemplary circuit diagram of a synchronous mirror delay element used in an embodiment of the invention.  
         [0027]      FIG. 2  is a block diagram of a clock distortion detector used in the embodiment of the invention, which comprises several synchronous mirror delay elements as shown in  FIG. 1 .  
         [0028]      FIG. 3  is a timing diagramm showing—distorted—differential clock signals.  
         [0029]      FIG. 4  is a timing diagram showing signals fed to and occuring in the clock distortion detector of  FIG. 2 . 
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0030]      FIG. 1  shows a circuit diagram of a synchronous mirror delay element  1   a  as used in an embodiment of the invention.  
         [0031]     As can be seen in  FIG. 1 , the synchronous mirror delay element  1   a  comprises several (in this example: eight) transistors  2 ,  3 ,  4 ,  5 ,  6 ,  7 ,  8 ,  9 , here: four p-channel MOSFETs  2 ,  3 ,  4 ,  5 , and four n-channel MOSFETS  6 ,  7 ,  8 ,  9 .  
         [0032]     The source of the MOSFET  8 , and the source of the MOSFET  9  are—via respective lines  10   a ,  10   b —coupled to ground.  
         [0033]     The gate of the MOSFET  8  is connected with a line  10   c , on which—as will be explained in further detail below—a “forward” control signal (FW-signal) is present (in the described embodiment, and as will be explained later, a clock-signal (CLK) is used as the above “forward” control signal (FW-signal)).  
         [0034]     Correspondingly, the gate of the MOSFET  9  is connected with a line  1   d , on which—as will be explained in further detail below—a “backward” control signal (BW-signal) is present (in the described embodiment, and as will be explained later, an inverse clock-signal (BCLK) is used as the above “backward” control signal (BW-signal)).  
         [0035]     As can be seen from  FIG. 1 , the drain of the MOSFET  8  is connected with the source of the MOSFET  6 , and the drain of the MOSFET  9  is connected with the source of the MOSFET  7 .  
         [0036]     Further, the gate of the MOSFET  6  is connected to a line  10   e , on which—as will be described below—a k-th (forward) input signal A k  might be present.  
         [0037]     Correspondingly, the gate of the MOSFET  7  is connected to a line  10   f , on which—as will be described below—a (k+1)-th (backward) input signal B k+1  might be present.  
         [0038]     Still further, according to  FIG. 1 , the drain of the MOSFET  6  is connected with the drain of the MOSFET  4 , and the drain of the MOSFET  7  is connected with the drain of the MOSFET  5 .  
         [0039]     In addition, the drain of the MOSFET  6  is connected to a line  10   g  (on which—as will be described below—a k-th (backward) output signal B k  might be present), and—via a line  11   a —to the gate of the MOSFET  5 .  
         [0040]     Correspondingly, in addition, the drain of the MOSFET  7  is connected to a line  10   h  (on which—as will be described below—a (k+1)-th (forward) output signal A k+1  might be present), and—via a line  11   b —to the gate of the MOSFET  4  (hence, the MOSFETS  4  and  5  are cross-coupled).  
         [0041]     The source of the MOSFET  4  is coupled to the drain of the MOSFET  2 , and the source of the MOSFET  5  is coupled to the drain of the MOSFET  3 .  
         [0042]     Further, the source of the MOSFET  2 —via a line  10   i —is coupled to a respective supply voltage.  
         [0043]     The gate of the MOSFET  2  is connected with a line  101 , on which—similar to what is the case for the above line  10   c —the above “forward” control signal (FW-signal) is present (in this example: the CLK-signal) (for this purpose, the line  101  might be connected with the line  10   c  (not shown in  FIG. 1 )).  
         [0044]     Correspondingly, the gate of the MOSFET  3  is connected with a line  10   m , on which—similar to what is the case for the above line  10   d —the above “backward” control signal (BW-signal) is present (in this example: the signal BCLK) (for this purpose, the line  10   d  might be connected with the line  10   m  (not shown in  FIG. 1 )).  
         [0045]     The synchronous mirror delay element  1   a , depending on the state of the control signals (signals FW and BW (in this example: the signals CLK and BCLK)), either—in a forward direction—propagates the input signal A k  present on the (input) line  10   e  to the (output) line  10   h  (such that,—after a certain delay ΔT (see e.g. as well  FIG. 4 )—a positive edge of the (forward) input signal A k  leads to a corresponding positive edge of the (forward) output signal A k+1 ), or—in a backward direction—propagates the input signal B k+1  present on the (input) line  10   f  to the (output) line  10   g  (such that,—after a certain delay (again, ΔT)—a positive edge of the (backward) input signal B k+1  leads to a corresponding positive edge of the (backward) output signal B k ).  
         [0046]     In further detail, as long as the (forward) control signal FW (in this case: CLK) is “logic high”, and the (backward) control signal BW (in this case: BCLK) is “logic low”, the synchronous mirror delay element  1   a —in a forward direction, and after the above delay ΔT—propagates the input signal A k  to the (output) line  10   h  (signal A k+1 ).  
         [0047]     As soon as the (forward) control signal FW (in this case: CLK) gets “logic low”, and the (backward) control signal BW (here: BCLK) gets “logic high”, the synchronous mirror delay element  1   a  propagates the signals in an opposite, backward direction (such that—after the above delay ΔT—the input signal B k+1  is—in backward direction—propagated to the (output) line  10   g  (signal B k )).  
         [0048]      FIG. 2  is a simplified, schematic block diagram of a clock distortion detector  12  according to the described embodiment of the invention.  
         [0049]     As is shown in  FIG. 2 , the clock distortion detector  12  comprises a plurality of synchronous mirror delay elements  1   a ,  1   b ,  1   c ,  1   d , etc. (in particular, e.g., more than three, five or ten respective elements  1   a ,  1   b ,  1   c ,  1   d , here: a first element  1   d , a second element  1   c , . . . a k-th element  1   a , etc.), each built similarly to the synchronous mirror delay element  1   a  as shown in  FIG. 1  (here used as k-th element).  
         [0050]     As—by way of example—described with respect to the k-th element  1   a , the (forward) output signal A k+1  of each respective element  1   a  (e.g. output on a respective line  10   h ) is used as a corresponding (forward) input signal for the next element (e.g., the (k+1)-th element  1   b ).  
         [0051]     Further, the (backward) output signal B k  of each respective element  1   a  (e.g. output on a respective line  10   g ) is used as a corresponding (backward) input signal for the previous element (e.g., with respect to the k-th element  1   a , for the (k−1)-th element).  
         [0052]     In addition, for each respective element  1   a , as a (forward) input signal A k  (e.g. input on a respective line  10   e ), the corresponding (forward) output signal of the previous element (e.g., the (k−1)-th element) is used.  
         [0053]     Still further, for each respective element  1   a , as a (backward) input signal B k+1  (e.g. input on a respective line  10   f ), the corresponding (backward) output signal of the next element (e.g., the (k+1)-th element  1   b ) is used.  
         [0054]     Hence, the elements  1   a ,  1   b ,  1   c ,  1   d , etc. together form a respective mirror delay chain  17  (mirror delay circuit  17 ).  
         [0055]     The clock distortion detector  12 , as shown in  FIG. 2 , might be comprised by (or connected with) a respective semi-conductor component, e.g. a memory component such as a RAM, in particular, a DRAM (e.g., a DDR-DRAM).  
         [0056]     On this component, the above clock signals CLK and BCLK might be used to co-ordinate the processing and/or relaying of data.  
         [0057]     The above clock signals CLK, BCLK preferably are differential, inverse clock signals.  
         [0058]     As is shown in  FIG. 3 , each time when the first of the two clock signals (e.g., the clock signal CLK) changes e.g. from a logic “high” state (e.g. a high voltage level) to e.g. a logic “low” state (e.g. a low voltage level), the second clock signal BCLK—essentially simultaneously—changes its state from logic “low” to logic “high” (e.g. from a low to a high voltage level).  
         [0059]     Conversely, whenever the first clock signal CLK changes from a logic “low” state (e.g. from a low voltage level) to a logic “high” state (e.g. a high voltage level), the second clock signal BCLK (again essentially simultaneously) changes its state from logic “high” to logic “low” (e.g. from a high to a low voltage level).  
         [0060]     In the above component, data may be processed/relayed both at respective rising, and at respective falling edges of the clock signals CLK, BCLK (or DQS-/BDQS-signals derived therefrom, see below), leading to relatively high data rate rates.  
         [0061]     The above differential clock signals CLK, BCLK might be generated by a respective—external—clock generating device, and then transmitted to the above semi-conductor component, in particular, the clock distortion detector  12  shown in  FIG. 2 .  
         [0062]     Hence,—as is shown in  FIG. 3 —they might be distorted (e.g., the time Th the CLK signal—when received by the respective component, e.g. DRAM/DDR-DRAM—is logic “high” (and the BCLK signal is logic “low”) might be longer than the time T 1  the CLK signal is logic “low” (and the BCLK signal is logic “high”), or the other way round (“clock distortion”) The clock distortion detector  12  as shown in  FIG. 2  might be used to detect whether the clock signals CLK, BCLK are distorted or not, in particular, whether Th is bigger than T 1 , or smaller (and how much the difference between Th and T 1  really is).  
         [0063]     As is shown in  FIG. 2 , the above clock signal CLK—via a common clock line  14 —is applied to the respective “forward” control signal lines  10   c  of all of the above synchronous mirror delay elements  1   a ,  1   b ,  1   c ,  1   d  of the clock distortion detector  12  (i.e., is used as the above “forward” control signal FW for the synchronous mirror delay elements  1   a ,  1   b ,  1   c ,  1   d ).  
         [0064]     Further, as is shown in  FIG. 2  also, the above inverse clock signal BCLK—via a further common clock line  15 —is applied to the respective “backward” control signal lines  10   m  of the above synchronous mirror delay elements  1   a ,  1   b ,  1   c ,  1   d  of the clock distortion detector  12  (i.e., is used as the above “backward” control signal BW for the synchronous mirror delay elements  1   a ,  1   b ,  1   c ,  1   d ).  
         [0065]     In addition (as is shown in  FIG. 4 , and  FIG. 2 )—as a “test” signal—a short pulse signal A 1  is input into the respective (forward) input line  10   n  of the first synchronous mirror delay element  1   d , which e.g. is output by a respective test control device  16 . As can be seen from  FIG. 4 , the pulse signal A 1  input into the first synchronous mirror delay element  1   d -whenever the clock signal CLK (i.e., the FW-signal) has a rising edge (i.e., changes from logic “low” to logic “high”)—has a rising edge, also (i.e., changes its state from logic “low” to logic “high” substantially the same time as the CLK- (FW-signal).  
         [0066]     Alternatively, the rising edge of the pulse signal A 1  might be set—e.g. by the control device  16 —to occur later, than the rising edge of the clock signal CLK (i.e., there might be a predetermined, volitional, known delay between the rising edge of the pulse signal A 1 , and the rising edge of the clock signal CLK (this delay, of course, has to be taken into account when—by the below procedure—it is determined whether or not there is a distortion, and/or whether Th is bigger than T 1 , or whether Th is smaller than T 1  (see below))).  
         [0067]     In a further alternative embodiment, instead of a separate “test” signal A 1  output by the control device  16 , the clock signal CLK itself might be input into the respective (forward) input line  10   n  of the first synchronous mirror delay element  1   d  (i.e., might be used as “test” signal) (see dashed line  10   p  shown in  FIG. 2 ).  
         [0068]     In an alternative embodiment, every second (or third, etc.) clock signal CLK might be be input into the respective (forward) input line  10   n  (i.e., the below clock distortion determination procedure—instead of once a cycle—might instead only be carried out every second (or third, fourth, etc.) cycle).  
         [0069]     As can be seen from  FIG. 4 , the “test” signal A 1  present on the (input) line  10   n  of the first synchronous mirror delay element  1   d —as long as the signal CLK (i.e., the FW-signal) is “logic high”—propagates in a forward direction from one synchronous mirror delay element to the other (i.e., from the first synchronous mirror delay element  1   d  to the second synchronous mirror delay element  1   c , then to the next synchronous mirror delay element, etc.) (such that,—after a certain delay ΔT (see e.g. as well  FIG. 4 )—the positive edge of the “test” signal A 1  applied to the first synchronous mirror delay element  1   d  leads to a corresponding positive edge of the (forward) output signal A 2  of the first synchronous mirror delay element  1   d  (used as (forward) input signal A 2  for the second synchronous mirror delay element  1   c , such that—again after the above delay ΔT—the (forward) output signal A 3  of the second synchronous mirror delay element  1   d  also has a positive edge, etc.)).  
         [0070]     The longer the signal CLK (i.e., the FW-signal) is “logic high” (i.e., the longer the above time Th), the more subsequent synchronous mirror delay elements will—in a forward direction—be propagated.  
         [0071]     As soon as the signal CLK (i.e., the FW-signal) changes its state from “logic high”, to “logic low”, and the signal BCLK (i.e., the BW-signal)—inversely—from “logic low”, to “logic high”, the clock distortion detector&#39;s signal propagation direction is changed.  
         [0072]     Then, the above signal A 1  (in particular, the above positive edge (which might have e.g. reached the k-th mirror delay element  1   a , see e.g. the respective input signal A k  as shown in  FIG. 4 )) is no longer propagated in a forward direction.  
         [0073]     Instead, respective, corresponding (backward) signals B k , B k+1 —in particular, respective, corresponding positive edges—(present at the respective (backward) input lines of the synchronous mirror delay elements) then are propagated—in a backward direction—towards the first synchronous mirror delay element  1   d.    
         [0074]     In other words, as long as the signal CLK (i.e., the FW-signal) is “logic low”, and the signal BCLK (i.e., the BW-signal) is “logic high”, the corresponding input signal present on the (input) line of the respective (e.g. k-th) synchronous mirror delay element  1   a  propagates in a backward direction from one synchronous mirror delay element to the other (i.e., from the respective, e.g. k-th synchronous mirror delay element  1   a  to the previous synchronous mirror delay element, etc. (such that,—again after the above delay ΔT—the positive edge of the respective backward input signal leads to a corresponding positive edge of the backward input signal of the previous synchronous mirror delay element, etc., etc.)).  
         [0075]     The longer the signal CLK (i.e., the FW-signal) is “logic low”, and the signal BCLK (i.e., the BW-signal) is “logic high” (i.e., the longer the above time T 1 ), the more subsequent synchronous mirror delay elements will—in a backward direction—be propagated.  
         [0076]     As soon as the signal CLK (i.e., the FW-signal) again changes its state from “logic low”, to “logic high”, and the signal BCLK (i.e., the BW-signal)—inversely—from “logic high”, to “logic low”, the clock distortion detector&#39;s signal propagation direction is changed, such that the above signals B K , B K−1 , etc. (in particular, the respective positive edges) are no longer propagated in a backward direction.  
         [0077]     If the respective signal B K , B K−1 , etc. (in particular, the respective positive edge thereof) reaches the first mirror delay element  1   d  (in particular, the respective backward output line  10   o , see e.g. the signal B 1  as shown in  FIG. 2 ) substantially at the same time that a new “test” pulse signal A 1  is applied by e.g. the above test control device  16  to the respective forward input line  10   n , or at the same time a new rising edge of the CLK signal occurs, the above time Th during which the CLK signal is “logic high” (and the BCLK signal is “logic low”) essentially is the same as the above time T 1  during which the BCLK signal is “logic high” (and the CLK signal is “logic low”), i.e. Th≅T 1 .  
         [0078]     In this case, the clock signals CLK, BCLK are—essentially—not distorted.  
         [0079]     The test whether the respective (backward) signal (e.g., the signal B 1 ) reaches the first mirror delay element  1   d  substantially at the same time that a new “test” pulse signal A 1  is applied to the first mirror delay element  1   d , or at the same time a new rising edge of the CLK signal occurs, might e.g. be performed by the above test control device  16 , e.g. by a respective edge detector comprised therein.  
         [0080]     If, instead, Th e.g. is smaller than T 1  (i.e., Th&lt;T 1 ), the respective (backward) signal (e.g., the signal B 1 )—in particular, the above rising edge thereof—reaches the first mirror delay element  1   d  before a new “test” pulse signal A 1 /a new clock signal CLK is applied to the first mirror delay element  1   d  (in particular, before the next rising edge thereof), as—again—might be detected by the edge detector, etc.  
         [0081]     By determining the time difference between the—next—“test” pulse signal A 1 /CLK signal applied to the first mirror delay element  1   d  (in particular, the next rising edge thereof), and the (rising edge of the)—backward—signal B 1  caused by the (previous) “test” pulse signal A 1  (again e.g. through the test control device, and the respective edge detector), the amount of distortion of the CLK-/BCLK-signals might be determined.  
         [0082]     If, instead, Th e.g. is bigger than T 1  (i.e., Th&gt;T 1 ), the respective (backward) signal (e.g., the signal B 1 )—in particular, the above rising edge thereof—does not reach the first mirror delay element  1   d  before a new “test” pulse signal A 1 /CLK signal is applied to the first mirror delay element  1   d  (in particular, before the next rising edge thereof), as—again—might be detected by the edge detector, etc.  
         [0083]     Hence, by detecting whether or not the respective backward signal B 1  reaches the first mirror delay element  1   d  before or after a new “test” pulse signal A 1 /CLK signal is applied to the first mirror delay element  1   d , it might be detected whether Th is smaller than T 1 , or Th is bigger than T 1 .  
         [0084]     Depending on the results of the above clock distortion detection method, respective—undistorted—signals CLK′, BCLK′ might be generated from the above—possibly distorted—signals CLK, BCLK, and might e.g. be fed to a respective DLL-circuit (DLL=Delay Locked Loop) comprised in the above component, e.g. DRAM, DDR-DRAM, etc.  
         [0085]     The DLL-circuit—from the (undistorted) signals CLK′, BCLK′ applied thereto—generates the respective—internal—clock signal(s) DQS (or DQS/BDQS) (“data strobe” signal(s)).  
         [0086]     By use of the DLL-circuit the—internally used—DQS-/BDQS-signals are synchronized with the above—corrected, undistorted—CLK′-/BCLK′-Signals (such that, e.g., the falling and rising edges of the DQS-/BDQS-Signals provided by the DLL-circuit occur at the same time as respective falling and rising edges of the above CLK′-/BCLK′-Signals).  
         [0087]     While examplary embodiments have been described in detail and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention. It will thus be recognized that various modifications may be made to the illustrated and other embodiments of the invention, without departing from the scope and spirit of the invention as defined by the appended claims.