JP2013102282A - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
JP2013102282A
JP2013102282A JP2011243769A JP2011243769A JP2013102282A JP 2013102282 A JP2013102282 A JP 2013102282A JP 2011243769 A JP2011243769 A JP 2011243769A JP 2011243769 A JP2011243769 A JP 2011243769A JP 2013102282 A JP2013102282 A JP 2013102282A
Authority
JP
Japan
Prior art keywords
clock signal
circuit
comparator
outputs
input
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.)
Pending
Application number
JP2011243769A
Other languages
Japanese (ja)
Inventor
Hideyuki Tajima
英幸 田島
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics 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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2011243769A priority Critical patent/JP2013102282A/en
Publication of JP2013102282A publication Critical patent/JP2013102282A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor device that has such a doubler as has a simple circuit configuration and ensures action of a comparator by resolving a problem caused by, for example, a variation of the delay time of a delay circuit.SOLUTION: The semiconductor device includes: a doubler 20 for comparing the phases of a delayed clock signal CLKD that is an input clock signal CLK delayed in a variable delay unit 16 and the input clock signal in a phase comparator 18 to generate a double clock signal CLKX2 that is the input clock signal CLK doubled in frequency; a comparator 10 for performing a magnitude comparison action on input signals when the double clock signal CLKX2 from the doubler 20 is at a first logic level, and stopping the comparison action when the double clock signal CLKX2 is at a second logic level; and a first circuit 12, 14 for monitoring outputs of the comparator 10, and generating a trigger signal DLCLK on detecting that the comparator 10 has output a comparison result.

Description

本発明は、半導体装置に関し、特に、例えば2逓倍クロック信号を入力するコンパレータに適用して好適な構成の半導体装置に関する。   The present invention relates to a semiconductor device, and more particularly to a semiconductor device having a configuration suitable for application to, for example, a comparator that inputs a doubled clock signal.

クロック信号(CLK)の周波数を2逓倍した2逓倍クロック信号(CLKX2)に基づき比較動作を行うコンパレータが用いられている(図11(B)参照)。このコンパレータは、例えばアナログ信号をデジタル信号に変換するアナログデジタル変換器(ADC)において2つの信号の電圧レベルを比較するコンパレータとして用いられる(図11(A)参照)。   A comparator that performs a comparison operation based on a doubled clock signal (CLKX2) obtained by multiplying the frequency of the clock signal (CLK) by 2 is used (see FIG. 11B). This comparator is used as a comparator that compares the voltage levels of two signals in an analog-digital converter (ADC) that converts an analog signal into a digital signal, for example (see FIG. 11A).

図12は、コンパレータに2逓倍クロック信号を供給する2逓倍器(Frequecny Doubler)として、PLL(Phase Locked Loop:位相同期ループ)を用いた典型的な回路構成の一例を示す図である。2逓倍PLL30は、発振回路(図11(B)の4)等のクロック生成回路から供給されるクロック信号CLKの周波数を2逓倍した2逓倍クロック信号CLKX2を生成し、コンパレータ10に供給する。特に制限されないが、コンパレータ10は、第1、第2の入力信号INP、INNを入力し、2逓倍クロック信号CLKX2がHigh(例えば電源電位)のとき、第1、第2の入力信号INP、INNの電圧を比較し、第1、第2の出力COP、CONに比較結果を出力し、2逓倍クロック信号CLKX2がLow(例えばグランド電位)のとき、第1、第2の出力COP、CONはともにHighレベル(電源電圧)にリセットされる。   FIG. 12 is a diagram illustrating an example of a typical circuit configuration using a PLL (Phase Locked Loop) as a doubler (Frequency Doubler) that supplies a doubled clock signal to the comparator. The double PLL 30 generates a double clock signal CLKX2 obtained by multiplying the frequency of the clock signal CLK supplied from a clock generation circuit such as an oscillation circuit (4 in FIG. 11B) by 2 and supplies the clock signal CLKX2. Although not particularly limited, the comparator 10 receives the first and second input signals INP and INN, and the first and second input signals INP and INN when the doubled clock signal CLKX2 is High (for example, power supply potential). When the doubled clock signal CLKX2 is low (for example, ground potential), both the first and second outputs COP and CON are both compared to the first and second outputs COP and CON. Reset to High level (power supply voltage).

図12の例では、SRラッチ(SR Latch)11は、コンパレータ10の第1、第2の出力COP、CONをセット入力端子 ̄S、リセット入力端子 ̄Rに受けて、相補の出力Q、QBを出力する。SRラッチ11は、( ̄S、 ̄R)=(Low、High)のとき、(Q、QB)=(High、Low)にセットされ、( ̄S、 ̄R)=(High、Low)のとき、(Q、QB)=(Low、High)にリセットされ、( ̄S、 ̄R)=(High、High)のとき、(Q、QB)は前の状態を保持する。なお、図12において、端子S、Rの上のバー( ̄)は該端子に入力される信号がLowレベルでアクティブであることを表している。コンパレータ10の出力(COP、CON)=(Low、High)に応答して、SRラッチ11の出力は(Q、QB)=(High、Low)にセットされ、(COP、CON)=(High、Low)に応答して、(Q、QB)=(Low、High)にリセットされ、(COP、CON)=(High、High)のときは、(Q、QB)は前の状態を保持する。以下、他の図面のSRラッチ11も、図12のSRラッチ11と同様の構成とされる。   In the example of FIG. 12, the SR latch (SR Latch) 11 receives the first and second outputs COP and CON of the comparator 10 at the set input terminal  ̄S and the reset input terminal  ̄R, and outputs complementary outputs Q and QB. Is output. The SR latch 11 is set to (Q, QB) = (High, Low) when ( ̄S,  ̄R) = (Low, High), and ( ̄S,  ̄R) = (High, Low). (Q, QB) = (Low, High), and when ( ̄S,  ̄R) = (High, High), (Q, QB) holds the previous state. In FIG. 12, the bars ( ̄) above the terminals S and R indicate that the signal input to the terminals is active at the low level. In response to the output (COP, CON) = (Low, High) of the comparator 10, the output of the SR latch 11 is set to (Q, QB) = (High, Low), and (COP, CON) = (High, In response to (Low), (Q, QB) is reset to (Low, High). When (COP, CON) = (High, High), (Q, QB) holds the previous state. Hereinafter, the SR latch 11 of the other drawings has the same configuration as the SR latch 11 of FIG.

なお、図12では、2逓倍PLL30の内部構成は図示されていないが、PLLは、よく知られているように、例えば制御電圧で発振周波数を可変させるVCO(Voltage Controlled Oscillator:電圧制御発振器)と、VCOの発振信号を分周する分周器(Divider)と、分周器の出力と入力クロック信号の位相差を検出する位相比較器(PD:Phase Detector又はPFD:Phase Frequency Detector)と、位相比較器の出力を受け容量を充電、放電するチャージポンプ(CP:Charge Pump)と、チャージポンプの電圧を平滑化するループフィルタ(LPF: Loop Filter)を備え、ループフィルタの出力電圧が制御電圧としてVCOに供給される。2逓倍PLL30では、VCOの発振信号を分周する分周器として、例えば第1の分周器で2逓倍クロック信号CLKX2を生成し、2逓倍クロック信号CLKX2をさらに2分周してクロック信号CLKと同一周波数のクロック信号を生成し位相比較器に入力する。2逓倍PLL30は、入力クロック信号CLKに位相同期した逓倍クロック信号CLKX2を生成する。なお、PLLは、完全デジタルPLL(ADPLL:All Digital PLL)であってもよい。   In FIG. 12, although the internal configuration of the double PLL 30 is not shown, the PLL is, for example, a VCO (Voltage Controlled Oscillator) that varies the oscillation frequency with a control voltage. A divider for dividing the oscillation signal of the VCO, a phase comparator for detecting the phase difference between the output of the divider and the input clock signal (PD: Phase Detector or PFD: Phase Frequency Detector), It has a charge pump (CP: Charge Pump) that receives and outputs the capacity of the comparator and a loop filter (LPF: Loop Filter) that smoothes the voltage of the charge pump. The output voltage of the loop filter is used as the control voltage. Provided for VCO Be paid. In the double PLL 30, as a frequency divider that divides the oscillation signal of the VCO, for example, the first frequency divider generates the doubled clock signal CLKX2, and the doubled clock signal CLKX2 is further divided by two to obtain the clock signal CLK. Is generated and input to the phase comparator. The double PLL 30 generates a multiplied clock signal CLKX2 that is phase-synchronized with the input clock signal CLK. The PLL may be a complete digital PLL (ADPLL: All Digital PLL).

2逓倍器としてPLLを用いた図12の構成の場合、回路面積が増大し電力が増加する。   In the case of the configuration of FIG. 12 using a PLL as a doubler, the circuit area increases and the power increases.

より簡素な回路構成として、時間遅延技術(Time−Delay Technique)を用いた2逓倍器が知られている。図13は、時間遅延技術(Time−Delay Technique)を用いた2逓倍器の典型的な回路構成を示す図である。Time−Delay Techniqueの詳細は、例えば非特許文献1が参照される。   As a simpler circuit configuration, a doubler using a time delay technique (Time-Delay Technique) is known. FIG. 13 is a diagram illustrating a typical circuit configuration of a doubler using a time delay technique (Time-Delay Technique). For details of Time-Delay Technique, see Non-Patent Document 1, for example.

図13を参照すると、2逓倍器20’は、遅延τがT/4(ただし、TはCLKの周期)の遅延回路19(Delay)と、位相比較器として機能する排他的論理和(Exclusive OR)回路18とを備えている。なお、図13の2逓倍器20’は、非特許文献1のFigure.1に基づき、本願で新たに作成したものである。図13において、コンパレータ10、SRラッチ11は、図12と同一であるため、説明は省略する。   Referring to FIG. 13, the doubler 20 ′ includes an exclusive OR (Exclusive OR) functioning as a delay circuit 19 (Delay) having a delay τ of T / 4 (where T is the period of CLK) and a phase comparator. ) Circuit 18. The doubler 20 ′ in FIG. 13 is the same as that shown in FIG. 1 and newly created in this application. In FIG. 13, the comparator 10 and the SR latch 11 are the same as those in FIG.

2逓倍器20’において、遅延回路19は、入力クロック信号CLK(デューティ=50%とする)をτ=T/4遅延させたクロック信号(遅延クロック信号)CLKDを生成する。遅延クロック信号CLKDと入力クロック信号CLKは排他的論理和回路18に入力され、排他的論理和回路18から2逓倍クロック信号CLKX2が出力される。すなわち、排他的論理和回路18は、入力クロック信号CLKと遅延クロック信号CLKDが同一論理レベル(ともにHighレベルであるか、又はともにLowレベル)のとき、Lowを出力し、入力クロック信号CLKと遅延クロック信号CLKDが互いに異なる論理レベルのとき、Highを出力する。なお、非特許文献1のFigure.1では、遅延回路は、積分器とコンパレータを備え、積分器は、矩形波である入力クロック信号CLKを積分して三角波を出力し、コンパレータは、積分器からの三角波を基準電圧と比較しCLKからT/4遅延させた矩形波を出力する構成とされている。図13において、遅延回路19は、積分器とコンパレータの構成に制限されるものでなく、例えばCMOSインバータを偶数段接続した構成としてもよい。   In the doubler 20 ', the delay circuit 19 generates a clock signal (delayed clock signal) CLKD obtained by delaying the input clock signal CLK (duty = 50%) by τ = T / 4. The delayed clock signal CLKD and the input clock signal CLK are input to the exclusive OR circuit 18, and the doubled clock signal CLKX2 is output from the exclusive OR circuit 18. That is, the exclusive OR circuit 18 outputs Low when the input clock signal CLK and the delayed clock signal CLKD are at the same logic level (both High level or both Low level), and delays with the input clock signal CLK. When the clock signal CLKD has a different logic level, High is output. Note that FIG. 1, the delay circuit includes an integrator and a comparator. The integrator integrates the input clock signal CLK, which is a rectangular wave, and outputs a triangular wave. The comparator compares the triangular wave from the integrator with a reference voltage and outputs a triangular wave. Output a square wave delayed by T / 4. In FIG. 13, the delay circuit 19 is not limited to the configuration of the integrator and the comparator, and may be configured, for example, by connecting an even number of CMOS inverters.

図14は、図13の回路において、入力クロック信号CLKと、遅延回路10の出力信号(遅延クロック信号)CLKDと、排他的論理和回路18の出力信号である2逓倍クロック信号CLKX2のそれぞれのタイミング波形を示す図である。ここでは、クロック信号CLKの周期をTとし、そのデューティ=50%であるものとし、遅延回路19の遅延τ=T/4とする。入力クロック信号CLKを遅延回路19でτ=T/4遅延させた遅延クロック信号CLKDと、入力クロック信号CLKとを排他的論理和回路18で比較することで、遅延クロック信号CLKDと入力クロック信号CLKの論理レベルの異なるときに、Highとなる2逓倍クロック信号CLKX2が生成される。図14に示すように、入力クロック信号CLKの立ち上がりエッジと立ち下がりエッジにそれぞれ応答してHighに立ち上がるパルス(パルス幅=T/4)、周期=T/2の2逓倍クロック信号CLKX2が生成される。図14では、2逓倍クロック信号CLKX2のデューティは50%である。   FIG. 14 shows timings of the input clock signal CLK, the output signal (delayed clock signal) CLKD of the delay circuit 10, and the doubled clock signal CLKX2 that is the output signal of the exclusive OR circuit 18 in the circuit of FIG. It is a figure which shows a waveform. Here, it is assumed that the period of the clock signal CLK is T, the duty is 50%, and the delay τ of the delay circuit 19 is T / 4. By comparing the input clock signal CLK with the delayed clock signal CLKD obtained by delaying the input clock signal CLK by τ = T / 4 by the delay circuit 19 and the exclusive OR circuit 18, the delayed clock signal CLKD and the input clock signal CLK are compared. When the logic levels are different, the double clock signal CLKX2 that becomes High is generated. As shown in FIG. 14, a pulse that rises to High in response to the rising edge and falling edge of the input clock signal CLK (pulse width = T / 4), and the doubled clock signal CLKX2 having a period = T / 2 is generated. The In FIG. 14, the duty of the double clock signal CLKX2 is 50%.

図13の2逓倍器20’は、遅延回路19と1つの論理ゲート(Exclusive OR)で構成され、回路構成が簡素化されており、図12の2逓倍PLL30を備えた構成と比較して、回路面積の削減、消費電力の低減が可能である。   The doubler 20 ′ in FIG. 13 includes a delay circuit 19 and one logic gate (Exclusive OR), and the circuit configuration is simplified. Compared with the configuration including the double PLL 30 in FIG. Circuit area and power consumption can be reduced.

Brad R. Jackson and Carlos E. Saavedra, "An L-Band CMOS Frequency Doubler using a Time-Delay Technique" Silicon Monolithic Integrated Circuits in RF Systems, Jan. 2006Brad R. Jackson and Carlos E. Saavedra, "An L-Band CMOS Frequency Doubler using a Time-Delay Technique" Silicon Monolithic Integrated Circuits in RF Systems, Jan. 2006

以下に、本発明者によって為された関連技術の分析を示す。   The following is an analysis of the related art performed by the present inventors.

前述したように、2逓倍器として、図12に示した2逓倍PLLを備えた構成は、入力クロック信号CLKに位相同期した2逓倍クロック信号CLKX2を生成することができるが、PLL自体の構成が、コンパレータ等と比べて大きく且つ複雑であることから、面積及び電力がともに増加する、という問題点を有している。   As described above, the configuration including the double PLL shown in FIG. 12 as the double multiplier can generate the double clock signal CLKX2 that is phase-synchronized with the input clock signal CLK. Since it is larger and more complex than a comparator or the like, there is a problem that both area and power increase.

一方、図13の2逓倍器20’の場合、遅延回路19の遅延時間τは、製造プロセスや、電源電圧変動、温度等によってばらつく。   On the other hand, in the case of the doubler 20 ′ in FIG. 13, the delay time τ of the delay circuit 19 varies depending on the manufacturing process, power supply voltage fluctuation, temperature, and the like.

図15は、図13の構成のタイミング動作上の問題点を説明するための図である。図15(A)、図15(B)には、図13の入力クロック信号CLK、遅延クロック信号CLKD、2逓倍クロック信号CLKX2のタイミング波形が示されており、図15(A)では、さらに、コンパレータ10の状態(CMP状態)が示されている。コンパレータ10の状態(CMP状態)の「動作」は、コンパレータ10がINPとINNの電圧を比較する動作状態にあることを表しており、CMP状態の「停止」は、コンパレータ10がINPとINNの電圧比較動作を停止している状態を表している。コンパレータ10は、2逓倍クロック信号CLKX2がHighとなってから、第1、第2の出力COP、CONの値(比較結果)を確定するまでに時間CMP_Delayを要する。   FIG. 15 is a diagram for explaining a problem in the timing operation of the configuration of FIG. 15A and 15B show timing waveforms of the input clock signal CLK, the delayed clock signal CLKD, and the doubled clock signal CLKX2 of FIG. 13, and in FIG. The state (CMP state) of the comparator 10 is shown. “Operation” in the state of the comparator 10 (CMP state) indicates that the comparator 10 is in an operation state for comparing the voltages of INP and INN, and “stop” in the CMP state indicates that the comparator 10 is in the state of INP and INN. The voltage comparison operation is stopped. The comparator 10 requires time CMP_Delay after the doubled clock signal CLKX2 becomes High until the values (comparison results) of the first and second outputs COP and CON are determined.

図15(A)は、図13の構成の第1の問題点を説明する図である。第1の問題点は、遅延回路19の遅延τがコンパレータ10の判定動作時間よりも小さくなる場合に生じる。図15(A)の場合、遅延回路19の遅延τ’はτ=T/4(Tはクロック信号CLKの1周期)よりも短く、コンパレータ10の比較動作の確定に必要な時間区間(CMP_Delay)よりも短い。すなわち、遅延クロック信号CLKDは、入力クロック信号CLKのLowからHighへの立ち上がりから遅延τ’で、LowからHighに立ち上がる。入力クロック信号CLKの立ち上がりでHighとなった2逓倍クロック信号CLKX2は、遅延クロック信号CLKDのLowからHighへの立ち上がりエッジに応答して、図15(A)の破線のタイミングでHighからLowに立ち下がる。2逓倍クロック信号CLKX2のHighパルス期間(コンパレータの動作期間)は、コンパレータ10の比較動作の確定に必要な時間区間(=CMP_Delay)よりも短い。この結果、図15(A)の「CMP状態」に示すように、コンパレータ10の比較結果が確定する前に、CLKDがHighとなり、CLKX2がLowとなるため、コンパレータ10は比較動作を停止してしまう。この結果、コンパレータ10の第1、第2の出力COP、CONには正しい比較結果が出力されない。   FIG. 15A is a diagram for explaining a first problem of the configuration of FIG. The first problem occurs when the delay τ of the delay circuit 19 is smaller than the determination operation time of the comparator 10. In the case of FIG. 15A, the delay τ ′ of the delay circuit 19 is shorter than τ = T / 4 (T is one cycle of the clock signal CLK), and the time interval (CMP_Delay) necessary for determining the comparison operation of the comparator 10. Shorter than. That is, the delayed clock signal CLKD rises from Low to High with a delay τ ′ from the rising edge of the input clock signal CLK from Low to High. The double clock signal CLKX2 that becomes High at the rising edge of the input clock signal CLK rises from High to Low at the timing of the broken line in FIG. 15A in response to the rising edge of the delayed clock signal CLKD from Low to High. Go down. The high pulse period (comparator operation period) of the doubled clock signal CLKX2 is shorter than the time interval (= CMP_Delay) necessary for determining the comparison operation of the comparator 10. As a result, as shown in “CMP state” in FIG. 15A, before the comparison result of the comparator 10 is confirmed, CLKD becomes High and CLKX2 becomes Low, so the comparator 10 stops the comparison operation. End up. As a result, correct comparison results are not output to the first and second outputs COP and CON of the comparator 10.

図15(B)は、図13の構成の第2の問題点を説明する図である。図13の遅延回路19の遅延τ’が、入力クロック信号CLKの半周期(=T/2)よりも大きくなると、2逓倍クロック信号CLKX2は、コンパレータ10が正しく動作するために必要な2逓倍波形とはならない。図15(B)では、遅延クロック信号CLKDは入力クロック信号CLKがLowからHighに立ち上がり、その後、HighからLowに立ち下ったのちに、LowからHighに立ち上がっている(τ’>T/2)。このため、2逓倍クロック信号CLKX2は、入力クロック信号CLKの立ち上がりでHighとなり、T/2後の入力クロック信号CLKの立ち下がりでLowとなり、時間区間(τ’−T/2)ののち、遅延クロック信号CLKDの立ち上がりでHighとなり、次サイクルの入力クロック信号CLKがLowからHighに立ち上がるまでの期間Highとなる。このCLKX2の波形は、入力クロック信号CLKの1周期(=T)内において、連続する2つのHighパルスのうち1発目のHighパルスのパルス幅がT/2となり、時間(τ’−T/2)の間Lowとなり、次のHighパルスは、次サイクルの入力クロック信号CLKの立ち上がりまでの時間区間(T−τ’)Highとなる。図15(B)のCLKX2の波形では、連続する2つのHighパルスの間のLow期間が短いため、コンパレータ10のリセット動作に必要な時間が確保できない場合がある。   FIG. 15B is a diagram for explaining a second problem of the configuration of FIG. When the delay τ ′ of the delay circuit 19 of FIG. 13 becomes larger than the half cycle (= T / 2) of the input clock signal CLK, the doubled clock signal CLKX2 is a doubled waveform necessary for the comparator 10 to operate correctly. It will not be. In FIG. 15B, the delayed clock signal CLKD rises from Low to High after the input clock signal CLK rises from Low to High and then falls from High to Low (τ ′> T / 2). . For this reason, the double clock signal CLKX2 becomes High at the rising edge of the input clock signal CLK, becomes Low at the falling edge of the input clock signal CLK after T / 2, and is delayed after the time interval (τ′−T / 2). It becomes High at the rising edge of the clock signal CLKD and becomes High until the input clock signal CLK of the next cycle rises from Low to High. The waveform of this CLKX2 is that the pulse width of the first High pulse of two consecutive High pulses is T / 2 within one period (= T) of the input clock signal CLK, and the time (τ′−T / It becomes Low during 2), and the next High pulse becomes the time interval (T−τ ′) High until the rising edge of the input clock signal CLK in the next cycle. In the waveform of CLKX2 in FIG. 15B, since the Low period between two consecutive high pulses is short, the time required for the reset operation of the comparator 10 may not be ensured.

したがって、本発明は、遅延回路の遅延時間のばらつき等に起因して生じる上記問題点に鑑みて創案されたものであって、その目的は、回路構成の簡素化を図るとともに、上記問題点を解消し、コンパレータの動作を保証する2逓倍器を備えた半導体装置を提供することにある。   Therefore, the present invention has been made in view of the above-described problems caused by delay time variations of delay circuits, and the object thereof is to simplify the circuit configuration and to solve the above problems. An object of the present invention is to provide a semiconductor device including a doubler that eliminates the problem and guarantees the operation of the comparator.

上記課題を解決するため、概略以下の構成の半導体装置が提供される(ただし、以下に制限されるものでない)。   In order to solve the above-described problems, a semiconductor device having the following general configuration is provided (but is not limited to the following).

本発明によれば、入力クロック信号を第1の遅延回路で遅延させた遅延クロック信号と、前記入力クロック信号とを位相比較器に入力し、前記入力クロック信号の周波数を2逓倍した2逓倍クロック信号を生成する2逓倍回路と、
前記2逓倍回路からの前記2逓倍クロック信号を受け、前記2逓倍クロック信号が第1の論理レベルのとき、第1、第2の入力信号の大小の比較動作を行い、前記2逓倍クロック信号が第2の論理レベルのとき、比較動作を停止するコンパレータと、
前記コンパレータの出力をモニタし、前記コンパレータが比較動作を完了したことを検出した時点でトリガ信号を出力する第1の回路と、を備え、前記第1の遅延回路は、前記入力クロック信号を、少なくとも前記第1の回路から前記トリガ信号が出力される時点まで遅延させ、前記遅延クロック信号として出力する可変遅延器を備えた半導体装置が提供される。
According to the present invention, the delayed clock signal obtained by delaying the input clock signal by the first delay circuit and the input clock signal are input to the phase comparator, and the doubled clock obtained by multiplying the frequency of the input clock signal by two. A doubler circuit for generating a signal;
When the double clock signal from the double circuit is received and the double clock signal is at the first logic level, the first and second input signals are compared in magnitude, and the double clock signal is A comparator that stops the comparison operation at the second logic level;
A first circuit that monitors the output of the comparator and outputs a trigger signal when it is detected that the comparator has completed the comparison operation, and the first delay circuit includes the input clock signal, There is provided a semiconductor device including a variable delay device that delays at least the time point when the trigger signal is output from the first circuit and outputs the delayed signal as the delayed clock signal.

本発明によれば、回路構成の簡素化を図るとともに、遅延回路の遅延時間のばらつき等に起因して生じる上記問題点を解消し、コンパレータの動作を保証することができる。   According to the present invention, it is possible to simplify the circuit configuration, eliminate the above-described problems caused by variations in delay time of the delay circuit, and guarantee the operation of the comparator.

本発明の一実施形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of this invention. 本発明の一実施形態の動作を説明するためのタイミング図である。It is a timing diagram for demonstrating operation | movement of one Embodiment of this invention. 本発明の実施例1の構成を示す図である。It is a figure which shows the structure of Example 1 of this invention. 本発明の実施例1の動作を説明するためのタイミング図である。It is a timing diagram for demonstrating operation | movement of Example 1 of this invention. 本発明の実施例2の構成を示す図である。It is a figure which shows the structure of Example 2 of this invention. 実施例1(2)において、クロック信号CLKにDuty誤差が生じたときのCLKX2の波形を示す図である。In Example 1 (2), it is a figure which shows the waveform of CLKX2 when Duty error arises in the clock signal CLK. 本発明の実施例3の構成を示す図である。It is a figure which shows the structure of Example 3 of this invention. 本発明の実施例4の構成を示す図である。It is a figure which shows the structure of Example 4 of this invention. コンパレータの構成例を示す図である。It is a figure which shows the structural example of a comparator. 周波数2逓倍器を搭載する半導体チップの一例を示す図である。It is a figure which shows an example of the semiconductor chip which mounts a frequency doubler. (A)はADCのコンパレータクロックに周波数2逓倍器を使用した回路を示す図である。(B)はコンパレータ単体のクロックに周波数2逓倍器を使用した回路を示す。(A) is a figure which shows the circuit which uses the frequency doubler for the comparator clock of ADC. (B) shows a circuit using a frequency doubler for the clock of the comparator alone. コンパレータクロックに2逓倍器としてPLL2逓倍器を使用した関連技術を示す図である。It is a figure which shows the related technique which uses a PLL doubler as a doubler for a comparator clock. コンパレータクロックに2逓倍器としてTime−Delay Techniqueの2逓倍器を使用した関連技術を示す図である。It is a figure which shows the related technique which uses the 2 time multiplier of Time-Delay Technique as a 2 times multiplier for a comparator clock. 図13の2逓倍器の動作を説明するためのタイミング図である。It is a timing diagram for demonstrating operation | movement of the doubler of FIG. (A)、(B)は図13の2逓倍器の問題点を説明するためのタイミング図である。(A), (B) is a timing diagram for demonstrating the problem of the doubler of FIG.

本発明の好ましい形態の1つによれば、入力クロック信号(CLK)を第1の遅延回路(例えば図1の可変遅延器16)で遅延させた遅延クロック信号(CLKD)と、入力クロック信号(CLK)の位相を位相比較器(例えば図1の18)で比較することにより、入力クロック信号(CLK)の周波数を2逓倍した2逓倍クロック信号(CLKX2)を生成する2逓倍回路(例えば図1の2逓倍器20)と、2逓倍回路(図1の20)からの2逓倍クロック信号(CLKX2)を受け、2逓倍クロック信号(CLKX2)が第1の論理レベル(例えばHighレベル)のとき、比較動作を行い、2逓倍クロック信号(CLKX2)が第2の論理レベル(例えばLowレベル)のとき、比較動作を停止するコンパレータ(10)と、前記コンパレータ(10)の出力をモニタし、前記コンパレータ(10)の比較結果を出力したことが確認された時点で、トリガ信号(DLCLK)を生成する回路(例えば図1の12、14、あるいは図3の13)を備えている。第1の遅延回路(図1の16)は、少なくとも、第1の回路(図1の12、14、あるいは図3の13)からトリガ信号(DLCLK)が出力される時点まで、前記入力クロック信号(CLK)を可変に遅延させた信号を前記遅延クロック信号(CLKD)として出力する。位相比較器(図1の18)は、遅延クロック信号(CLKD)と入力クロック信号(CLK)が互いに異なる論理レベルのとき、第1の論理レベル(例えばHighレベル)を出力し、遅延クロック信号(CLKD)と入力クロック信号(CLK)が同一の論理レベルのとき、第2の論理レベル(例えばLowレベル)を出力する。   According to one of the preferred embodiments of the present invention, a delay clock signal (CLKD) obtained by delaying an input clock signal (CLK) by a first delay circuit (for example, the variable delay device 16 in FIG. 1), and an input clock signal ( The phase of (CLK) is compared by a phase comparator (for example, 18 in FIG. 1) to generate a doubled clock signal (CLKX2) by multiplying the frequency of the input clock signal (CLK) by 2 (for example, FIG. 1). 2) and a double clock signal (CLKX2) from the double circuit (20 in FIG. 1), and when the double clock signal (CLKX2) is at the first logic level (for example, High level), A comparator (10) that performs a comparison operation and stops the comparison operation when the doubled clock signal (CLKX2) is at a second logic level (for example, a low level); A circuit for generating a trigger signal (DLCLK) (for example, 12, 14 in FIG. 1 or FIG. 3) at the time when it is confirmed that the output of the comparator (10) is output and the comparison result of the comparator (10) is output. 13). The first delay circuit (16 in FIG. 1) receives at least the input clock signal until the trigger signal (DLCLK) is output from the first circuit (12, 14 in FIG. 1, or 13 in FIG. 3). A signal obtained by variably delaying (CLK) is output as the delayed clock signal (CLKD). When the delayed clock signal (CLKD) and the input clock signal (CLK) have different logic levels, the phase comparator (18 in FIG. 1) outputs a first logic level (for example, High level), and the delayed clock signal ( When the CLKD) and the input clock signal (CLK) have the same logic level, a second logic level (for example, a Low level) is output.

2逓倍クロック信号(CLLX2)は、入力クロック信号(CLK)の第2の論理レベル(Lowレベル)から第1の論理レベル(Highレベル)への遷移に応答して第1の論理レベル(Highレベル)となり、入力クロック信号(CLK)を、トリガ信号(DLCLK)が出力される時点まで遅延させた遅延クロック信号(CLKD)の第1の論理レベル(Highレベル)への遷移に応答して、第2の論理レベル(Lowレベル)となる。このため、コンパレータ(10)は、比較動作が確定(完了)したのちに、比較動作を停止する。このため、製造プロセスによるばらつき、電源電圧変動、温度変化等による遅延回路の遅延変動により、逓倍クロック信号の第1の論理レベルの期間が狭まり、コンパレータ(10)が比較動作を確定する前に停止してしまうという、図13の回路に関する第1の問題点を解消している。   The double clock signal (CLLX2) is in response to a transition from the second logic level (Low level) to the first logic level (High level) of the input clock signal (CLK). In response to the transition to the first logic level (High level) of the delayed clock signal (CLKD) obtained by delaying the input clock signal (CLK) until the trigger signal (DLCLK) is output. 2 logic level (Low level). For this reason, the comparator (10) stops the comparison operation after the comparison operation is confirmed (completed). For this reason, the period of the first logic level of the multiplied clock signal is narrowed due to variations in the delay circuit due to variations in the manufacturing process, power supply voltage variations, temperature variations, etc., and the comparator (10) stops before confirming the comparison operation. This solves the first problem associated with the circuit of FIG.

また、2逓倍クロック信号(CLLX2)は入力クロック信号(CLK)の第2の論理レベルから第1の論理レベルへの遷移で第1の論理レベルに遷移し、コンパレータ(10)での比較動作が確定した時点で第2の論理レベルに遷移させるように制御するため、図13の回路に関する上記第2の問題点を解消している。図13の回路では、2逓倍クロック信号(CLLX2)は、入力クロック信号(CLK)の第2の論理レベル(例えばLow)から第1の論理レベル(例えばHigh)への遷移で第1の論理レベルに遷移し、遅延回路(19)の遅延τの後に第2の論理レベルとなる。一方、図13の回路では、2逓倍クロック信号(CLLX2)の第1の論理レベル(Highレベル)から第2の論理レベル(Lowレベル)への遷移はコンパレータ(10)での比較動作が確定する時点とは無関係とされる。以下実施形態に即して説明する。   The double clock signal (CLLX2) changes to the first logic level when the input clock signal (CLK) changes from the second logic level to the first logic level, and the comparator (10) performs the comparison operation. Since the control is performed so as to shift to the second logic level at the time of confirmation, the second problem relating to the circuit of FIG. 13 is solved. In the circuit of FIG. 13, the doubled clock signal (CLLX2) is changed to the first logic level at the transition from the second logic level (for example, Low) to the first logic level (for example, High) of the input clock signal (CLK). And the second logic level after the delay τ of the delay circuit (19). On the other hand, in the circuit of FIG. 13, the comparison operation of the comparator (10) is determined when the doubled clock signal (CLLX2) transitions from the first logic level (High level) to the second logic level (Low level). It is irrelevant to the time. A description will be given below according to the embodiment.

<実施形態>
図1は、本発明の一実施形態の構成を示す図である。図1を参照すると、本実施形態においては、コンパレータ10と、出力モニタ回路12と、トリガ発生回路14と、可変遅延器16と、位相比較器18を備えている。可変遅延器16と、位相比較器18は2逓倍器20を構成している。コンパレータ10は、図12、図13を参照して説明したものと同一の構成とされ、2逓倍クロック信号CLKX2がHighのとき、入力信号INP、INNの電圧比較を行い、2逓倍クロック信号CLKX2がHighからLowになると、比較動作を停止する。特に制限されないが、2逓倍クロック信号CLKX2がLowの期間、出力COP/NともHighレベルにプリチャージされる。
<Embodiment>
FIG. 1 is a diagram showing a configuration of an embodiment of the present invention. Referring to FIG. 1, the present embodiment includes a comparator 10, an output monitor circuit 12, a trigger generation circuit 14, a variable delay device 16, and a phase comparator 18. The variable delay device 16 and the phase comparator 18 constitute a doubler 20. The comparator 10 has the same configuration as that described with reference to FIGS. 12 and 13. When the double clock signal CLKX2 is High, the comparator 10 compares the voltages of the input signals INP and INN, and the double clock signal CLKX2 is When High goes to Low, the comparison operation is stopped. Although not particularly limited, the output COP / N is precharged to a high level while the doubled clock signal CLKX2 is low.

出力モニタ回路12と、トリガ発生回路14は、コンパレータ10の出力COP/Nをモニタリングし、コンパレータ10が比較結果を出したことを検出すると、トリガ信号DLCLKを出力する。出力モニタ回路12とトリガ発生回路14を1つの回路ブロック又は論理ゲートで構成するようにしてもよいことは勿論である。   The output monitor circuit 12 and the trigger generation circuit 14 monitor the output COP / N of the comparator 10 and, when detecting that the comparator 10 has output a comparison result, output the trigger signal DLCLK. Of course, the output monitor circuit 12 and the trigger generation circuit 14 may be configured by one circuit block or logic gate.

可変遅延器16は、入力クロック信号CLKを入力し、入力クロック信号CLKの立ち上がりエッジをトリガ信号DLCLKの出力タイミング(DLCLKのLowからHighへの立ち上がりのタイミング)まで遅延させた遅延クロック信号CLKDを出力する。   The variable delay unit 16 receives the input clock signal CLK, and outputs a delayed clock signal CLKD obtained by delaying the rising edge of the input clock signal CLK until the output timing of the trigger signal DLCLK (the timing of rising of DLCLK from Low to High). To do.

位相比較器18は、入力クロック信号CLKと遅延クロック信号CLKDの位相を比較し、位相差(一方がHigh、他方がLowのとき、その位相差)に応じたパルス幅のHighパルスを出力する。   The phase comparator 18 compares the phases of the input clock signal CLK and the delayed clock signal CLKD, and outputs a High pulse having a pulse width corresponding to the phase difference (the phase difference when one is High and the other is Low).

図2は、図1の回路の動作を説明するタイミング図である。図2は、図1の入力クロック信号CLK、2逓倍クロック信号CLKX2、コンパレータ出力COP/Nの一方COP、トリガ信号DLCLK、遅延クロック信号CLKDのタイミング波形の一例が示されている。COPの波形において、枠で囲んだ区間は、コンパレータの判定区間を模式的に表している。図1、図2を参照して、本実施形態の動作を説明する。   FIG. 2 is a timing chart for explaining the operation of the circuit of FIG. FIG. 2 shows an example of timing waveforms of the input clock signal CLK, the double clock signal CLKX2, the comparator output COP / N COP, the trigger signal DLCLK, and the delayed clock signal CLKD of FIG. In the COP waveform, a section surrounded by a frame schematically represents a determination section of the comparator. The operation of the present embodiment will be described with reference to FIGS.

まず、入力クロック信号CLKがLowからHighに立ち上がった時、遅延クロック信号CLKDがLowの場合、位相誤差があるため、位相比較器18の出力である2逓倍クロック信号CLKX2はHighとなる。   First, when the input clock signal CLK rises from Low to High, if the delayed clock signal CLKD is Low, there is a phase error, so that the double clock signal CLKX2 that is the output of the phase comparator 18 becomes High.

2逓倍クロック信号CLKX2のHighを受け、コンパレータ10はINPとINNの電圧の比較動作を開始する。   Receiving High of the double clock signal CLKX2, the comparator 10 starts the operation of comparing the voltages of INP and INN.

コンパレータ10の出力をモニタする出力モニタ回路12とトリガ発生回路14は、コンパレータ10の比較結果の出力を検出すると、トリガ信号DLCLKを活性状態(例えばHIghレベル)とする。   When the output monitor circuit 12 and the trigger generation circuit 14 that monitor the output of the comparator 10 detect the output of the comparison result of the comparator 10, the trigger signal DLCLK is activated (for example, high level).

可変遅延器16は、トリガ信号DLCLKのLowからHighへの立ち上がりを受けて、入力クロック信号CLKのエッジ(例えば立ち上がりエッジ)をトリガ信号DLCLKの立ち上がりエッジまで遅延させる。トリガ信号DLCLKの立ち上がりエッジに応答して、可変遅延器16から出力される遅延クロック信号CLKDはHighとなる。   The variable delay unit 16 receives the rising edge of the trigger signal DLCLK from Low to High, and delays the edge (for example, the rising edge) of the input clock signal CLK to the rising edge of the trigger signal DLCLK. In response to the rising edge of the trigger signal DLCLK, the delayed clock signal CLKD output from the variable delay device 16 becomes High.

遅延クロック信号CLKDがLowからHighになると、入力ロック信号CLKと遅延クロック信号CLKDがともにHighであることから、これらの信号に位相差はなくなり、位相比較器18はその出力である2逓倍クロック信号CLKX2をLowとする。   When the delayed clock signal CLKD changes from Low to High, both the input lock signal CLK and the delayed clock signal CLKD are High, so that there is no phase difference between these signals, and the phase comparator 18 outputs the doubled clock signal as its output. CLKX2 is set to Low.

つづいて、入力ロック信号CLKがHighからLowに立ち下がると、遅延クロック信号CLKDはHighであるため、位相比較器18から出力される2逓倍クロック信号CLKX2はHighとなる。2逓倍クロック信号CLKX2のHighを受け、コンパレータ10はINPとINNの電圧の比較動作を開始する。この後の動作は、前述の動作を繰り返す。   Subsequently, when the input lock signal CLK falls from High to Low, since the delayed clock signal CLKD is High, the doubled clock signal CLKX2 output from the phase comparator 18 becomes High. Receiving High of the double clock signal CLKX2, the comparator 10 starts the operation of comparing the voltages of INP and INN. In the subsequent operation, the above-described operation is repeated.

本実施形態によれば、コンパレータ10での比較動作の終了(比較結果の確定)の検出結果に基づき、トリガ信号DLCLKを活性化し、トリガ信号DLCLKの活性化のタイミングに対応して、遅延クロック信号CLKDの立ち上がりエッジを生成し、位相比較器18で遅延クロック信号CLKDと入力クロック信号CLKと位相比較して2逓倍クロック信号CLKX2を生成している。このため、図15(A)、(B)で説明した問題点を解消し、コンパレータ10の動作を保証している。   According to the present embodiment, the trigger signal DLCLK is activated based on the detection result of the end of the comparison operation (comparison result confirmation) in the comparator 10, and the delayed clock signal is corresponding to the activation timing of the trigger signal DLCLK. A rising edge of CLKD is generated, and the phase comparator 18 compares the phase of the delayed clock signal CLKD with the input clock signal CLK to generate a doubled clock signal CLKX2. For this reason, the problem described in FIGS. 15A and 15B is solved, and the operation of the comparator 10 is guaranteed.

<実施例1>
図3は、実施例1として、図1の具体的な構成例を示す図である。図3を参照すると、コンパレータ10と、SRラッチ11と、NAND回路(否定論理積回路)からなる出力モニタ&トリガ発生回路13と、可変遅延器(D Latch)16と、位相比較器(排他的論理和回路)18とからなる。実施例1の出力モニタ&トリガ発生回路(NAND回路)13は、図1の出力モニタ回路12とトリガ発生回路14に対応し、図1の出力モニタ回路12とトリガ発生回路14を1つの回路にまとめたものである。図1の可変遅延器16は、入力クロック信号CLKをデータ端子に入力し、トリガ信号をクロック端子に入力し、クロック端子の立ち上がりエッジでデータ端子の信号値をキャプチャ出力するエッジトリガ型のD型ラッチ(D Latch)で構成される。D型ラッチは、エッジトリガ型のD型フリップフロップで構成してもよい。位相比較器18は、図13と同様、排他的論理和回路(EXOR)で構成される。以下では、説明の簡単のため、可変遅延器を構成するD型ラッチを参照符号16、位相比較器を構成する排他的論理和回路を参照符号18で参照する場合もある。図4は、図3の動作例を説明するタイミング波形図である。
<Example 1>
FIG. 3 is a diagram illustrating a specific configuration example of FIG. 1 as the first embodiment. Referring to FIG. 3, a comparator 10, an SR latch 11, an output monitor & trigger generation circuit 13 composed of a NAND circuit (negative AND circuit), a variable delay device (D Latch) 16, and a phase comparator (exclusive (OR circuit) 18. The output monitor & trigger generation circuit (NAND circuit) 13 of the first embodiment corresponds to the output monitor circuit 12 and the trigger generation circuit 14 of FIG. 1, and the output monitor circuit 12 and the trigger generation circuit 14 of FIG. It is a summary. The variable delay device 16 in FIG. 1 inputs an input clock signal CLK to a data terminal, inputs a trigger signal to the clock terminal, and captures and outputs the signal value of the data terminal at the rising edge of the clock terminal. It is composed of a latch (D Latch). The D-type latch may be composed of an edge-triggered D-type flip-flop. The phase comparator 18 is configured by an exclusive OR circuit (EXOR) as in FIG. In the following, for simplicity of explanation, the D-type latch constituting the variable delay device may be referred to by reference numeral 16 and the exclusive OR circuit constituting the phase comparator may be referred to by reference numeral 18. FIG. 4 is a timing waveform diagram for explaining the operation example of FIG.

図3と図4を参照して、コンパレータ10に入力される第1、第2の入力信号INP、INNの電圧レベルがINP<INNの場合の動作を説明する。   The operation when the voltage levels of the first and second input signals INP and INN input to the comparator 10 are INP <INN will be described with reference to FIGS.

コンパレータ10は、2逓倍クロック信号CLKX2がLowの期間でリセットがかかり、第1、第2の出力COP、CONをともにHighとする。   The comparator 10 is reset while the double clock signal CLKX2 is Low, and both the first and second outputs COP and CON are set to High.

遅延クロック信号CLKDがLowレベルのときに、入力クロック信号CLKがLowからHighに立ち上がると、位相比較器18の出力である2逓倍クロック信号CLKX2は、入力クロック信号CLKのHighへの立ち上がりに応答してHighに立ち上がる。   When the input clock signal CLK rises from Low to High when the delay clock signal CLKD is at Low level, the doubled clock signal CLKX2 that is the output of the phase comparator 18 responds to the rise of the input clock signal CLK to High. Stand up to High.

2逓倍クロック信号CLKX2がHighとなると、コンパレータ10は第1、第2の入力信号INP、INNの電圧レベルを比較する比較動作を行う。   When the double clock signal CLKX2 becomes High, the comparator 10 performs a comparison operation for comparing the voltage levels of the first and second input signals INP and INN.

コンパレータ10の比較判定に要する時間(図15(A)のCMP_Delay)に従い、2逓倍クロック信号CLKX2がLowからHighに立ち上がってからしばらくして、INP<INNに対応して、第1の出力COPがHighからLowとなる。第2の出力CONはHighのまま変化せず比較動作が終了する。なお、INP>INNの場合、2逓倍クロック信号CLKX2がLowからHighに立ち上がってからしばらくして、第2の出力CONがHighからLowとなり、第1の出力COPはHighのまま変化せず比較動作が終了する。   According to the time required for the comparison judgment of the comparator 10 (CMP_Delay in FIG. 15A), the first output COP corresponds to INP <INN after a while after the double clock signal CLKX2 rises from Low to High. From High to Low. The second output CON remains High and the comparison operation ends. When INP> INN, the second output CON changes from High to Low for a while after the doubled clock signal CLKX2 rises from Low to High, and the first output COP remains High and does not change. Ends.

INP<INNに対応して、コンパレータ10の第1の出力COPがHighからLowとなり、第2の出力CONはHighのままであるため、第1、第2の出力COP、CONを入力するNAND回路13の出力信号であるトリガ信号DLCLKは、LowからHighとなる。D型ラッチ16は、トリガ信号DLCLKのLowからHighへの立ち上がりエッジに応答して、入力クロック信号CLK(その時点でHighレベル)をキャプチャし、Highを出力する。すなわち、D型ラッチ16の出力信号である遅延クロック信号CLKDはHighとなる。   Corresponding to INP <INN, the first output COP of the comparator 10 changes from High to Low and the second output CON remains High. Therefore, the NAND circuit inputs the first and second outputs COP and CON. The trigger signal DLCLK, which is an output signal of 13, changes from Low to High. In response to the rising edge of the trigger signal DLCLK from Low to High, the D-type latch 16 captures the input clock signal CLK (High level at that time) and outputs High. That is, the delayed clock signal CLKD that is the output signal of the D-type latch 16 becomes High.

遅延クロック信号CLKDがLowからHighに変化した時点で、入力クロック信号CLKはHighであるため、位相比較器18の入力はともにHighとなり、位相比較器18から出力される2逓倍クロック信号CLKX2はHighからLowに変化する。2逓倍クロック信号CLKX2のLowを受けて、コンパレータ10にリセットがかかり、コンパレータ10の第1の出力COPはLowからHighとなる。第2の出力CONはHighを保つ。   Since the input clock signal CLK is High when the delay clock signal CLKD changes from Low to High, both inputs of the phase comparator 18 become High, and the doubled clock signal CLKX2 output from the phase comparator 18 is High. Changes from low to low. Receiving the Low of the double clock signal CLKX2, the comparator 10 is reset, and the first output COP of the comparator 10 changes from Low to High. The second output CON remains high.

実施例1によれば、コンパレータ10の第1、第2の出力COP、CONの値の変化時点(比較結果確定時点)まで、入力クロック信号CLKの立ち上がりエッジを遅延させて遅延クロック信号CLKDの立ち上がりエッジを生成し、該入力クロック信号CLKと該遅延クロック信号CLKDに基づき逓倍クロック信号CLKX2を生成しているため、前記関連技術の前記問題点を解消している。   According to the first embodiment, the rising edge of the delayed clock signal CLKD is delayed by delaying the rising edge of the input clock signal CLK until the time when the values of the first and second outputs COP and CON of the comparator 10 change (when the comparison result is determined). Since the edge is generated and the multiplied clock signal CLKX2 is generated based on the input clock signal CLK and the delayed clock signal CLKD, the problem of the related art is solved.

<実施例2>
次に、実施例2を説明する。図5は、実施例2の構成を示す図である。図5を参照すると、実施例2は、図3の実施例1の構成において、可変遅延器(D型ラッチ)16の出力と位相比較器18の入力の間のパスに、遅延回路15が挿入されている。図3において、コンパレータ10の第1、第2の出力COP、CONから2逓倍クロック信号CLKX2までの遅延時間が、仮に0sec(すなわち、遅延無し)と仮定すると、コンパレータ10の比較動作の終了過程時に、トリガ信号DLCLKがHighに立ち上がり、直ちに2逓倍クロック信号CLKX2がLowに立ち下がり、コンパレータ10にリセットをかけ、第1、第2の出力COP、CONをHighにリセットしてしまう可能性がある。この場合、コンパレータ10の第1、第2の出力COP、CONは、正しく後段のSRラッチ11等に伝達されない。
<Example 2>
Next, Example 2 will be described. FIG. 5 is a diagram illustrating the configuration of the second embodiment. Referring to FIG. 5, in the second embodiment, in the configuration of the first embodiment shown in FIG. Has been. In FIG. 3, assuming that the delay time from the first and second outputs COP and CON of the comparator 10 to the double clock signal CLKX2 is 0 sec (that is, no delay), at the end of the comparison operation of the comparator 10 There is a possibility that the trigger signal DLCLK rises to High, the double clock signal CLKX2 immediately falls to Low, the comparator 10 is reset, and the first and second outputs COP and CON are reset to High. In this case, the first and second outputs COP and CON of the comparator 10 are not correctly transmitted to the SR latch 11 and the like at the subsequent stage.

本実施例では、図5に示すように、可変遅延器(D型ラッチ)16と位相比較器18の間に遅延回路15を挿入し、コンパレータ10の比較動作の終了過程に、直ちに2逓倍クロック信号CLKX2がLowに立ち下がって、コンパレータ10にリセットをかける事態の発生を回避している。遅延回路15は、CMOSインバータを複数段接続する構成としてもよいし、あるいは配線遅延等を利用した構成としてもよい。本実施例によれば、コンパレータ10の比較動作の終了過程時に、コンパレータ10にリセットをかけ、第1、第2の出力COP、CONをHighにリセットしてしまうことを確実に回避することができる。   In this embodiment, as shown in FIG. 5, the delay circuit 15 is inserted between the variable delay device (D-type latch) 16 and the phase comparator 18, and immediately after the comparison operation of the comparator 10 is completed, the doubled clock is supplied. The occurrence of a situation in which the signal CLKX2 falls to Low and the comparator 10 is reset is avoided. The delay circuit 15 may have a configuration in which a plurality of CMOS inverters are connected, or a configuration using wiring delay or the like. According to the present embodiment, it is possible to reliably avoid resetting the comparator 10 and resetting the first and second outputs COP and CON to High at the end of the comparison operation of the comparator 10. .

<実施例3>
次に、実施例3を説明する。図6は、入力クロック信号CLKのデューティに誤差が生じた場合における、図3の前記実施例1の2逓倍クロック信号CLKX2の波形の一例を示す図である。前記実施例1において、2逓倍器20は、入力クロック信号CLKの立ち上がりと立ち下がりエッジを使用して、2逓倍クロック信号CLKX2を生成している。このため、入力クロック信号CLKにデューティ誤差が生じると、入力クロック信号CLKのHigh期間とLow期間の差により、2逓倍クロック信号CLKX2の周波数にずれが生じる。例えば図6に示すように、入力クロック信号CLKのHigh期間が短いと、入力クロック信号CLKの立ち上がりと立ち下がりに応答して生成される2逓倍クロック信号CLKX2の2発のHighパルスの時間間隔が狭まり、次のCLKの立ち上がりに応答して生成される2逓倍クロック信号CLKX2のHighパルスとの間の時間間隔は広がる。
<Example 3>
Next, Example 3 will be described. FIG. 6 is a diagram illustrating an example of a waveform of the doubled clock signal CLKX2 of the first embodiment of FIG. 3 when an error occurs in the duty of the input clock signal CLK. In the first embodiment, the doubler 20 uses the rising and falling edges of the input clock signal CLK to generate the doubled clock signal CLKX2. For this reason, when a duty error occurs in the input clock signal CLK, the frequency of the double clock signal CLKX2 is shifted due to the difference between the high period and the low period of the input clock signal CLK. For example, as shown in FIG. 6, when the High period of the input clock signal CLK is short, the time interval of two High pulses of the double clock signal CLKX2 generated in response to the rising and falling edges of the input clock signal CLK is reduced. The time interval between the high pulse of the double clock signal CLKX2 generated in response to the next rise of CLK is narrowed.

図7は、実施例3の構成を示す図である。実施例3では、この問題を解決するため、図7に示すように、図3の構成において、入力クロック信号CLKを入力しデューティを補正するデューティ補正回路17を備え、デューティ補正回路17の出力を、位相比較器18とD型ラッチ16に入力している。デューティ補正回路17において、入力クロック信号CLKのデューティが50%(High期間とLow期間が等しい)となるように補正した信号を位相比較器18に入力し、デューティを補正した信号の立ち上がりエッジと立ち下がりエッジに応答して、2逓倍クロック信号CLKX2の立ち上がりエッジを生成している。このため、図6のCLKX2のような波形となることは回避される。デューティ補正回路17は、入力クロック信号CLKのデューティを例えば50%に近づくように補正するものであり、任意の公知の構成を用いることができる。本実施例によれば、入力クロック信号CLKのデューティを例えば50%に近づくように補正するため、入力クロック信号CLKにデューティ誤差が生じた場合でも、図6のような2逓倍クロック信号CLKX2が出力されることを回避することができる。   FIG. 7 is a diagram illustrating the configuration of the third embodiment. In the third embodiment, in order to solve this problem, as shown in FIG. 7, in the configuration of FIG. 3, the input clock signal CLK is input and a duty correction circuit 17 for correcting the duty is provided. Are input to the phase comparator 18 and the D-type latch 16. In the duty correction circuit 17, the signal corrected so that the duty of the input clock signal CLK is 50% (the High period and the Low period are equal) is input to the phase comparator 18, and the rising edge and the rising edge of the signal whose duty is corrected are input. In response to the falling edge, the rising edge of the double clock signal CLKX2 is generated. For this reason, a waveform like CLKX2 in FIG. 6 is avoided. The duty correction circuit 17 corrects the duty of the input clock signal CLK so as to approach 50%, for example, and any known configuration can be used. According to the present embodiment, the duty of the input clock signal CLK is corrected so as to approach 50%, for example, so that even when a duty error occurs in the input clock signal CLK, the doubled clock signal CLKX2 as shown in FIG. 6 is output. Can be avoided.

<実施例4>
図8は、実施例4の構成を示す図である。図8に示すように、本実施例は、図3の実施例1の構成に、前記実施例2の遅延回路15と、前記実施例3のデューティ補正回路17を備えている。実施例4は、前記実施例2と前記実施例3の作用効果を併せ持つ。
<Example 4>
FIG. 8 is a diagram illustrating a configuration of the fourth embodiment. As shown in FIG. 8, the present embodiment includes the delay circuit 15 of the second embodiment and the duty correction circuit 17 of the third embodiment in the configuration of the first embodiment of FIG. The fourth embodiment has both the effects of the second embodiment and the third embodiment.

<実施例5>
図9は、前記実施形態及び各実施例で説明したコンパレータ10の構成の一例を示す図である。なお、コンパレータ10の構成は図9の構成に限定されるものでないことは勿論である。図9を参照すると、
ソースがGND(あるいはVSS:0V)に接続され、ゲートがINP端子に接続されたNMOSトランジスタNM1と、
ソースがGND(あるいはVSS)に接続され、ゲートがINN端子に接続されたNMOSトランジスタNM2と、
NMOSトランジスタNM1のドレインにソースが接続され、ゲートがCOP端子に接続されたNMOSトランジスタNM3と、
NMOSトランジスタNM2のドレインにソースが接続され、ゲートがCON端子に接続されたNMOSトランジスタNM4と、
NMOSトランジスタNM3のドレインにソースが接続され、ゲートがCLKX2端子に接続されたNMOSトランジスタNM5と、
NMOSトランジスタNM4のドレインにソースが接続され、ゲートがCLKX2端子に接続されたNMOSトランジスタNM6と、
ソースが電源VDDに接続され、NMOSトランジスタNM5のドレインにドレインが接続され、ゲートがCLKX2端子に接続されたPMOSトランジスタPM1と、
ソースが電源VDDに接続され、NMOSトランジスタNM5のドレインにドレインが接続され、ゲートがCOP端子に接続されたPMOSトランジスタPM2と、
ソースが電源VDDに接続され、NMOSトランジスタNM6のドレインにドレインが接続され、ゲートがCON端子に接続されたPMOSトランジスタPM3と、
ソースが電源VDDに接続され、NMOSトランジスタNM6のドレインにドレインが接続され、ゲートがCLKX2端子に接続されたPMOSトランジスタPM4と、を備えている。
<Example 5>
FIG. 9 is a diagram illustrating an example of the configuration of the comparator 10 described in the embodiment and each example. Of course, the configuration of the comparator 10 is not limited to the configuration of FIG. Referring to FIG.
An NMOS transistor NM1 having a source connected to GND (or VSS: 0V) and a gate connected to the INP terminal;
An NMOS transistor NM2 having a source connected to GND (or VSS) and a gate connected to the INN terminal;
An NMOS transistor NM3 having a source connected to the drain of the NMOS transistor NM1 and a gate connected to the COP terminal;
An NMOS transistor NM4 having a source connected to the drain of the NMOS transistor NM2 and a gate connected to the CON terminal;
An NMOS transistor NM5 having a source connected to the drain of the NMOS transistor NM3 and a gate connected to the CLKX2 terminal;
An NMOS transistor NM6 having a source connected to the drain of the NMOS transistor NM4 and a gate connected to the CLKX2 terminal;
A PMOS transistor PM1 having a source connected to the power supply VDD, a drain connected to the drain of the NMOS transistor NM5, and a gate connected to the CLKX2 terminal;
A PMOS transistor PM2 having a source connected to the power supply VDD, a drain connected to the drain of the NMOS transistor NM5, and a gate connected to the COP terminal;
A PMOS transistor PM3 having a source connected to the power supply VDD, a drain connected to the drain of the NMOS transistor NM6, and a gate connected to the CON terminal;
A PMOS transistor PM4 having a source connected to the power supply VDD, a drain connected to the drain of the NMOS transistor NM6, and a gate connected to the CLKX2 terminal.

CLKX2端子がLowのとき(コンパレータ10のリセット時)、PMOSトランジスタPM1、PM4がオン(導通)し、NMOSトランジスタNM5、NM6はオフ(非導通)状態であるため、COP、CON端子は、電源電圧(VDD:Highレベル)に充電される。CON、COP端子がともに電源電圧VDDに充電されると、PMOSトランジスタPM2、PM3はオフ状態となる。なお、NMOSトランジスタNM5、NM6はオフ(非導通)状態であるため、電源VDDとGND間の電流パスはカットオフ状態とされる。   When the CLKX2 terminal is Low (when the comparator 10 is reset), the PMOS transistors PM1 and PM4 are turned on (conductive), and the NMOS transistors NM5 and NM6 are turned off (non-conductive). It is charged to (VDD: High level). When both the CON and COP terminals are charged to the power supply voltage VDD, the PMOS transistors PM2 and PM3 are turned off. Since the NMOS transistors NM5 and NM6 are in the off (non-conducting) state, the current path between the power supply VDD and GND is cut off.

この状態から、CLKX2端子がHighとなると、PMOSトランジスタPM1、PM4がオフ(非導通)となり、NMOSトランジスタNM5、NM6がオン(導通)する。この時点で、COP、CONがHighであることから、NMOSトランジスタNM3、NM4がオン(導通)し、PMOSトランジスタPM2、PM3はオフ(非導通)となる。このとき、INP、INN端子の電圧レベルが、INP<INNの場合、INN端子にゲートが接続されたNMOSトランジスタNM2がオンし、オン状態のNMOSトランジスタMN4、MN6を介してCOP端子の電荷をGNDに放電し、COP端子はHighからLowに立ち下がる。COP端子がLow側に立ち下がると、COP端子にゲートが接続されたNMOSトランジスタNM3がオフし、CON端子と、NMOSトランジスタNM5、NM3、NM1、GND間のパスはカットオフされる。このため、INPの電圧が、NMOSトランジスタNM1の閾値電圧以上であり、INNにゲートが接続されたNMOSトランジスタNM1がオン状態であっても、CON端子はHighレベルに保持される。また、COP端子のLowに応答して、PMOSトランジスタPM2はオンし、CON端子をHigh(電源電圧VDD)に充電する。そして、CON端子がHighに保持されるため、NMOSトランジスタNM4はオン状態に保持される。ゲートをドレイン(COP、CON端子)に交差接続したPMOSトランジスタPM2、PM3と、ゲートをCOP、CON端子に交差接続したNMOSトランジスタNM3、NM4とは、比較動作時(CLKX2がHighのとき)、NMOSトランジスタNM1、NM2によるINP、INN端子の比較結果を差動増幅して保持する差動ラッチとして機能する。   From this state, when the CLKX2 terminal becomes High, the PMOS transistors PM1 and PM4 are turned off (non-conductive), and the NMOS transistors NM5 and NM6 are turned on (conductive). At this time, since COP and CON are High, the NMOS transistors NM3 and NM4 are turned on (conductive), and the PMOS transistors PM2 and PM3 are turned off (non-conductive). At this time, when the voltage levels of the INP and INN terminals are INP <INN, the NMOS transistor NM2 whose gate is connected to the INN terminal is turned on, and the charge at the COP terminal is connected to the GND via the NMOS transistors MN4 and MN6 in the on state. The COP terminal falls from High to Low. When the COP terminal falls to the Low side, the NMOS transistor NM3 whose gate is connected to the COP terminal is turned off, and the path between the CON terminal and the NMOS transistors NM5, NM3, NM1, and GND is cut off. Therefore, even if the voltage of INP is equal to or higher than the threshold voltage of the NMOS transistor NM1, and the NMOS transistor NM1 whose gate is connected to INN is in the on state, the CON terminal is held at the high level. In response to the low level of the COP terminal, the PMOS transistor PM2 is turned on and charges the CON terminal to High (power supply voltage VDD). Since the CON terminal is held high, the NMOS transistor NM4 is held in the on state. The PMOS transistors PM2 and PM3 whose gates are cross-connected to the drains (COP and CON terminals) and the NMOS transistors NM3 and NM4 whose gates are cross-connected to the COP and CON terminals are compared in the comparison operation (when CLKX2 is High). It functions as a differential latch that differentially amplifies and holds the comparison result of the INP and INN terminals by the transistors NM1 and NM2.

一方、INP、INN端子の電圧レベルがINP>INNの場合、INP端子にゲートが接続されたNMOSトランジスタNM1がオンし、オン状態のNMOSトランジスタMN3、MN5を介してCON端子の電荷をGNDに放電し、CON端子はHighからLowに立ち下がる。CON端子がLow側に立ち下がると、NMOSトランジスタNM4がオフし、COP端子と、NMOSトランジスタNM6、NM5、NM2、GND間のパスがカットオフされる。このため、INNの電圧がNMOSトランジスタNM2の閾値電圧以上であり、INNにゲートが接続されたNMOSトランジスタNM2がオン状態であっても、COP端子はHighレベルに保持される。また、CON端子のLowに応答してPMOSトランジスタPM3はオンし、COP端子をHigh(電源電圧)に充電する。そして、COP端子がHighに保持されるため、NMOSトランジスタNM3はオン状態に保持される。   On the other hand, when the voltage level of the INP and INN terminals is INP> INN, the NMOS transistor NM1 whose gate is connected to the INP terminal is turned on, and the charge of the CON terminal is discharged to GND through the NMOS transistors MN3 and MN5 in the on state. Then, the CON terminal falls from High to Low. When the CON terminal falls to the Low side, the NMOS transistor NM4 is turned off, and the path between the COP terminal and the NMOS transistors NM6, NM5, NM2, and GND is cut off. Therefore, even if the voltage of INN is equal to or higher than the threshold voltage of the NMOS transistor NM2, and the NMOS transistor NM2 whose gate is connected to INN is in the on state, the COP terminal is held at the high level. Further, the PMOS transistor PM3 is turned on in response to Low of the CON terminal, and charges the COP terminal to High (power supply voltage). Since the COP terminal is held high, the NMOS transistor NM3 is held in the on state.

<実施例6>
実施例6では、前記実施形態及び実施例のコンパレータ10を備えた半導体装置を開示する。図10(A)、(B)は、クロック周波数を2逓倍する2逓倍器20を搭載する半導体チップを説明する図である。図10(A)の例では、発振回路4は、クロック信号CLKを出力し、2逓倍器(X2)20で2逓倍したクロック信号がアナログデジタルコンバータ(ADC)3、コンパレータ10に供給されている。図10(B)では、発振回路4は、クロック信号CLKを出力し、第1、第2の2逓倍器(X2)20で2逓倍したクロック信号がそれぞれアナログデジタルコンバータ(ADC)3、コンパレータ10に供給されている。
<Example 6>
Example 6 discloses a semiconductor device including the comparator 10 of the above-described embodiment and examples. 10A and 10B are diagrams illustrating a semiconductor chip on which a doubler 20 that doubles a clock frequency is mounted. In the example of FIG. 10A, the oscillation circuit 4 outputs the clock signal CLK, and the clock signal multiplied by 2 by the double multiplier (X2) 20 is supplied to the analog-digital converter (ADC) 3 and the comparator 10. . In FIG. 10B, the oscillation circuit 4 outputs a clock signal CLK, and the clock signals multiplied by the first and second doublers (X2) 20 are the analog-digital converter (ADC) 3 and the comparator 10 respectively. Has been supplied to.

図10において、コンパレータ10に2逓倍クロック信号を供給する2逓倍器(X2)20として、図12、図13に示した関連技術の2逓倍器30、20を用いた場合、図15を参照して説明した上記問題点を有している。一方、図10において、コンパレータ10に2逓倍クロック信号を供給する2逓倍器(X2)20を、例えば前記した図3の構成とし、コンパレータ10の出力をモニタする出力モニタ&トリガ発生回路を追加することで、前記実施例で説明した作用効果を奏することができる。なお、図10では、半導体チップ1は、発振回路4を搭載しているが、これは外部クロック信号を入力し内部クロック信号CLKを生成するクロック生成回路であってもよい。図10では、CPU(Central Processing Unit)2、センサ5、ADC3等を同一チップ上に備えているが、本発明はかかる構成に制限されるものでないことは勿論である。また、半導体装置としては、ADC3、CPU2等を同一チップ上で実装する構成に限定されるものでなく、基板等に実装した構成としてもよい。   In FIG. 10, when the doublers 30 and 20 of the related technology shown in FIGS. 12 and 13 are used as the doubler (X2) 20 for supplying the double clock signal to the comparator 10, refer to FIG. It has the above-mentioned problems described above. On the other hand, in FIG. 10, the doubler (X2) 20 that supplies the doubled clock signal to the comparator 10 is configured as shown in FIG. 3, for example, and an output monitor & trigger generation circuit for monitoring the output of the comparator 10 is added. Thus, the effects described in the above embodiments can be achieved. In FIG. 10, the semiconductor chip 1 includes the oscillation circuit 4. However, this may be a clock generation circuit that receives an external clock signal and generates an internal clock signal CLK. In FIG. 10, a CPU (Central Processing Unit) 2, a sensor 5, an ADC 3, and the like are provided on the same chip, but the present invention is not limited to such a configuration. Further, the semiconductor device is not limited to the configuration in which the ADC 3, the CPU 2, and the like are mounted on the same chip, and may be configured to be mounted on a substrate or the like.

図11(A)は、発振回路4からのクロック信号CLKを2逓倍器20で2逓倍したクロック信号CLKX2を入力するコンパレータ10を備えたADC3の一例を例示した図である。特に制限されないが、ADC3は、例えば逐次比較型のADCからなり、入力信号をサンプルしたアナログ電圧を比較電圧とコンパレータ10で比較し、比較結果の大小に応じて、次の探索範囲を絞り込み、次の比較電圧を生成する逐次比較アルゴリズムにより、デジタル信号に変換する。   FIG. 11A illustrates an example of the ADC 3 including the comparator 10 that inputs the clock signal CLKX2 obtained by multiplying the clock signal CLK from the oscillation circuit 4 by the doubler 20. Although not particularly limited, the ADC 3 is composed of, for example, a successive approximation ADC, compares an analog voltage obtained by sampling the input signal with the comparison voltage and the comparator 10, narrows down the next search range according to the magnitude of the comparison result, and Is converted into a digital signal by a successive approximation algorithm for generating a comparison voltage of.

図11(B)は、発振回路4からのクロック信号CLKを2逓倍器20で2逓倍したクロック信号CLKX2を入力するコンパレータ10を例示した図である。コンパレータ10に2逓倍クロック信号を供給する2逓倍器(X2)20を、図3の構成とし、コンパレータ10の出力をモニタする出力モニタ&トリガ発生回路を追加することで、前記実施例で説明した作用効果を奏することができる。   FIG. 11B illustrates the comparator 10 that receives the clock signal CLKX2 obtained by multiplying the clock signal CLK from the oscillation circuit 4 by the doubler 20. The doubler (X2) 20 that supplies the doubled clock signal to the comparator 10 is configured as shown in FIG. 3, and an output monitor & trigger generation circuit that monitors the output of the comparator 10 is added, and this is described in the above embodiment. An effect can be produced.

なお、図10、図11等には、コンパレータを備えた半導体チップ、コンパレータを備えたADC、コンパレータ単体を例示したが、本発明はかかる構成に制限されるものでないことは勿論である。   10 and 11 illustrate a semiconductor chip including a comparator, an ADC including a comparator, and a single comparator, but the present invention is of course not limited to such a configuration.

上記非特許文献の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素(各請求項の各要素、各実施例の各要素、各図面の各要素等を含む)の多様な組み合わせないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   Each disclosure of the non-patent literature is incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiments and examples can be changed and adjusted based on the basic technical concept. Various disclosed elements (including each element of each claim, each element of each embodiment, each element of each drawing, etc.) can be combined or selected within the scope of the claims of the present invention. . That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.

1 半導体チップ
2 CPU
3 ADC
4 発振回路
5 センサ
10 コンパレータ
11 SRラッチ
12 出力モニタ回路
13 出力モニタ及びトリガ発生回路(NAND回路)
14 トリガ発生回路
15 遅延回路
16 可変遅延器(D型ラッチ)
17 デューティ補正回路
18 位相比較器(排他的論理和回路)
19 遅延(Delay)回路
20、20’ 2逓倍器
30 2逓倍PLL
1 Semiconductor chip 2 CPU
3 ADC
4 Oscillation circuit 5 Sensor 10 Comparator 11 SR latch 12 Output monitor circuit 13 Output monitor and trigger generation circuit (NAND circuit)
14 Trigger Generation Circuit 15 Delay Circuit 16 Variable Delay Device (D Type Latch)
17 Duty correction circuit 18 Phase comparator (exclusive OR circuit)
19 Delay circuit 20, 20 ′ Double multiplier 30 Double multiplier PLL

Claims (10)

入力クロック信号を第1の遅延回路で遅延させた遅延クロック信号と、前記入力クロック信号とを位相比較器に入力し、前記位相比較器から、前記入力クロック信号の周波数を2逓倍した2逓倍クロック信号を出力する2逓倍回路と、
前記2逓倍回路からの前記2逓倍クロック信号を受け、前記2逓倍クロック信号が第1の論理レベルのとき、第1、第2の入力信号の大小の比較動作を行い、前記2逓倍クロック信号が第2の論理レベルのとき、比較動作を停止するコンパレータと、
前記コンパレータの出力をモニタし、前記コンパレータが比較動作を完了したことを検出した時点でトリガ信号を出力する第1の回路と、
を備え、
前記第1の遅延回路は、前記入力クロック信号を、少なくとも前記第1の回路から前記トリガ信号が出力される時点まで遅延させ、前記遅延クロック信号として出力する可変遅延器を備えた、ことを特徴とする半導体装置。
A delayed clock signal obtained by delaying an input clock signal by a first delay circuit and the input clock signal are input to a phase comparator, and a doubled clock obtained by multiplying the frequency of the input clock signal by 2 from the phase comparator. A doubler circuit for outputting a signal;
When the double clock signal from the double circuit is received and the double clock signal is at the first logic level, the first and second input signals are compared in magnitude, and the double clock signal is A comparator that stops the comparison operation at the second logic level;
A first circuit that monitors the output of the comparator and outputs a trigger signal when the comparator detects that the comparison operation has been completed;
With
The first delay circuit includes a variable delay device that delays the input clock signal at least until the trigger signal is output from the first circuit and outputs the delayed signal as the delayed clock signal. A semiconductor device.
前記コンパレータが、予め定められた第1の電位に共通に設定された第1、第2の出力のうち、前記第1、第2の入力信号の大小の比較結果に応じて、いずれか一方を、第2の電位に設定し、
前記第1の回路は、前記コンパレータの前記第1、第2の出力を入力し、前記第1、第2の出力の一方が前記第2の電位となったことを検出したときに、出力を活性状態とし前記トリガ信号として出力する回路を備えている、ことを特徴とする請求項1記載の半導体装置。
The comparator outputs either one of the first and second outputs set in common to a predetermined first potential according to the comparison result of the first and second input signals. Set to the second potential,
The first circuit inputs the first and second outputs of the comparator, and outputs an output when detecting that one of the first or second outputs becomes the second potential. The semiconductor device according to claim 1, further comprising a circuit that is activated and outputs the trigger signal.
前記可変遅延器は、前記トリガ信号の非活性状態から活性状態への遷移に応答して、前記入力クロック信号をキャプチャして出力する回路を備えている、ことを特徴とする請求項1又は2記載の半導体装置。   The variable delay device includes a circuit that captures and outputs the input clock signal in response to a transition of the trigger signal from an inactive state to an active state. The semiconductor device described. 前記第1の遅延回路の出力と前記位相比較器の間にさらに第2の遅延回路を備えている、ことを特徴とする請求項1乃至3のいずれか1項に記載の半導体装置。   4. The semiconductor device according to claim 1, further comprising a second delay circuit between an output of the first delay circuit and the phase comparator. 5. 前記入力クロック信号のデューティを補正するデューティ補正回路をさらに備え、
前記デューティ補正回路で前記入力クロック信号のデューティを補正した信号が、前記第1の遅延回路と前記位相比較器とに入力される、ことを特徴とする請求項1乃至4のいずれか1項に記載の半導体装置。
A duty correction circuit for correcting the duty of the input clock signal;
5. The signal according to claim 1, wherein a signal obtained by correcting the duty of the input clock signal by the duty correction circuit is input to the first delay circuit and the phase comparator. 6. The semiconductor device described.
入力クロック信号を遅延させた遅延クロック信号を出力する第1の遅延回路と、
前記入力クロック信号と前記遅延クロック信号を入力し、これらの信号が互いに異なる論理レベルの場合、同一の論理レベルの場合に、それぞれ第1、第2の論理レベルを出力する第1の論理ゲートを含む位相比較器と、
を備え、前記位相比較器から、前記入力クロック信号の周波数を2逓倍した2逓倍クロック信号を生成する2逓倍回路と、
前記2逓倍回路からの前記2逓倍クロック信号を受け、前記2逓倍クロック信号が第1の論理レベルのとき、第1、第2の入力信号の大小の比較動作を行い、前記2逓倍クロック信号が第2の論理レベルのとき、比較動作を停止し、
前記2逓倍クロック信号が第2の論理レベルのとき、第1、第2の出力は前記第1、第2の論理レベルのうち予め定められた一方の論理レベルに対応する電圧に共通に設定され、前記2逓倍クロック信号が第1の論理レベルのとき、前記第1、第2の入力信号の電圧の比較結果に応じて、前記第1、第2の出力のいずれか一方を他方の論理レベルに対応する電圧に設定するコンパレータと、
前記コンパレータの前記第1、第2の出力を入力し、前記第1、第2の出力が異なる論理レベルとなったことを検出したときに、出力を活性状態とし前記トリガ信号として出力する第2の論理ゲートを備えた第1の回路と、
を備え、
前記第1の遅延回路は、前記第1の回路から出力される前記トリガ信号の活性化のタイミングに応答して、前記入力クロック信号をキャプチャして出力する回路を備えた、ことを特徴とする半導体装置。
A first delay circuit for outputting a delayed clock signal obtained by delaying an input clock signal;
When the input clock signal and the delayed clock signal are input, and these signals have different logic levels, the first logic gate that outputs the first and second logic levels, respectively, when the signals have the same logic level, Including a phase comparator;
A double circuit for generating a double clock signal obtained by multiplying the frequency of the input clock signal by two from the phase comparator;
When the double clock signal from the double circuit is received and the double clock signal is at the first logic level, the first and second input signals are compared in magnitude, and the double clock signal is When the second logic level, the comparison operation is stopped,
When the doubled clock signal is at the second logic level, the first and second outputs are commonly set to a voltage corresponding to a predetermined one of the first and second logic levels. When the doubled clock signal is at the first logic level, one of the first and second outputs is set to the other logic level according to the comparison result of the voltages of the first and second input signals. A comparator that sets the voltage corresponding to
A second output that inputs the first and second outputs of the comparator and activates the output as the trigger signal when it is detected that the first and second outputs have different logic levels; A first circuit comprising a logic gate of
With
The first delay circuit includes a circuit that captures and outputs the input clock signal in response to the activation timing of the trigger signal output from the first circuit. Semiconductor device.
前記第1の遅延回路の出力と前記位相比較器の間にさらに第2の遅延回路を備えた、ことを特徴とする請求項6記載の半導体装置。   The semiconductor device according to claim 6, further comprising a second delay circuit between an output of the first delay circuit and the phase comparator. 前記入力クロック信号のデューティを補正するデューティ補正回路をさらに備え、
前記デューティ補正回路で前記入力クロック信号のデューティを補正した信号が、前記第1の遅延回路と前記位相比較器に入力される、ことを特徴とする請求項6又は7記載の半導体装置。
A duty correction circuit for correcting the duty of the input clock signal;
8. The semiconductor device according to claim 6, wherein a signal obtained by correcting the duty of the input clock signal by the duty correction circuit is input to the first delay circuit and the phase comparator.
前記コンパレータが、前記2逓倍クロック信号が前記第2の論理レベルのとき、前記第1、第2の出力を前記第1の論理レベルに対応する第1の電源電圧にプリチャージするプリチャージ回路と、前記2逓倍クロック信号が前記第1の論理レベルのとき、前記プリチャージ回路は非活性状態とされ、前記第1、第2の入力信号を差動ラッチし前記第1、第2の出力の一方を前記第2の論理レベルに対応する第2の電源電位に設定する回路と、を備えた、ことを特徴とする請求項6乃至8のいずれか1項に半導体装置。   A precharge circuit for precharging the first and second outputs to a first power supply voltage corresponding to the first logic level when the doubled clock signal is at the second logic level; When the double clock signal is at the first logic level, the precharge circuit is inactivated, the first and second input signals are differentially latched, and the first and second outputs are output. 9. The semiconductor device according to claim 6, further comprising a circuit that sets one to a second power supply potential corresponding to the second logic level. 10. 前記コンパレータの前記第1、第2の出力をセット端子、リセット端子に入力するセット・リセット型ラッチ回路を備えた、ことを特徴とする請求項2乃至8のいずれか1項に半導体装置。   9. The semiconductor device according to claim 2, further comprising a set / reset type latch circuit that inputs the first and second outputs of the comparator to a set terminal and a reset terminal.
JP2011243769A 2011-11-07 2011-11-07 Semiconductor device Pending JP2013102282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011243769A JP2013102282A (en) 2011-11-07 2011-11-07 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011243769A JP2013102282A (en) 2011-11-07 2011-11-07 Semiconductor device

Publications (1)

Publication Number Publication Date
JP2013102282A true JP2013102282A (en) 2013-05-23

Family

ID=48622516

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011243769A Pending JP2013102282A (en) 2011-11-07 2011-11-07 Semiconductor device

Country Status (1)

Country Link
JP (1) JP2013102282A (en)

Similar Documents

Publication Publication Date Title
JP4357538B2 (en) Semiconductor integrated circuit device
US7668277B2 (en) Apparatus and method for clock data recovery with low lock frequency
US8698527B2 (en) Circuit and method for preventing false lock and delay locked loop using the same
KR100810070B1 (en) Delay locked loop
US9083338B2 (en) Digital noise protection circuit and method
JP5262630B2 (en) Clock generation circuit having self-test circuit
US9780769B2 (en) Duty cycle detector
US9520864B2 (en) Delay structure for a memory interface
CN106330179B (en) Clock generation circuit and method, and semiconductor device and electronic system using the same
JP2011223375A (en) Oscillation circuit
JP6264852B2 (en) Timing adjustment circuit and semiconductor integrated circuit device
JP2009284484A (en) Duty ratio correction circuit
CN110957998A (en) Circuit for accurately correcting duty ratio of clock signal
US9537490B2 (en) Duty cycle detection circuit and semiconductor apparatus including the same
US9337817B2 (en) Hold-time optimization circuit and receiver with the same
US9443572B2 (en) Programmable power for a memory interface
TW201937185A (en) Jitter monitoring circuit
JP2012005124A (en) Phase locked loop and operation method of the same
JP2012114716A (en) Tdc device and method of calibrating tdc
US11409324B2 (en) Clock compensation circuit
US9455823B2 (en) Four-phase clock generator with timing sequence self-detection
JP2005252447A (en) Lock detection circuit and method
KR101905097B1 (en) Phase Detector
JP2011166232A (en) Phase detection circuit and pll circuit
JP2013102282A (en) Semiconductor device