JP6401533B2 - Clock phase adjustment circuit - Google Patents

Clock phase adjustment circuit Download PDF

Info

Publication number
JP6401533B2
JP6401533B2 JP2014153096A JP2014153096A JP6401533B2 JP 6401533 B2 JP6401533 B2 JP 6401533B2 JP 2014153096 A JP2014153096 A JP 2014153096A JP 2014153096 A JP2014153096 A JP 2014153096A JP 6401533 B2 JP6401533 B2 JP 6401533B2
Authority
JP
Japan
Prior art keywords
slave
circuit
clock
master
flag
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.)
Expired - Fee Related
Application number
JP2014153096A
Other languages
Japanese (ja)
Other versions
JP2016032169A (en
Inventor
知典 鴨下
知典 鴨下
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.)
MegaChips Corp
Original Assignee
MegaChips 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 MegaChips Corp filed Critical MegaChips Corp
Priority to JP2014153096A priority Critical patent/JP6401533B2/en
Publication of JP2016032169A publication Critical patent/JP2016032169A/en
Application granted granted Critical
Publication of JP6401533B2 publication Critical patent/JP6401533B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Pulse Circuits (AREA)
  • Manipulation Of Pulses (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Description

本発明は、複数の半導体チップを搭載するマルチチップ構成の半導体装置において、各々の半導体チップで使用されるクロックが、あらかじめ設定された一定の位相関係となるように調整するクロック位相調整回路に関するものである。   The present invention relates to a clock phase adjustment circuit for adjusting a clock used in each semiconductor chip to have a predetermined phase relationship in a multi-chip semiconductor device having a plurality of semiconductor chips mounted thereon. It is.

図8は、従来のクロック位相調整回路の構成を表す一例のブロック図である。同図に示すクロック位相調整回路90は、マスタチップ92およびスレーブチップ94を搭載するマルチチップ構成の半導体装置で用いられ、各々、PLL回路18,28と分周回路20,30を用いて生成された、マスタチップ92のマスタクロックCLKMと、スレーブチップ94のスレーブクロックCLKSとが、あらかじめ設定された一定の位相関係となるように調整するものである。   FIG. 8 is a block diagram showing an example of the configuration of a conventional clock phase adjustment circuit. A clock phase adjustment circuit 90 shown in the figure is used in a semiconductor device having a multi-chip configuration on which a master chip 92 and a slave chip 94 are mounted, and is generated using PLL circuits 18 and 28 and frequency dividing circuits 20 and 30, respectively. Further, the master clock CLKM of the master chip 92 and the slave clock CLKS of the slave chip 94 are adjusted so as to have a predetermined phase relationship set in advance.

マスタチップ92では、外部から入力された、例えば、70〜100MHz相当の外部クロックが、分周回路16により分周されて低速クロックsync_clkが生成される。低速クロックsync_clkは、マスタチップ92およびスレーブチップ94の各々対応する外部接続端子(入出力(IO)端子)58を介して、マスタチップ92からスレーブチップ94へ供給される。   In the master chip 92, for example, an external clock corresponding to 70 to 100 MHz input from the outside is divided by the frequency dividing circuit 16 to generate a low-speed clock sync_clk. The low-speed clock sync_clk is supplied from the master chip 92 to the slave chip 94 via the corresponding external connection terminals (input / output (IO) terminals) 58 of the master chip 92 and the slave chip 94.

デジタルIO端子は、その特性から高速なクロックを十分スウィングさせることができないため、マスタチップ92の内部回路22へ供給される、例えば、70〜100MHz相当のマスタクロックCLKMそのものをマスタチップ92からスレーブチップ94へ受け渡すことができない。そこで、低速クロックsync_clkは、分周回路16により、デジタルIO端子で十分スウィングさせることができる周波数まで落として、マスタチップ92からスレーブチップ94へ供給される。   Since the digital IO terminal cannot sufficiently swing a high-speed clock due to its characteristics, the master clock CLKM itself corresponding to, for example, 70 to 100 MHz supplied to the internal circuit 22 of the master chip 92 is transferred from the master chip 92 to the slave chip. Cannot be delivered to 94. Therefore, the low-speed clock sync_clk is supplied to the slave chip 94 from the master chip 92 by the frequency dividing circuit 16 to a frequency that can be sufficiently swung by the digital IO terminal.

続いて、PLL(Phase Locked Loop:位相同期ループ)回路18により、低速クロックsync_clkが逓倍されて逓倍クロックが生成され、分周回路20により、逓倍クロックが分周されて70〜100MHz相当のマスタクロックCLKMが生成される。
マスタチップ92の内部回路22、例えば、mini-LVDS(Low voltage differential signaling:低電圧差動シグナリング)の規格で規定された機能を実現するマクロセルは、マスタクロックCLKMに同期して動作する。
Subsequently, a PLL (Phase Locked Loop) circuit 18 multiplies the low-speed clock sync_clk to generate a multiplied clock, and the divider circuit 20 divides the multiplied clock to obtain a master clock corresponding to 70 to 100 MHz. CLKM is generated.
An internal circuit 22 of the master chip 92, for example, a macro cell that realizes a function defined by a mini-LVDS (Low voltage differential signaling) standard operates in synchronization with the master clock CLKM.

一方、スレーブチップ94では、PLL回路28により、マスタチップ92から供給された低速クロックsync_clkが逓倍されて逓倍クロックが生成され、分周回路30により、PLL回路28から供給された逓倍クロックが分周されてスレーブクロックCLKSが生成される。
スレーブチップ94の内部回路32、同様に、mini-LVDSの規格で規定された機能を実現するマクロセルは、スレーブクロックCLKSに同期して動作する。
On the other hand, in the slave chip 94, the PLL circuit 28 multiplies the low-speed clock sync_clk supplied from the master chip 92 to generate a multiplied clock, and the divider circuit 30 divides the multiplied clock supplied from the PLL circuit 28. Thus, the slave clock CLKS is generated.
Similarly to the internal circuit 32 of the slave chip 94, the macro cell that realizes the function defined by the mini-LVDS standard operates in synchronization with the slave clock CLKS.

従来のクロック位相調整回路90は、低速クロックsync_clkが、マスタチップ92からスレーブチップ94へ供給されるだけで、マスタチップ92およびスレーブチップ94のPLL回路18,28に入力される低速クロックsync_clkの位相は、特に同期がとれるような構成にはなっていない。つまり、マスタチップ92の逓倍クロックとスレーブチップ94の逓倍クロックとの間や、マスタクロックCLKMとスレーブクロックCLKSとの間で位相の同期をとる構成になっていない。   In the conventional clock phase adjustment circuit 90, only the low-speed clock sync_clk is supplied from the master chip 92 to the slave chip 94, and the phase of the low-speed clock sync_clk input to the PLL circuits 18 and 28 of the master chip 92 and the slave chip 94. Is not particularly configured to be synchronized. That is, it is not configured to synchronize the phase between the multiplied clock of the master chip 92 and the multiplied clock of the slave chip 94, or between the master clock CLKM and the slave clock CLKS.

そのため、低速クロックsync_clk以降の逓倍クロックや、マスタクロックCLKMおよびスレーブクロックCLKSにおいて、チップ間のクロックの位相が同期化できていないことが原因で、半導体装置のサンプル毎にチップ間のクロックの位相がばらつく場合があった。
また、電源のオン/オフやリセットにより、チップ間のクロックの位相関係にばらつきが生じ、チップ間でクロックエッジが重なり合う場合、EMI(電磁妨害)の観点からも悪影響をもたらす構成となっている。
Therefore, the phase of the clock between the chips is different for each sample of the semiconductor device because the clock phases between the chips are not synchronized in the multiplied clock after the low-speed clock sync_clk, the master clock CLKM, and the slave clock CLKS. There was a case where it varied.
In addition, when the power supply is turned on / off or reset, the clock phase relationship between the chips varies, and when clock edges overlap between the chips, the configuration has an adverse effect from the viewpoint of EMI (electromagnetic interference).

ここで、本発明に関連性のある先行技術文献としては、PLL回路に関する特許文献1,5や、同期の取れていない複数の同期クロック間の位相調整に関する特許文献2、クロックツリーシンセシス(CTS)によるクロックツリーを有する半導体集積回路に関する特許文献3、クロック信号に同期して動作する同期型半導体記憶装置に関する特許文献4などがある。   Here, as prior art documents relevant to the present invention, Patent Documents 1 and 5 relating to a PLL circuit, Patent Document 2 relating to phase adjustment between a plurality of synchronized clocks, and Clock Tree Synthesis (CTS). There are Patent Document 3 relating to a semiconductor integrated circuit having a clock tree and Patent Document 4 relating to a synchronous semiconductor memory device operating in synchronization with a clock signal.

特開2012−49659号公報JP 2012-49659 A 特開2008−92359号公報JP 2008-92359 A 特開2004−23376号公報JP 2004-23376 A 特開平10−21684号公報Japanese Patent Laid-Open No. 10-21684 特開平9−191246号公報Japanese Patent Laid-Open No. 9-191246

本発明の目的は、前記従来技術の問題点を解消し、マルチチップ構成の半導体装置において、チップ間のクロックを、一定の位相関係にすることができるクロック位相調整回路を提供することにある。   An object of the present invention is to provide a clock phase adjusting circuit that can solve the problems of the prior art and can make a clock between chips have a constant phase relationship in a multi-chip semiconductor device.

上記目的を達成するために、本発明は、マスタチップと、1つ以上のスレーブチップとを搭載するマルチチップ構成の半導体装置で用いられるクロック位相調整回路であって、
前記マスタチップは、
低速クロックを逓倍して第1逓倍クロックを生成する第1PLL回路と、
前記第1逓倍クロックを分周してマスタクロックを生成する第1分周回路と、
リセットが解除された後、前記マスタクロックの位相を表すタイミングで、非アクティブ状態からアクティブ状態へ1回だけ変化するマスタフラグを生成するマスタフラグ生成回路とを備え、
1つ以上の前記スレーブチップの各々は、
前記マスタチップから供給された低速クロックを逓倍して第2逓倍クロックを生成する第2PLL回路と、
前記第2逓倍クロックを分周してスレーブクロックを生成する第2分周回路と、
前記マスタチップから供給されたマスタフラグ、および、前記リセットが解除された後、前記スレーブクロックの位相を表すタイミングで、非アクティブ状態からアクティブ状態へ1回だけ変化するスレーブフラグに基づいて、前記マスタクロックと前記スレーブクロックとの間のスキューを検出してスキュー設定値を出力するスキュー検出回路と、
前記スキュー設定値に応じて、前記マスタクロックと前記スレーブクロックとが、あらかじめ設定された位相関係となるように、前記スレーブクロックの位相を調整する位相調整回路とを備えることを特徴とするクロック位相調整回路を提供するものである。
To achieve the above object, the present invention provides a clock phase adjustment circuit used in a semiconductor device having a multi-chip configuration in which a master chip and one or more slave chips are mounted.
The master chip is
A first PLL circuit for generating a first multiplied clock by multiplying a low-speed clock;
A first frequency divider that divides the first multiplied clock to generate a master clock;
A master flag generation circuit that generates a master flag that changes only once from an inactive state to an active state at a timing that represents the phase of the master clock after the reset is released;
Each of the one or more slave chips is
A second PLL circuit for generating a second multiplied clock by multiplying the low-speed clock supplied from the master chip;
A second frequency dividing circuit for generating a slave clock by dividing the second multiplied clock;
Based on the master flag supplied from the master chip and the slave flag that changes only once from the inactive state to the active state at a timing indicating the phase of the slave clock after the reset is released, A skew detection circuit that detects a skew between a clock and the slave clock and outputs a skew setting value;
A clock phase, comprising: a phase adjustment circuit that adjusts the phase of the slave clock so that the master clock and the slave clock have a preset phase relationship according to the skew setting value. An adjustment circuit is provided.

ここで、前記マスタフラグ生成回路は、
前記リセットが解除された後、前記第1PLL回路のロックタイムに相当する期間、前記マスタクロックをマスクする第1マスク回路と、
前記リセットにより非アクティブ状態の前記マスタフラグを出力し、前記リセットが解除され、前記第1マスク回路によりマスクされた後に出力された1サイクル目の前記マスタクロックに同期してアクティブ状態の前記マスタフラグを出力し、その後、アクティブ状態の前記マスタフラグを出力し続けるマスタフラグ出力回路とを備えることが好ましい。
Here, the master flag generation circuit
A first mask circuit that masks the master clock for a period corresponding to a lock time of the first PLL circuit after the reset is released;
The master flag in the inactive state is output by the reset, the master flag in the active state is synchronized with the master clock in the first cycle output after the reset is canceled and masked by the first mask circuit And a master flag output circuit that continues to output the active master flag thereafter.

また、前記スキュー検出回路は、
前記リセットにより非アクティブ状態の前記スレーブフラグを出力し、前記リセットが解除された後に、前記マスタフラグがアクティブ状態となった次のサイクルの前記スレーブクロックに同期してアクティブ状態の前記スレーブフラグを出力し、その後、アクティブ状態の前記スレーブフラグを出力し続けるスレーブフラグ生成回路と、
前記マスタフラグを各々異なる時間遅延し、2以上の遅延マスタフラグを出力する第1遅延回路と、
2以上の前記遅延マスタフラグの各々を、前記スレーブフラグがアクティブ状態へ遷移するタイミングに同期して保持し、2以上の保持マスタフラグを出力する第1保持回路と、
2以上の前記保持マスタフラグの状態に応じて、前記マスタクロックと前記スレーブクロックとの間のスキューを算出し、前記スキュー設定値を出力する第1スキュー算出回路とを備えることが好ましい。
The skew detection circuit includes:
The slave flag in the inactive state is output by the reset, and the slave flag in the active state is output in synchronization with the slave clock of the next cycle in which the master flag becomes active after the reset is released. Then, a slave flag generation circuit that continues to output the slave flag in an active state,
A first delay circuit for delaying the master flags by different times and outputting two or more delayed master flags;
A first holding circuit that holds each of the two or more delayed master flags in synchronization with a timing at which the slave flag transitions to an active state, and outputs two or more held master flags;
It is preferable to include a first skew calculation circuit that calculates a skew between the master clock and the slave clock and outputs the skew setting value in accordance with the state of two or more holding master flags.

また、前記スキュー検出回路は、
前記リセットにより非アクティブ状態の前記スレーブフラグを出力し、前記リセットが解除され、前記第2PLL回路のロックタイムに相当する期間、マスクされた後に出力された1サイクル目の前記スレーブクロックに同期してアクティブ状態の前記スレーブフラグを出力し、その後、アクティブ状態の前記スレーブフラグを出力し続けるスレーブフラグ生成回路と、
前記マスタフラグを各々異なる時間遅延し、2以上の遅延マスタフラグを出力する第1遅延回路と、
2以上の前記遅延マスタフラグの各々を、前記スレーブフラグがアクティブ状態へ遷移するタイミングに同期して保持し、2以上の保持マスタフラグを出力する第1保持回路と、
2以上の前記保持マスタフラグの状態に応じて、前記マスタクロックと前記スレーブクロックとの間のスキューを算出し、前記スキュー設定値を出力する第1スキュー算出回路と、
前記スレーブフラグを各々異なる時間遅延し、2以上の遅延スレーブフラグを出力する第2遅延回路と、
2以上の前記遅延スレーブフラグの各々を、前記マスタフラグがアクティブ状態へ遷移するタイミングに同期して保持し、2以上の保持スレーブフラグを出力する第2保持回路と、
2以上の前記保持スレーブフラグの状態に応じて、前記マスタクロックと前記スレーブクロックとの間のスキューを算出し、前記スキュー設定値を出力する第2スキュー算出回路と、
前記マスタフラグおよび前記スレーブフラグに基づいて、前記マスタクロックと前記スレーブクロックとの間の位相関係を判定し、位相判定信号を出力する位相判定回路と、
前記位相判定信号に基づいて、前記スレーブクロックが前記マスタクロックよりも遅いと判定された場合に、前記第1スキュー算出回路から出力されたスキュー設定値を出力し、前記マスタクロックが前記スレーブクロックよりも遅いと判定された場合に、前記第2スキュー算出回路から出力されたスキュー設定値を出力するように切り替える切替回路とを備えることが好ましい。
The skew detection circuit includes:
The slave flag in an inactive state is output by the reset, the reset is canceled, and in synchronization with the slave clock of the first cycle output after being masked for a period corresponding to the lock time of the second PLL circuit. A slave flag generation circuit that outputs the slave flag in an active state and then continues to output the slave flag in an active state;
A first delay circuit for delaying the master flags by different times and outputting two or more delayed master flags;
A first holding circuit that holds each of the two or more delayed master flags in synchronization with a timing at which the slave flag transitions to an active state, and outputs two or more held master flags;
A first skew calculating circuit that calculates a skew between the master clock and the slave clock and outputs the skew setting value according to the state of the two or more holding master flags;
A second delay circuit that delays the slave flags for different times and outputs two or more delayed slave flags;
A second holding circuit that holds each of the two or more delayed slave flags in synchronization with a timing at which the master flag transitions to an active state, and outputs two or more held slave flags;
A second skew calculating circuit that calculates a skew between the master clock and the slave clock according to the state of the two or more holding slave flags, and outputs the skew setting value;
A phase determination circuit for determining a phase relationship between the master clock and the slave clock based on the master flag and the slave flag and outputting a phase determination signal;
When it is determined that the slave clock is slower than the master clock based on the phase determination signal, the skew setting value output from the first skew calculation circuit is output, and the master clock is output from the slave clock. And a switching circuit that switches to output the skew setting value output from the second skew calculation circuit when it is determined that the second skew calculation circuit is late.

また、前記スレーブフラグ生成回路は、
前記リセットが解除された後、前記第2PLL回路のロックタイムに相当する期間、前記スレーブクロックをマスクする第2マスク回路と、
前記リセットにより非アクティブ状態の前記スレーブフラグを出力し、前記リセットが解除され、前記第2マスク回路によりマスクされた後に出力された1サイクル目の前記スレーブクロックに同期してアクティブ状態の前記スレーブフラグを出力し、その後、アクティブ状態の前記スレーブフラグを出力し続けるスレーブフラグ出力回路とを備えることが好ましい。
The slave flag generation circuit includes:
A second mask circuit that masks the slave clock for a period corresponding to a lock time of the second PLL circuit after the reset is released;
The slave flag in the inactive state is output by the reset, the slave flag in the active state is synchronized with the slave clock of the first cycle output after the reset is released and masked by the second mask circuit And a slave flag output circuit that continues to output the slave flag in an active state.

また、前記第1遅延回路は、前記位相調整回路が調整するスレーブクロックの位相の範囲内の時間で、前記マスタフラグを各々異なる時間遅延し、2以上の前記遅延マスタフラグを出力するものであることが好ましい。   The first delay circuit delays the master flag by different times within a time range of the phase of the slave clock adjusted by the phase adjustment circuit, and outputs two or more delayed master flags. It is preferable.

また、前記第2遅延回路は、前記位相調整回路が調整するスレーブクロックの位相の範囲内の時間で、前記スレーブフラグを各々異なる時間遅延し、2以上の前記遅延スレーブフラグを出力するものであることが好ましい。   The second delay circuit delays the slave flags by different times within a time range of the slave clock phase adjusted by the phase adjustment circuit, and outputs two or more delayed slave flags. It is preferable.

また、前記位相調整回路は、前記スレーブチップの内部回路の内部に備えられたものであり、
前記スレーブクロック、および、前記スキュー設定値が、前記スレーブチップの内部回路に供給され、
前記スレーブチップの内部回路は、前記位相調整回路により、前記スキュー設定値に応じて位相が調整されたスレーブクロックに同期して動作するものであることが好ましい。
The phase adjustment circuit is provided in an internal circuit of the slave chip,
The slave clock and the skew setting value are supplied to an internal circuit of the slave chip,
The internal circuit of the slave chip preferably operates in synchronization with a slave clock whose phase is adjusted according to the skew setting value by the phase adjustment circuit.

また、前記位相調整回路は、前記スレーブチップの内部回路の外部に備えられたものであり、
前記スレーブクロック、および、前記スキュー設定値が、前記位相調整回路に供給され、
前記位相調整回路により、前記スキュー設定値に応じて位相が調整されたスレーブクロックが、前記スレーブチップの内部回路に供給されることが好ましい。
The phase adjustment circuit is provided outside the internal circuit of the slave chip,
The slave clock and the skew setting value are supplied to the phase adjustment circuit,
It is preferable that a slave clock whose phase is adjusted according to the skew setting value by the phase adjustment circuit is supplied to an internal circuit of the slave chip.

本発明では、マスタクロックそのものではなく、マスタフラグを、マスタチップからスレーブチップへ供給し、スレーブチップにおいて、マスタチップから供給されたマスタフラグ、および、スレーブチップで生成されたスレーブフラグに基づいて、マスタクロックとスレーブクロックとの間のスキューを検出し、このスキューに基づいて、スレーブクロックの位相を調整する。
これにより、本発明によれば、マスタクロックとスレーブクロックとが、常に、あらかじめ設定された一定の位相関係となるように調整することができる。
また、本発明によれば、マスタクロックとスレーブクロックとの位相関係が常に一定に保たれるため、チップ間でクロックエッジが重なり合うことを防止し、EMI対策としての効果を得ることができる。
In the present invention, instead of the master clock itself, the master flag is supplied from the master chip to the slave chip, and in the slave chip, based on the master flag supplied from the master chip and the slave flag generated by the slave chip, A skew between the master clock and the slave clock is detected, and the phase of the slave clock is adjusted based on the skew.
As a result, according to the present invention, the master clock and the slave clock can always be adjusted to have a predetermined phase relationship.
Further, according to the present invention, since the phase relationship between the master clock and the slave clock is always kept constant, it is possible to prevent the clock edges from overlapping between chips and to obtain an effect as an EMI countermeasure.

本発明のクロック位相調整回路の構成を表す一実施形態のブロック図である。It is a block diagram of one Embodiment showing the structure of the clock phase adjustment circuit of this invention. 図1に示すマスタフラグ生成回路の構成を表す一実施形態の回路図である。FIG. 2 is a circuit diagram of an embodiment illustrating a configuration of a master flag generation circuit illustrated in FIG. 1. 図2に示すマスタフラグ生成回路の動作を表す一例のタイミングチャートである。3 is an example timing chart illustrating an operation of the master flag generation circuit illustrated in FIG. 2. 図1に示すスキュー検出回路の構成を表す一実施形態の回路図である。FIG. 2 is a circuit diagram of an embodiment illustrating a configuration of a skew detection circuit illustrated in FIG. 1. 図4に示すスレーブフラグ生成回路の動作を表す一例のタイミングチャートである。6 is an example timing chart illustrating an operation of the slave flag generation circuit illustrated in FIG. 4. クロック位相調整回路の動作を表す一例のタイミングチャートである。It is an example timing chart showing operation | movement of a clock phase adjustment circuit. スキュー検出回路の構成を表す別の実施形態の回路図である。It is a circuit diagram of another embodiment showing the composition of a skew detection circuit. 従来のクロック位相調整回路の構成を表す一例のブロック図である。It is an example block diagram showing the structure of the conventional clock phase adjustment circuit.

以下に、添付の図面に示す好適実施形態に基づいて、本発明のクロック位相調整回路を詳細に説明する。   Hereinafter, a clock phase adjustment circuit of the present invention will be described in detail based on a preferred embodiment shown in the accompanying drawings.

図1は、本発明のクロック位相調整回路の構成を表す一実施形態のブロック図である。同図に示すクロック位相調整回路10は、マスタチップ12と、スレーブチップ14とを搭載するマルチチップ構成の半導体装置で用いられ、各々、PLL回路18,28と分周回路20,30を用いて生成された、マスタチップ12のマスタクロックCLKMと、スレーブチップ14のスレーブクロックCLKSとが、あらかじめ設定された一定の位相関係となるように、スレーブクロックCLKSの位相を調整するものである。   FIG. 1 is a block diagram of an embodiment showing a configuration of a clock phase adjustment circuit of the present invention. A clock phase adjusting circuit 10 shown in the figure is used in a semiconductor device having a multi-chip configuration on which a master chip 12 and a slave chip 14 are mounted, and using PLL circuits 18 and 28 and frequency dividing circuits 20 and 30, respectively. The phase of the slave clock CLKS is adjusted such that the generated master clock CLKM of the master chip 12 and the slave clock CLKS of the slave chip 14 have a predetermined fixed phase relationship.

マスタチップ12は、分周回路16と、PLL回路18と、分周回路20と、内部回路22と、マスタフラグ生成回路24とを備えている。   The master chip 12 includes a frequency divider circuit 16, a PLL circuit 18, a frequency divider circuit 20, an internal circuit 22, and a master flag generation circuit 24.

分周回路16は、外部から供給された外部クロックを分周して、低速クロックsync_clkを生成するものである。
低速クロックsync_clkは、マスタチップ12のPLL回路18へ入力されるクロックと、後述するスレーブチップ14のPLL回路28へ入力されるクロックとを同期化するために、PLL回路18へ供給されるとともに、マスタチップ12およびスレーブチップ14の各々対応する外部接続端子58を介して、マスタチップ12からスレーブチップ14のPLL回路28へ供給される。
The frequency dividing circuit 16 divides an external clock supplied from the outside to generate a low-speed clock sync_clk.
The low-speed clock sync_clk is supplied to the PLL circuit 18 in order to synchronize a clock input to the PLL circuit 18 of the master chip 12 and a clock input to the PLL circuit 28 of the slave chip 14 described later. The data is supplied from the master chip 12 to the PLL circuit 28 of the slave chip 14 via the external connection terminals 58 corresponding to the master chip 12 and the slave chip 14 respectively.

PLL回路(第1PLL回路)18は、分周回路16から出力された低速クロックsync_clkを逓倍して逓倍クロック(第1逓倍クロック)を生成するものである。
PLL回路18により生成された逓倍クロックは、分周回路20へ供給される。
The PLL circuit (first PLL circuit) 18 multiplies the low-speed clock sync_clk output from the frequency divider circuit 16 to generate a multiplied clock (first multiplied clock).
The multiplied clock generated by the PLL circuit 18 is supplied to the frequency dividing circuit 20.

分周回路(第1分周回路)20は、PLL回路18から出力された逓倍クロックを分周してマスタクロックCLKMを生成するものである。
マスタクロックCLKMは、マスタチップ12の内部回路22、および、マスタフラグ生成回路24へ供給される。
The frequency dividing circuit (first frequency dividing circuit) 20 divides the multiplied clock output from the PLL circuit 18 to generate a master clock CLKM.
The master clock CLKM is supplied to the internal circuit 22 and the master flag generation circuit 24 of the master chip 12.

内部回路22は、マスタクロックCLKMに同期して動作するマスタチップ12の内部回路を表したものである。内部回路22には何ら制限はないが、mini-LVDSの規格で規定された機能を実現するマクロセルを例示することができる。   The internal circuit 22 represents an internal circuit of the master chip 12 that operates in synchronization with the master clock CLKM. The internal circuit 22 is not limited in any way, but a macro cell that realizes a function defined by the mini-LVDS standard can be exemplified.

マスタフラグ生成回路24は、リセットが解除された後、マスタクロックCLKMの位相を表すタイミングで、非アクティブ状態からアクティブ状態へ1回だけ変化するマスタフラグsyncMを生成するものである。
マスタフラグsyncMは、リセットにより非アクティブ状態となる。そして、リセットが解除された後、PLL回路18のロックタイムに相当する期間、マスクされた後に出力される安定した1サイクル目のマスタクロックCLKMに同期して、マスタフラグsyncMは、非アクティブ状態からアクティブ状態となり、その後、アクティブ状態を維持する。
マスタフラグsyncMは、マスタチップ12およびスレーブチップ14の各々対応する外部接続端子60を介して、マスタチップ12からスレーブチップ14へ供給される。
The master flag generation circuit 24 generates the master flag syncM that changes only once from the inactive state to the active state at a timing representing the phase of the master clock CLKM after the reset is released.
The master flag syncM becomes inactive by reset. Then, after the reset is released, the master flag syncM is inactive from the inactive state in synchronization with the stable master clock CLKM of the first cycle output after being masked for a period corresponding to the lock time of the PLL circuit 18. The active state is entered, and then the active state is maintained.
The master flag syncM is supplied from the master chip 12 to the slave chip 14 via the corresponding external connection terminals 60 of the master chip 12 and the slave chip 14.

ここで、PLL回路18のロックタイムは、PLL回路18の特性に応じて、あらかじめ決定されている。   Here, the lock time of the PLL circuit 18 is determined in advance according to the characteristics of the PLL circuit 18.

続いて、スレーブチップ14は、マスタチップ12が備えるPLL回路18、分周回路20、内部回路22の各々に相当するPLL回路28、分周回路30、内部回路32を備え、さらに、スキュー検出回路34と、位相調整回路36とを備えている。   Subsequently, the slave chip 14 includes a PLL circuit 28, a frequency dividing circuit 30, and an internal circuit 32 corresponding to the PLL circuit 18, the frequency dividing circuit 20, and the internal circuit 22 included in the master chip 12, and further includes a skew detection circuit. 34 and a phase adjustment circuit 36.

PLL回路(第2PLL回路)28は、マスタチップ12から供給された低速クロックsync_clkを逓倍して逓倍クロック(第2逓倍クロック)を生成するものである。
PLL回路28により生成された逓倍クロックは、分周回路30へ供給される。
The PLL circuit (second PLL circuit) 28 multiplies the low-speed clock sync_clk supplied from the master chip 12 to generate a multiplied clock (second multiplied clock).
The multiplied clock generated by the PLL circuit 28 is supplied to the frequency dividing circuit 30.

分周回路(第2分周回路)30は、PLL回路28から出力された逓倍クロックを分周してスレーブクロックCLKSを生成するものである。
スレーブクロックCLKSは、スレーブチップ14の内部回路32、および、スキュー検出回路34へ供給される。
The frequency dividing circuit (second frequency dividing circuit) 30 divides the multiplied clock output from the PLL circuit 28 to generate the slave clock CLKS.
The slave clock CLKS is supplied to the internal circuit 32 and the skew detection circuit 34 of the slave chip 14.

内部回路32は、スレーブクロックCLKSに同期して動作するスレーブチップ14の内部回路を表したものである。内部回路32には何ら制限はないが、同様に、mini-LVDSの規格で規定された機能を実現するマクロセルを例示することができる。   The internal circuit 32 represents an internal circuit of the slave chip 14 that operates in synchronization with the slave clock CLKS. The internal circuit 32 is not limited at all, but similarly, a macro cell that realizes a function defined by the mini-LVDS standard can be exemplified.

本実施形態の場合、マスタチップ12が備えるPLL回路18、分周回路20および内部回路22と、スレーブチップ14が備えるPLL回路28、分周回路30および内部回路32とは同じ構成のものである。つまり、マスタクロックCLKMとスレーブクロックCLKSの周波数は同じである。ただし、本発明は、これに限定されず、両者の周波数が異なっていてもよい。   In the present embodiment, the PLL circuit 18, the frequency dividing circuit 20 and the internal circuit 22 included in the master chip 12 and the PLL circuit 28, the frequency dividing circuit 30 and the internal circuit 32 included in the slave chip 14 have the same configuration. . That is, the frequencies of the master clock CLKM and the slave clock CLKS are the same. However, the present invention is not limited to this, and both frequencies may be different.

スキュー検出回路34は、マスタチップ12から供給されたマスタフラグsyncM、および、リセットが解除された後、スレーブクロックCLKSの位相を表すタイミングで、非アクティブ状態からアクティブ状態へ1回だけ変化するスレーブフラグsyncSに基づいて、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューを検出し、スレーブクロックCLKSの位相を調整するためのスキュー設定値を出力するものである。
スキュー設定値は、内部回路32へ供給される。
The skew detection circuit 34 includes a master flag syncM supplied from the master chip 12 and a slave flag that changes only once from the inactive state to the active state at a timing indicating the phase of the slave clock CLKS after the reset is released. Based on syncS, a skew between the master clock CLKM and the slave clock CLKS is detected, and a skew setting value for adjusting the phase of the slave clock CLKS is output.
The skew setting value is supplied to the internal circuit 32.

位相調整回路36は、本実施形態の場合、スレーブチップ14の内部回路32の内部(mini-LVDSのマクロセル内)に備えられている。つまり、スレーブクロックCLKS、および、スキュー設定値が、スレーブチップ14の内部回路32に供給される。
位相調整回路36は、スキュー検出回路34から出力されたスキュー設定値に応じて、マスタクロックCLKMとスレーブクロックCLKSとが、あらかじめ設定された一定の位相関係となるように、スレーブクロックCLKSの位相を調整するものである。
つまり、スレーブチップ14の内部回路32は、位相調整回路36により、スキュー設定値に応じて位相が調整されたスレーブクロックCLKSに同期して動作する。
In the present embodiment, the phase adjustment circuit 36 is provided inside the internal circuit 32 of the slave chip 14 (in the mini-LVDS macro cell). That is, the slave clock CLKS and the skew setting value are supplied to the internal circuit 32 of the slave chip 14.
The phase adjustment circuit 36 sets the phase of the slave clock CLKS so that the master clock CLKM and the slave clock CLKS have a predetermined fixed phase relationship according to the skew setting value output from the skew detection circuit 34. To be adjusted.
That is, the internal circuit 32 of the slave chip 14 operates in synchronization with the slave clock CLKS whose phase is adjusted according to the skew setting value by the phase adjustment circuit 36.

なお、位相調整回路36は、スレーブチップ14の内部回路32の外部に備えられていてもよい。この場合、スレーブクロックCLKS、および、スキュー設定値が、位相調整回路36に供給され、位相調整回路36により、スキュー設定値に応じて位相が調整されたスレーブクロックCLKSが、スレーブチップ14の内部回路32に供給される。   The phase adjustment circuit 36 may be provided outside the internal circuit 32 of the slave chip 14. In this case, the slave clock CLKS and the skew setting value are supplied to the phase adjustment circuit 36, and the slave clock CLKS whose phase is adjusted according to the skew setting value by the phase adjustment circuit 36 is an internal circuit of the slave chip 14. 32.

また、図示を省略しているが、マスタチップ12の内部回路22の内部にも、スレーブチップ14の内部回路32の内部に備えられている位相調整回路36と同様の位相調整回路が備えられている。
マスタチップ12の内部回路22の内部に備えられている位相調整回路には、スキュー設定値として、デフォルト値が設定されている。
Although not shown, a phase adjustment circuit similar to the phase adjustment circuit 36 provided in the internal circuit 32 of the slave chip 14 is also provided in the internal circuit 22 of the master chip 12. Yes.
In the phase adjustment circuit provided in the internal circuit 22 of the master chip 12, a default value is set as the skew setting value.

本発明は、1つ以上のスレーブチップ14を搭載するものに適用可能である。2以上のスレーブチップ14を搭載する場合、各々のスレーブチップ14の内部回路32は、同じ構成のものでもよいし、異なる構成のものでもよい。   The present invention can be applied to one on which one or more slave chips 14 are mounted. When two or more slave chips 14 are mounted, the internal circuit 32 of each slave chip 14 may have the same configuration or a different configuration.

次に、マスタフラグ生成回路24について具体例を挙げて説明する。   Next, the master flag generation circuit 24 will be described with a specific example.

図2は、図1に示すマスタフラグ生成回路の構成を表す一実施形態の回路図である。同図に示すマスタフラグ生成回路24は、ロックタイムマスクカウンタ38と、フリップフロップ(FF)40とを備えている。   FIG. 2 is a circuit diagram of one embodiment showing the configuration of the master flag generation circuit shown in FIG. The master flag generation circuit 24 shown in the figure includes a lock time mask counter 38 and a flip-flop (FF) 40.

ロックタイムマスクカウンタ(第1マスク回路)38は、リセットが解除された後、PLL回路18のロックタイムに相当する期間、マスタクロックCLKMをマスクするものである。
ロックタイムマスクカウンタ38から出力される、マスクされたマスタクロックCLKMは、FF40へ供給される。
The lock time mask counter (first mask circuit) 38 masks the master clock CLKM for a period corresponding to the lock time of the PLL circuit 18 after the reset is released.
The masked master clock CLKM output from the lock time mask counter 38 is supplied to the FF 40.

ロックタイムマスクカウンタ38は、リセットにより、そのカウント値が初期化され、リセットが解除された後、マスタチップ12の内蔵クロックに同期してカウントを開始する。そして、図3に示すように、そのカウント値が、初期化されてから、PLL回路18のロックタイムに相当する値になるまでの期間、マスタクロックCLKMをマスクして、この例では、ローレベルにする。
つまり、ロックタイムマスクカウンタ38から出力されるマスクされたマスタクロックCLKMは、リセットが解除された後、PLL回路18のロックタイムに相当する期間が経過して、逓倍クロックが安定した後に動作(発振)を開始する。
The reset value of the lock time mask counter 38 is initialized by resetting, and after the reset is released, counting starts in synchronization with the internal clock of the master chip 12. Then, as shown in FIG. 3, the master clock CLKM is masked for a period from when the count value is initialized to a value corresponding to the lock time of the PLL circuit 18, and in this example, the low level is set. To.
That is, the masked master clock CLKM output from the lock time mask counter 38 operates (oscillates) after the reset clock is released and a period corresponding to the lock time of the PLL circuit 18 elapses and the multiplied clock is stabilized. ).

続いて、FF(マスタフラグ出力回路)40は、リセットにより非アクティブ状態のマスタフラグsyncMを出力し、リセットが解除され、ロックタイムマスクカウンタ38によりマスクされた後に出力された1サイクル目のマスタクロックCLKMに同期してアクティブ状態のマスタフラグsyncMを出力し、その後、アクティブ状態のマスタフラグsyncMを出力し続けるものである。   Subsequently, the FF (master flag output circuit) 40 outputs a master flag syncM in an inactive state by reset, the reset is released, and the master clock of the first cycle output after being masked by the lock time mask counter 38 is output. The master flag syncM in the active state is output in synchronization with CLKM, and then the master flag syncM in the active state is continuously output.

FF40のデータ入力端子Dは電源(ハイレベル)に接続されている。FF40のクロック入力端子CKには、ロックタイムマスクカウンタ38から、マスクされたマスタクロックCLKMが入力され、リセット入力端子RBにはリセット信号(図示省略)が入力される。FF40のデータ出力端子Qからは、マスタクロックCLKMとスレーブクロックCLKSとを同期させるための同期化信号となるマスタフラグsyncMが出力される。   The data input terminal D of the FF 40 is connected to a power supply (high level). The master clock CLKM masked from the lock time mask counter 38 is input to the clock input terminal CK of the FF 40, and a reset signal (not shown) is input to the reset input terminal RB. From the data output terminal Q of the FF 40, a master flag syncM serving as a synchronization signal for synchronizing the master clock CLKM and the slave clock CLKS is output.

FF40は、リセットにより初期化される。これにより、FF40からは、この例の場合、非アクティブ状態であるローレベルのマスタフラグsyncMが出力される。
リセットが解除された後、FF40には、図3に示すように、ロックタイムマスクカウンタ38によりマスクされた後に出力された1サイクル目のマスタクロックCLKMに同期してデータ入力端子Dのハイレベルが保持される。これにより、FF40からは、アクティブ状態であるハイレベルのマスタフラグsyncMが出力される。
その後、再びリセットされるまで、FF40からは、アクティブ状態であるハイレベルのマスタフラグsyncMが出力し続けられる。
The FF 40 is initialized by reset. As a result, in this example, the low-level master flag syncM that is in an inactive state is output from the FF 40.
After the reset is released, the FF 40 has a high level at the data input terminal D in synchronization with the master clock CLKM of the first cycle output after being masked by the lock time mask counter 38, as shown in FIG. Retained. As a result, the FF 40 outputs a high level master flag syncM which is in an active state.
Thereafter, the high-level master flag syncM which is in an active state is continuously output from the FF 40 until the resetting is performed again.

マスタクロックCLKMは、PLL回路18の逓倍クロックに基づいて生成されるため、リセットが解除された後、PLL回路18のロックタイムに相当する期間が経過するまでの間、不安定な状態となる。
そこで、マスタフラグ生成回路24は、マスタクロックCLKMが不安定な期間中に、マスタフラグsyncMが遷移することのないよう、PLL回路18のロックタイムに相当する期間、ロックタイムマスクカウンタ38によりマスタクロックCLKMをマスクし、リセットが解除されてから、FF40により、十分な時間が経過した後に出力される1サイクル目のマスタクロックCLKMに同期してマスタフラグsyncMを生成する。
そのため、マスタフラグsyncMは、リスタートの際も、必ず安定した状態のマスタクロックCLKMに同期して生成される。
Since the master clock CLKM is generated based on the multiplied clock of the PLL circuit 18, the master clock CLKM is in an unstable state until a period corresponding to the lock time of the PLL circuit 18 elapses after the reset is released.
Therefore, the master flag generation circuit 24 uses the lock time mask counter 38 to perform the master clock for a period corresponding to the lock time of the PLL circuit 18 so that the master flag syncM does not transition during a period in which the master clock CLKM is unstable. After the CLKM is masked and the reset is released, the master flag syncM is generated by the FF 40 in synchronization with the master clock CLKM of the first cycle output after a sufficient time has elapsed.
Therefore, the master flag syncM is always generated in synchronization with the stable master clock CLKM even at the time of restart.

次に、スキュー検出回路34について具体例を挙げて説明する。   Next, the skew detection circuit 34 will be described with a specific example.

図4は、図1に示すスキュー検出回路の構成を表す一実施形態の回路図である。同図に示すスキュー検出回路34は、スレーブフラグ生成回路42と、遅延回路44と、保持回路46と、スキュー算出回路48とを備えている。   FIG. 4 is a circuit diagram of an embodiment showing the configuration of the skew detection circuit shown in FIG. The skew detection circuit 34 shown in the figure includes a slave flag generation circuit 42, a delay circuit 44, a holding circuit 46, and a skew calculation circuit 48.

スレーブフラグ生成回路42は、リセットにより非アクティブ状態のスレーブフラグsyncSを出力し、リセットが解除された後に、マスタフラグsyncMがアクティブ状態となった次のサイクルのスレーブクロックCLKSに同期してアクティブ状態のスレーブフラグsyncSを出力し、その後、アクティブ状態のスレーブフラグsyncSを出力し続けるものである。
スレーブフラグ生成回路42は、OR回路50と、FF52とを備えている。
The slave flag generation circuit 42 outputs the slave flag syncS in the inactive state by resetting, and after the reset is released, the slave flag generation circuit 42 is in the active state in synchronization with the slave clock CLKS of the next cycle in which the master flag syncM becomes active. The slave flag syncS is output, and then the active slave flag syncS is continuously output.
The slave flag generation circuit 42 includes an OR circuit 50 and an FF 52.

OR回路50には、マスタフラグsyncM、および、FF52の出力信号であるスレーブフラグsyncSが入力される。
FF52のデータ入力端子DにはOR回路50の出力信号が入力され、クロック入力端子CKにはスレーブクロックCLKSが入力され、リセット入力端子RBにはリセット信号(図示省略)が入力される。FF52のデータ出力端子Qからは、同期化信号であるスレーブフラグsyncSが出力される。
A master flag syncM and a slave flag syncS which is an output signal of the FF 52 are input to the OR circuit 50.
The output signal of the OR circuit 50 is input to the data input terminal D of the FF 52, the slave clock CLKS is input to the clock input terminal CK, and the reset signal (not shown) is input to the reset input terminal RB. A slave flag syncS, which is a synchronization signal, is output from the data output terminal Q of the FF 52.

FF52は、リセットにより初期化される。これにより、FF52からは、この例の場合、非アクティブ状態であるローレベルのスレーブフラグsyncSが出力される。
リセットが解除された後、マスタフラグsyncMがアクティブ状態であるハイレベルになると、OR回路50の出力信号、つまり、FF52のデータ入力端子Dがハイレベルになる。図5に示すように、FF52には、マスタフラグsyncM、つまり、OR回路50の出力信号がハイレベルとなった次のサイクルのスレーブクロックCLKSに同期してデータ入力端子Dのハイレベルが保持される。これにより、FF52からは、アクティブ状態であるハイレベルのスレーブフラグsyncSが出力される。つまり、スレーブフラグ生成回路42により生成されたスレーブフラグsyncSは、スレーブクロックCLKSの1T(1周期)の範囲内で、必ずマスタフラグsyncMよりもハイレベルへ遷移するタイミングが遅くなる。
その後、スレーブフラグsyncSのハイレベルはOR回路50にフィードバックされ、OR回路50の出力信号がハイレベルに固定される。これにより、FF52からは、ハイレベルのスレーブフラグsyncSが出力し続けられる。
The FF 52 is initialized by reset. As a result, the low-level slave flag syncS in the inactive state is output from the FF 52 in this example.
After the reset is released, when the master flag syncM becomes an active high level, the output signal of the OR circuit 50, that is, the data input terminal D of the FF 52 becomes a high level. As shown in FIG. 5, the high level of the data input terminal D is held in the FF 52 in synchronization with the master flag syncM, that is, the slave clock CLKS of the next cycle when the output signal of the OR circuit 50 becomes high level. The As a result, the FF 52 outputs a high level slave flag syncS which is in an active state. That is, the slave flag syncS generated by the slave flag generation circuit 42 always delays the timing of transitioning to a higher level than the master flag syncM within the range of 1T (one cycle) of the slave clock CLKS.
Thereafter, the high level of the slave flag syncS is fed back to the OR circuit 50, and the output signal of the OR circuit 50 is fixed to the high level. As a result, the FF 52 continues to output the high level slave flag syncS.

続いて、遅延回路(第1遅延回路)44は、ハードニングにより、マスタフラグsyncMを各々異なる時間遅延し、4本の遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4を出力するものである。
遅延回路44は、マスタフラグsyncMを、各々異なる時間遅延する4つの遅延素子54a、54b、54c、54dを備えている。
Subsequently, the delay circuit (first delay circuit) 44 delays the master flag syncM by different times by hardening and outputs four delay master flags DLYM1, DLYM2, DLYM3, and DLYM4.
The delay circuit 44 includes four delay elements 54a, 54b, 54c, and 54d that respectively delay the master flag syncM by different times.

マスタフラグsyncMは、4つの遅延素子54a、54b、54c、54dにより、各々異なる時間遅延される。同図に示す例では、遅延素子54a、54b、54c、54dの順序で遅延時間が次第に大きくなる。4つの遅延素子54a、54b、54c、54dからは、各々対応する遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4が出力され、保持回路46へ供給される。   The master flag syncM is delayed for different times by the four delay elements 54a, 54b, 54c, and 54d. In the example shown in the figure, the delay time gradually increases in the order of the delay elements 54a, 54b, 54c, 54d. Corresponding delay master flags DLYM1, DLYM2, DLYM3, and DLYM4 are output from the four delay elements 54a, 54b, 54c, and 54d and supplied to the holding circuit 46.

なお、遅延マスタフラグの本数は2以上であればよく、各々の遅延マスタフラグの遅延時間は何ら制限されない。遅延マスタフラグの本数を多くし、かつ、各々の遅延マスタフラグの遅延時間を細かく調整すればするほど、スキュー検出回路34は、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューをより正確に検出することができる。   Note that the number of the delay master flags may be two or more, and the delay time of each delay master flag is not limited at all. The skew detection circuit 34 detects the skew between the master clock CLKM and the slave clock CLKS more accurately as the number of delay master flags is increased and the delay time of each delay master flag is finely adjusted. can do.

また、遅延回路44は、位相調整回路36が調整するスレーブクロックCLKSの位相の範囲内の時間で、マスタフラグsyncMを各々異なる時間遅延することが望ましい。例えば、位相調整回路36が調整するスレーブクロックCLKSの位相の範囲が1Tの範囲内の場合、マスタフラグsyncMを各々遅延する時間を1T以内とすることが望ましい。   Further, it is desirable that the delay circuit 44 delays the master flag syncM by different times within the time range of the slave clock CLKS adjusted by the phase adjustment circuit 36. For example, when the phase range of the slave clock CLKS adjusted by the phase adjustment circuit 36 is within the range of 1T, it is desirable that the time for delaying the master flag syncM is within 1T.

続いて、保持回路(第1保持回路)46は、4本の遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4の各々を、スレーブフラグsyncSがアクティブ状態へ遷移するタイミングに同期して保持し、4本の遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4に各々対応する4本の保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4を出力するものである。
保持回路46は、4つのFF56a、56b、56c、56dを備えている。
Subsequently, the holding circuit (first holding circuit) 46 holds each of the four delay master flags DLYM1, DLYM2, DLYM3, and DLYM4 in synchronization with the timing at which the slave flag syncS transitions to the active state. The four hold master flags OUTM1, OUTM2, OUTM3 and OUTM4 respectively corresponding to the delay master flags DLYM1, DLYM2, DLYM3 and DLYM4.
The holding circuit 46 includes four FFs 56a, 56b, 56c, and 56d.

FF56a、56b、56c、56dのデータ入力端子Dには、各々対応する遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4が入力され、クロック入力端子CKにはスレーブフラグsyncSが入力され、リセット入力端子RBにはリセット信号(図示省略)が入力される。FF56a、56b、56c、56dのデータ出力端子Qからは、各々対応する保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4が出力され、スキュー算出回路48へ供給される。   The corresponding delay master flags DLYM1, DLYM2, DLYM3, and DLYM4 are input to the data input terminals D of the FFs 56a, 56b, 56c, and 56d, the slave flag syncS is input to the clock input terminal CK, and the reset input terminal RB is input. Receives a reset signal (not shown). The corresponding holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are output from the data output terminals Q of the FFs 56a, 56b, 56c, and 56d, and supplied to the skew calculation circuit 48.

FF56a、56b、56c、56dは、リセットにより初期化される。これにより、FF56a、56b、56c、56dからは、この例の場合、ローレベルの保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4が各々出力される。
リセットが解除された後、FF56a、56b、56c、56dには、スレーブフラグsyncSがアクティブ状態であるハイレベルへ遷移するタイミングに同期して遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4が各々保持される。
ここで、遅延マスタフラグDLYM1がハイレベルへ遷移するタイミングが、スレーブフラグsyncSがハイレベルへ遷移するタイミングよりも早い場合、保持マスタフラグOUTM1はハイレベルとなる。一方、遅延マスタフラグDLYM1がハイレベルへ遷移するタイミングが、スレーブフラグsyncSがハイレベルへ遷移するタイミングよりも遅い場合、保持マスタフラグOUTM1はローレベルを維持する。他の遅延マスタフラグDLYM2,DLYM3,DLYM4についても同様である。
The FFs 56a, 56b, 56c, and 56d are initialized by reset. Thus, in this example, low-level holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are output from the FFs 56a, 56b, 56c, and 56d, respectively.
After the reset is released, the delay master flags DLYM1, DLYM2, DLYM3, and DLYM4 are held in the FFs 56a, 56b, 56c, and 56d in synchronization with the timing at which the slave flag syncS transitions to the active high level. .
Here, when the timing at which the delay master flag DLYM1 transitions to the high level is earlier than the timing at which the slave flag syncS transitions to the high level, the holding master flag OUTM1 is at the high level. On the other hand, when the timing at which the delayed master flag DLYM1 transitions to the high level is later than the timing at which the slave flag syncS transitions to the high level, the holding master flag OUTM1 maintains the low level. The same applies to the other delay master flags DLYM2, DLYM3, and DLYM4.

なお、保持マスタフラグの本数は、遅延マスタフラグの本数に対応する2以上であればよい。   The number of holding master flags may be two or more corresponding to the number of delayed master flags.

続いて、スキュー算出回路(第1スキュー算出回路)48は、保持回路46から出力された4本の保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4の状態に応じて、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューを算出し、スキュー設定値を出力するものである。
スキュー算出回路48は、表1に示すように、4本の保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4の値(ハイレベルまたはローレベル)をデーコードするデコーダにより構成することができる。
Subsequently, the skew calculation circuit (first skew calculation circuit) 48 determines the master clock CLKM and the slave clock CLKS according to the states of the four holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 output from the holding circuit 46. Is calculated and a skew set value is output.
As shown in Table 1, the skew calculation circuit 48 can be configured by a decoder that decodes the values (high level or low level) of the four holding master flags OUTM1, OUTM2, OUTM3, and OUTM4.

この例では、位相調整回路36によるスレーブクロックCLKSの位相の調整範囲が、スレーブクロックCLKSの1Tであり、これに応じて、マスタフラグsyncMから、各々の遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4の遅延時間が、マスタフラグsyncMがハイレベルへ遷移するタイミングから、各々、スレーブクロックCLKSの(1/4)Tの時間ずつ遅延されたタイミングであるとする。   In this example, the phase adjustment range of the slave clock CLKS by the phase adjustment circuit 36 is 1T of the slave clock CLKS. Accordingly, from the master flag syncM, the delay master flags DLYM1, DLYM2, DLYM3, and DLYM4 are changed. The delay time is assumed to be a timing delayed by (1/4) T of the slave clock CLKS from the timing at which the master flag syncM transitions to the high level.

表1に示すように、全ての保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4がL(ローレベル)の場合、スレーブフラグsyncSがハイレベルへ遷移するタイミングは、マスタフラグsyncMがハイレベルへ遷移するタイミングと、遅延マスタフラグDLYM1がハイレベルへ遷移するタイミングとの間にある。
この場合、スキュー算出回路48は、マスタクロックCLKMとスレーブクロックCLKSとの間にスキューはないと判断し、スキュー設定値を、マスタチップ12と同じデフォルト値とする。
As shown in Table 1, when all the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are L (low level), the timing when the slave flag syncS transits to the high level is the timing when the master flag syncM transits to the high level. And the timing at which the delay master flag DLYM1 transitions to the high level.
In this case, the skew calculation circuit 48 determines that there is no skew between the master clock CLKM and the slave clock CLKS, and sets the skew setting value to the same default value as that of the master chip 12.

保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4がH(ハイレベル)、L,L,Lの場合、スレーブフラグsyncSがハイレベルへ遷移するタイミングは、遅延マスタフラグDLYM1がハイレベルへ遷移するタイミングと、遅延マスタフラグDLYM2がハイレベルへ遷移するタイミングとの間にある。
この場合、スキュー算出回路48は、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューが(1/4)Tであると判断し、スキュー設定値を、デフォルト値+(1/4)Tとする。
When the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are H (high level), L, L, and L, the timing at which the slave flag syncS transitions to the high level is the timing at which the delay master flag DLYM1 transitions to the high level, It is between the timing when the delay master flag DLYM2 transits to the high level.
In this case, the skew calculation circuit 48 determines that the skew between the master clock CLKM and the slave clock CLKS is (1/4) T, and sets the skew setting value to the default value + (1/4) T. .

保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4がH,H,L,Lの場合、スレーブフラグsyncSがハイレベルへ遷移するタイミングは、遅延マスタフラグDLYM2がハイレベルへ遷移するタイミングと、遅延マスタフラグDLYM3がハイレベルへ遷移するタイミングとの間にある。
この場合、スキュー算出回路48は、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューが(2/4)Tであると判断し、スキュー設定値を、デフォルト値+(2/4)Tとする。
When the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are H, H, L, and L, the timing at which the slave flag syncS transitions to the high level is the timing at which the delay master flag DLYM2 transitions to the high level and the delay master flag DLYM3. Is at the timing of transition to high level.
In this case, the skew calculation circuit 48 determines that the skew between the master clock CLKM and the slave clock CLKS is (2/4) T, and sets the skew setting value to the default value + (2/4) T. .

保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4がH,H,H,Lの場合、スレーブフラグsyncSがハイレベルへ遷移するタイミングは、遅延マスタフラグDLYM3がハイレベルへ遷移するタイミングと、遅延マスタフラグDLYM4がハイレベルへ遷移するタイミングとの間にある。
この場合、スキュー算出回路48は、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューが(3/4)Tであると判断し、スキュー設定値を、デフォルト値+(3/4)Tとする。
When the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are H, H, H, and L, the timing at which the slave flag syncS transitions to the high level is the timing at which the delay master flag DLYM3 transitions to the high level and the delay master flag DLYM4. Is at the timing of transition to high level.
In this case, the skew calculation circuit 48 determines that the skew between the master clock CLKM and the slave clock CLKS is (3/4) T, and sets the skew setting value to the default value + (3/4) T. .

全ての保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4がHの場合、スレーブフラグsyncSがハイレベルへ遷移するタイミングは、遅延マスタフラグDLYM4がハイレベルへ遷移するタイミングよりも後ろにある。
この場合、スキュー算出回路48は、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューが(4/4)Tであると判断し、スキュー設定値を、デフォルト値+(4/4)Tとする。
When all the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are H, the timing at which the slave flag syncS transitions to the high level is behind the timing at which the delay master flag DLYM4 transitions to the high level.
In this case, the skew calculation circuit 48 determines that the skew between the master clock CLKM and the slave clock CLKS is (4/4) T, and sets the skew setting value to the default value + (4/4) T. .

次に、図6に示すタイミングチャートを参照しながら、クロック位相調整回路10の動作を説明する。   Next, the operation of the clock phase adjustment circuit 10 will be described with reference to the timing chart shown in FIG.

図6のタイミングチャートに示すように、低速クロックsync_clkは、一定の周期で発振するものとする。   As shown in the timing chart of FIG. 6, it is assumed that the low-speed clock sync_clk oscillates at a constant cycle.

リセット信号がローレベルとなり、リセットされると、マスタチップ12およびスレーブチップ14のPLL回路18,28、および、分周回路20,30は初期化される。PLL回路18,28の逓倍クロック、つまり、マスタクロックCLKMおよびスレーブクロックCLKSは、リセットが解除された後、各々対応するPLL回路18,28のロックタイムに相当する期間が経過するまでの間、不安定な状態となり、その後、安定した状態で動作(発振)を開始する。   When the reset signal becomes low level and reset, the PLL circuits 18 and 28 and the frequency dividing circuits 20 and 30 of the master chip 12 and the slave chip 14 are initialized. The multiplied clocks of the PLL circuits 18 and 28, that is, the master clock CLKM and the slave clock CLKS are not valid until a period corresponding to the lock time of the corresponding PLL circuits 18 and 28 elapses after the reset is released. A stable state is reached, and then operation (oscillation) starts in a stable state.

また、リセットにより、マスタフラグ生成回路24のFF40、および、スレーブフラグ生成回路42のFF52が初期化され、マスタフラグsyncM、および、スレーブフラグsyncSが非アクティブ状態であるローレベルとなる。マスタフラグsyncMがローレベルになると、遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4もローレベルとなる。   Further, the reset initializes the FF 40 of the master flag generation circuit 24 and the FF 52 of the slave flag generation circuit 42, and sets the master flag syncM and the slave flag syncS to a low level in an inactive state. When the master flag syncM becomes low level, the delayed master flags DLYM1, DLYM2, DLYM3, and DLYM4 also become low level.

また、リセットにより、保持回路46のFF56a、56b、56c、56dが初期化され、保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4もローレベルとなる。全ての保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4がローレベルになると、スキュー算出回路48から出力されるスキュー設定値は、マスタチップ12と同じデフォルト値となる。   Further, the resetting initializes the FFs 56a, 56b, 56c, and 56d of the holding circuit 46, and the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 are also set to the low level. When all the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 become low level, the skew setting value output from the skew calculation circuit 48 becomes the same default value as that of the master chip 12.

続いて、リセット信号がハイレベルとなり、リセットが解除された後、マスタクロックCLKMは、マスタフラグ生成回路24のロックタイムマスクカウンタ38により、PLL回路18のロックタイムに相当する期間、マスクされる。マスクされたマスタクロックCLKMの取りうる位相は、リセットが解除された後のPLL回路18の逓倍クロックの位相の状態に応じて、マスタクロックCLKMの1Tの範囲内で変動する。   Subsequently, after the reset signal becomes a high level and the reset is released, the master clock CLKM is masked by the lock time mask counter 38 of the master flag generation circuit 24 for a period corresponding to the lock time of the PLL circuit 18. The phase that can be taken by the masked master clock CLKM varies within the range of 1T of the master clock CLKM in accordance with the state of the phase of the multiplied clock of the PLL circuit 18 after the reset is released.

同様に、リセットが解除された後、スレーブクロックCLKSの取りうる位相は、リセットが解除された後のPLL回路28の逓倍クロックの位相の状態に応じて、スレーブクロックCLKSの1Tの範囲内で変動する。   Similarly, after the reset is released, the possible phase of the slave clock CLKS varies within the range of 1T of the slave clock CLKS according to the state of the phase of the multiplied clock of the PLL circuit 28 after the reset is released. To do.

図6の例では、マスタクロックCLKMが、取りうる位相の中で最も早いタイミングで変化し、スレーブクロックCLKSは、取りうる位相の中で最も遅いタイミングで変化するものとする。   In the example of FIG. 6, it is assumed that the master clock CLKM changes at the earliest timing among possible phases, and the slave clock CLKS changes at the latest timing among possible phases.

従って、この例の場合、マスタフラグ生成回路24により、マスタクロックCLKMの取りうる位相の中で最も早いタイミングで、ローレベルからハイレベルとなるマスタフラグsyncMが生成される。
一方、スレーブフラグ生成回路42により、スレーブクロックCLKSの取りうる位相の中で最も遅いタイミングで、ローレベルからハイレベルとなるスレーブフラグsyncSが生成される。
Therefore, in this example, the master flag generation circuit 24 generates the master flag syncM that changes from the low level to the high level at the earliest timing among the possible phases of the master clock CLKM.
On the other hand, the slave flag generation circuit 42 generates the slave flag syncS that changes from the low level to the high level at the latest timing among the possible phases of the slave clock CLKS.

続いて、マスタフラグsyncMは、遅延回路44の遅延素子54a、54b、54c、54dにより、各々異なる時間遅延されて、各々対応する遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4が出力される。   Subsequently, the master flag syncM is delayed for different times by the delay elements 54a, 54b, 54c, 54d of the delay circuit 44, and the corresponding delay master flags DLYM1, DLYM2, DLYM3, DLYM4 are output.

続いて、遅延マスタフラグDLYM1,DLYM2,DLYM3,DLYM4は、スレーブフラグsyncSがハイレベルへ遷移するタイミングに同期して、各々対応する保持回路46のFF56a、56b、56c、56dに保持される。   Subsequently, the delay master flags DLYM1, DLYM2, DLYM3, and DLYM4 are held in the FFs 56a, 56b, 56c, and 56d of the corresponding holding circuits 46 in synchronization with the timing at which the slave flag syncS transitions to the high level.

この例では、スレーブフラグsyncSがハイレベルへ遷移するタイミングは、遅延マスタフラグDLTM3がハイレベルへ遷移するタイミングと、遅延マスタフラグDLYM4がハイレベルへ遷移するタイミングとの間にあるものとする。
その結果、保持回路46のFF56a、56b、56c、56dから出力される保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4は、各々、H,H,H,Lとなる。
In this example, the timing at which the slave flag syncS transitions to the high level is between the timing at which the delay master flag DLTM3 transitions to the high level and the timing at which the delay master flag DLYM4 transitions to the high level.
As a result, the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4 output from the FFs 56a, 56b, 56c, and 56d of the holding circuit 46 are H, H, H, and L, respectively.

続いて、スキュー算出回路48により、保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4のH,H,H,Lの状態に応じて、前述の表1に示すように、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューは(3/4)Tであると判断される。従って、スキュー算出回路48からは、スキュー設定値として、デフォルト値+(3/4)Tが算出される。   Subsequently, according to the states of the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4, the skew, the master clock CLKM and the slave clock CLKS by the skew calculation circuit 48 as shown in Table 1 above. Is determined to be (3/4) T. Accordingly, the skew calculation circuit 48 calculates the default value + (3/4) T as the skew setting value.

続いて、スレーブチップ14の内部回路32が備える位相調整回路36により、スキュー設定値に応じて、スレーブクロックCLKSの位相が、デフォルト値から、デフォルト値+(3/4)Tに調整される。これにより、マスタクロックCLKMと、位相が調整された後のスレーブクロックCLKSとは、あらかじめ設定された一定の位相関係となる。そして、位相が調整された後のスレーブクロックCLKSに同期して、スレーブチップ14の内部回路32は動作する。   Subsequently, the phase adjustment circuit 36 included in the internal circuit 32 of the slave chip 14 adjusts the phase of the slave clock CLKS from the default value to the default value + (3/4) T according to the skew setting value. Thus, the master clock CLKM and the slave clock CLKS after the phase adjustment have a predetermined phase relationship set in advance. Then, the internal circuit 32 of the slave chip 14 operates in synchronization with the slave clock CLKS after the phase is adjusted.

なお、リセットが解除された後、位相調整回路36により、スレーブクロックCLKSの位相が調整されるまでの間、位相が調整された後のスレーブクロックCLKSは、内部回路32が誤動作しないようにマスクされている。   The slave clock CLKS after the phase adjustment is masked so that the internal circuit 32 does not malfunction until the phase adjustment circuit 36 adjusts the phase of the slave clock CLKS after the reset is released. ing.

このように、クロック位相調整回路10では、マスタクロックCLKMそのものではなく、マスタフラグsyncMを、マスタチップ12からスレーブチップ14へ供給し、スレーブチップ14において、マスタチップ12から供給されたマスタフラグsyncM、および、スレーブチップ14で生成されたスレーブフラグsyncSに基づいて、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューを検出し、このスキューに基づいて、スレーブクロックCLKSの位相を調整する。   Thus, the clock phase adjustment circuit 10 supplies the master flag syncM, not the master clock CLKM itself, from the master chip 12 to the slave chip 14, and the slave chip 14 receives the master flag syncM, The skew between the master clock CLKM and the slave clock CLKS is detected based on the slave flag syncS generated by the slave chip 14, and the phase of the slave clock CLKS is adjusted based on the skew.

そのため、クロック位相調整回路10では、マスタクロックCLKMとスレーブクロックCLKSとが、常に、あらかじめ設定された一定の位相関係となるように調整することができる。
また、クロック位相調整回路10では、マスタクロックCLKMとスレーブクロックCLKSとの位相関係が常に一定に保たれるため、チップ間でクロックエッジが重なり合うことを防止し、EMI対策としての効果を得ることができる。
Therefore, the clock phase adjustment circuit 10 can always adjust the master clock CLKM and the slave clock CLKS so that they have a predetermined phase relationship set in advance.
Further, in the clock phase adjustment circuit 10, the phase relationship between the master clock CLKM and the slave clock CLKS is always kept constant, so that it is possible to prevent clock edges from overlapping between chips and to obtain an effect as an EMI countermeasure. it can.

なお、マスタチップ12とスレーブチップ14と間の距離が遠く、マスタチップ12からスレーブチップ14に供給されたマスタフラグsyncMがなまり、仮に、マスタフラグsyncMがハイレベルへ遷移するタイミングが、スレーブフラグsyncSがハイレベルへ遷移するタイミングよりも遅くなるような懸念がある場合、図7に示すスキュー検出回路34を用いることができる。   Note that the distance between the master chip 12 and the slave chip 14 is long, the master flag syncM supplied from the master chip 12 to the slave chip 14 is lost, and the timing at which the master flag syncM transitions to the high level is the slave flag syncS. 7 may be used if there is a concern that the timing becomes later than the timing of transition to the high level.

図7は、図1に示すスキュー検出回路の構成を表す別の実施形態の回路図である。同図に示すスキュー検出回路34は、スレーブフラグ生成回路62と、遅延回路44と、保持回路46と、スキュー算出回路48と、遅延回路64と、保持回路66と、スキュー算出回路68と、位相判定回路70と、切替回路72とを備えている。   FIG. 7 is a circuit diagram of another embodiment showing the configuration of the skew detection circuit shown in FIG. The skew detection circuit 34 shown in the figure includes a slave flag generation circuit 62, a delay circuit 44, a holding circuit 46, a skew calculation circuit 48, a delay circuit 64, a holding circuit 66, a skew calculation circuit 68, and a phase. A determination circuit 70 and a switching circuit 72 are provided.

スレーブフラグ生成回路62は、リセットにより非アクティブ状態のスレーブフラグsyncSを出力し、リセットが解除され、PLL回路28のロックタイムに相当する期間、マスクされた後に出力された1サイクル目のスレーブクロックCLKSに同期してアクティブ状態のスレーブフラグsyncSを出力し、その後、アクティブ状態のスレーブフラグsyncSを出力し続けるものである。
スレーブフラグ生成回路62は、ロックタイムマスクカウンタ78と、FF80とを備えている。
The slave flag generation circuit 62 outputs the slave flag syncS in an inactive state by reset, the reset is released, and the slave clock CLKS of the first cycle output after being masked for a period corresponding to the lock time of the PLL circuit 28. The slave flag syncS in the active state is output in synchronism with the output of the slave flag, and then the slave flag syncS in the active state is continuously output.
The slave flag generation circuit 62 includes a lock time mask counter 78 and an FF 80.

スレーブフラグ生成回路62は、図2に示すマスタフラグ生成回路24において、ロックタイムマスクカウンタ38に入力されるマスタクロックCLKMが、ロックタイムマスクカウンタ78に入力されるスレーブクロックCLKSとなり、FF40から出力されるマスタフラグsyncMが、FF80から出力されるスレーブフラグsyncSとなることを除いて、マスタフラグ生成回路24同じ構成のものである。   In the master flag generation circuit 24 shown in FIG. 2, the slave flag generation circuit 62 converts the master clock CLKM input to the lock time mask counter 38 into the slave clock CLKS input to the lock time mask counter 78 and is output from the FF 40. The master flag generation circuit 24 has the same configuration except that the master flag syncM becomes the slave flag syncS output from the FF 80.

つまり、ロックタイムマスクカウンタ(第2マスク回路)78は、リセットが解除された後、PLL回路28のロックタイムに相当する期間、スレーブクロックCLKSをマスクするものである。   That is, the lock time mask counter (second mask circuit) 78 masks the slave clock CLKS for a period corresponding to the lock time of the PLL circuit 28 after the reset is released.

FF(スレーブフラグ出力回路)80は、リセットにより非アクティブ状態のスレーブフラグsyncSを出力し、リセットが解除され、ロックタイムマスクカウンタ78によりマスクされた後に出力された1サイクル目のスレーブクロックCLKSに同期してアクティブ状態のスレーブフラグsyncSを出力し、その後、アクティブ状態のスレーブフラグsyncSを出力し続けるものである。   The FF (slave flag output circuit) 80 outputs a slave flag syncS in an inactive state upon reset, and is synchronized with the slave clock CLKS of the first cycle output after the reset is released and masked by the lock time mask counter 78. Thus, the slave flag syncS in the active state is output, and then the slave flag syncS in the active state is continuously output.

スレーブフラグ生成回路62により生成されたスレーブフラグsyncSは、マスタフラグ生成回路24により生成されたマスタフラグsyncMに対して、スレーブクロックCLKSの1Tの範囲内でスキューが生じる場合がある。   The slave flag syncS generated by the slave flag generation circuit 62 may be skewed within the range of 1T of the slave clock CLKS with respect to the master flag syncM generated by the master flag generation circuit 24.

続いて、遅延回路44、保持回路46およびスキュー算出回路48は、スレーブフラグsyncSがアクティブ状態へ遷移するタイミングが、マスタフラグsyncMがアクティブ状態へ遷移するタイミングよりも遅い場合に使用されるものである。   Subsequently, the delay circuit 44, the holding circuit 46, and the skew calculation circuit 48 are used when the timing at which the slave flag syncS transitions to the active state is later than the timing at which the master flag syncM transitions to the active state. .

遅延回路44およびスキュー算出回路48は、図4に示す遅延回路44およびスキュー算出回路48と同じ構成のものである。
保持回路46は、図4に示すスレーブフラグ生成回路42により生成されたスレーブフラグsyncSの代わりに、図7に示すスレーブフラグ生成回路62により生成されたスレーブフラグsyncSが、クロック入力端子CKに入力されることを除いて、図4に示す保持回路46と同じ構成のものである。
The delay circuit 44 and the skew calculation circuit 48 have the same configuration as the delay circuit 44 and the skew calculation circuit 48 shown in FIG.
In the holding circuit 46, the slave flag syncS generated by the slave flag generation circuit 62 shown in FIG. 7 is input to the clock input terminal CK instead of the slave flag syncS generated by the slave flag generation circuit 42 shown in FIG. The holding circuit 46 has the same configuration as that shown in FIG.

続いて、遅延回路64、保持回路66およびスキュー算出回路68は、マスタフラグsyncMがアクティブ状態へ遷移するタイミングが、スレーブフラグsyncSがアクティブ状態へ遷移するタイミングよりも遅い場合に使用されるものである。   Subsequently, the delay circuit 64, the holding circuit 66, and the skew calculation circuit 68 are used when the timing at which the master flag syncM transitions to the active state is later than the timing at which the slave flag syncS transitions to the active state. .

遅延回路(第2遅延回路)64は、マスタフラグsyncMの代わりに、図7に示すスレーブフラグ生成回路62により生成されたスレーブフラグsyncSが入力されることを除いて、図4に示す遅延回路44と同じ構成のものである。
つまり、遅延回路64は、4つの遅延素子74a、74b、74c、74dにより、スレーブフラグsyncSを各々異なる時間遅延し、4本の遅延スレーブフラグDLYS1,DLYS2,DLYS3,DLYS4を出力する。
The delay circuit (second delay circuit) 64 is the delay circuit 44 shown in FIG. 4 except that the slave flag syncS generated by the slave flag generation circuit 62 shown in FIG. 7 is input instead of the master flag syncM. Is the same configuration.
That is, the delay circuit 64 delays the slave flag syncS by different times by the four delay elements 74a, 74b, 74c, and 74d, and outputs four delay slave flags DLYS1, DLYS2, DLYS3, and DLYS4.

また、遅延回路64は、遅延回路44の場合と同様に、位相調整回路36が調整するスレーブクロックCLKSの位相の範囲内の時間で、スレーブフラグsyncSを各々異なる時間遅延することが望ましい。   Similarly to the case of the delay circuit 44, the delay circuit 64 desirably delays the slave flags syncS by different times within the time range of the slave clock CLKS adjusted by the phase adjustment circuit 36.

保持回路(第2保持回路)66は、クロック入力端子CKに入力されるスレーブフラグsyncSの代わりに、マスタフラグsyncMが入力されることを除いて、図4に示す保持回路46と同じ構成のものである。
つまり、保持回路66は、4つのFF76a、76b、76c、76dにより、4本の遅延スレーブフラグDLYS1,DLYS2,DLYS3,DLYS4の各々を、マスタフラグsyncMがアクティブ状態へ遷移するタイミングに同期して保持し、4本の遅延スレーブフラグDLYS1,DLYS2,DLYS3,DLYS4に各々対応する4本の保持スレーブフラグOUTS1,OUTS2,OUTS3,OUTS4を出力する。
The holding circuit (second holding circuit) 66 has the same configuration as the holding circuit 46 shown in FIG. 4 except that the master flag syncM is input instead of the slave flag syncS input to the clock input terminal CK. It is.
That is, the holding circuit 66 holds each of the four delayed slave flags DLYS1, DLYS2, DLYS3, and DLYS4 in synchronization with the timing at which the master flag syncM transitions to the active state by the four FFs 76a, 76b, 76c, and 76d. Then, four hold slave flags OUTS1, OUTS2, OUTS3, and OUTS4 corresponding to the four delay slave flags DLYS1, DLYS2, DLYS3, and DLYS4 are output.

スキュー算出回路(第2スキュー算出回路)68は、保持マスタフラグOUTM1,OUTM2,OUTM3,OUTM4の代わりに、保持スレーブフラグOUTS1,OUTS2,OUTS3,OUTS4が入力されることを除いて、図4に示すスキュー算出回路48と同じ構成のものである。
つまり、スキュー算出回路68は、表2に示すように、保持回路66から出力された4本の保持スレーブフラグOUTS1,OUTS2,OUTS3,OUTS4の状態に応じて、マスタクロックCLKMとスレーブクロックCLKSとの間のスキューを算出し、スキュー設定値を出力する。
The skew calculation circuit (second skew calculation circuit) 68 is shown in FIG. 4 except that the holding slave flags OUTS1, OUTS2, OUTS3, and OUTS4 are input instead of the holding master flags OUTM1, OUTM2, OUTM3, and OUTM4. The configuration is the same as that of the skew calculation circuit 48.
That is, as shown in Table 2, the skew calculation circuit 68 generates a master clock CLKM and a slave clock CLKS according to the states of the four holding slave flags OUTS1, OUTS2, OUTS3, and OUTS4 output from the holding circuit 66. The skew is calculated, and the skew setting value is output.

位相判定回路70は、マスタフラグsyncMおよびスレーブフラグsyncSに基づいて、つまり、マスタフラグsyncMがアクティブ状態へ遷移するタイミングが、スレーブフラグsyncSがアクティブ状態へ遷移するタイミングよりも早いのか遅いのかに基づいて、マスタクロックCLKMとスレーブクロックCLKSとの間の位相関係を判定し、位相判定信号を出力するものである。
位相判定回路70は、FF82によって構成されている。
The phase determination circuit 70 is based on the master flag syncM and the slave flag syncS, that is, based on whether the timing at which the master flag syncM transitions to the active state is earlier or later than the timing at which the slave flag syncS transitions to the active state. The phase relationship between the master clock CLKM and the slave clock CLKS is determined and a phase determination signal is output.
The phase determination circuit 70 is configured by an FF 82.

FF82のデータ入力端子DにはマスタフラグsyncMが入力され、クロック入力端子CKにはスレーブフラグsyncSが入力され、リセット入力端子RBにはリセット信号が入力される。FF82のデータ出力端子Qからは位相判定信号が出力される。   A master flag syncM is input to the data input terminal D of the FF 82, a slave flag syncS is input to the clock input terminal CK, and a reset signal is input to the reset input terminal RB. A phase determination signal is output from the data output terminal Q of the FF 82.

FF82は、リセットにより初期化される。これにより、FF82からは、この例の場合、ローレベルの位相判定信号が出力される。
リセットが解除された後、FF82には、スレーブフラグsyncSがアクティブ状態であるハイレベルへ遷移するタイミングに同期してマスタフラグsyncMが保持される。
ここで、スレーブフラグsyncSがハイレベルへ遷移するタイミングが、マスタフラグsyncMがハイレベルへ遷移するタイミングよりも遅い場合、位相判定信号はハイレベルとなる。一方、マスタフラグsyncMがハイレベルへ遷移するタイミングが、スレーブフラグsyncSがハイレベルへ遷移するタイミングよりも遅い場合、位相判定信号はローレベルとなる。
The FF 82 is initialized by reset. As a result, the FF 82 outputs a low-level phase determination signal in this example.
After the reset is released, the master flag syncM is held in the FF 82 in synchronization with the timing at which the slave flag syncS transitions to the active high level.
Here, when the timing at which the slave flag syncS transitions to the high level is later than the timing at which the master flag syncM transitions to the high level, the phase determination signal is at the high level. On the other hand, when the timing at which the master flag syncM transitions to the high level is later than the timing at which the slave flag syncS transitions to the high level, the phase determination signal is at the low level.

切替回路72は、FF82から出力された位相判定信号に基づいて、スレーブクロックCLKSがマスタクロックCLKMよりも遅いと判定された場合に、この例では、位相判定信号がハイレベルの場合に、スキュー算出回路48から出力されたスキュー設定値を出力し、位相判定信号により、マスタクロックCLKMがスレーブクロックCLKSよりも遅いと判定された場合に、この例では、位相判定信号がローレベルの場合に、スキュー算出回路68から出力されたスキュー設定値を出力するように切り替えるものである。
切替回路72は、マルチプレクサ84によって構成されている。
When it is determined that the slave clock CLKS is slower than the master clock CLKM based on the phase determination signal output from the FF 82, the switching circuit 72 calculates the skew when the phase determination signal is high in this example. When the skew setting value output from the circuit 48 is output and it is determined by the phase determination signal that the master clock CLKM is slower than the slave clock CLKS, in this example, when the phase determination signal is at a low level, the skew is The skew setting value output from the calculation circuit 68 is switched to be output.
The switching circuit 72 is configured by a multiplexer 84.

マルチプレクサ84のデータ入力端子A0,A1には、各々、スキュー算出回路68,48から出力されるスキュー設定値が入力され、選択入力端子Sには、位相判定回路70から出力される位相判定信号が入力される。マルチプレクサ84の出力端子Yからは、位相判定信号に応じて、スキュー算出回路68,48から出力されるスキュー設定値のうちの一方のスキュー設定値が出力される。   The skew setting values output from the skew calculation circuits 68 and 48 are input to the data input terminals A0 and A1 of the multiplexer 84, respectively, and the phase determination signal output from the phase determination circuit 70 is input to the selection input terminal S. Entered. From the output terminal Y of the multiplexer 84, one of the skew setting values output from the skew calculation circuits 68 and 48 is output in accordance with the phase determination signal.

位相判定信号がハイレベルの場合、マルチプレクサ84からは、スキュー算出回路48から出力されたスキュー設定値が出力され、ローレベルの場合、スキュー算出回路68から出力されたスキュー設定値が出力される。   When the phase determination signal is at a high level, the multiplexer 84 outputs the skew setting value output from the skew calculation circuit 48. When the phase determination signal is at a low level, the skew setting value output from the skew calculation circuit 68 is output.

つまり、図7に示すスキュー検出回路34であれば、スレーブフラグsyncSがアクティブ状態へ遷移するタイミングが、マスタフラグsyncMがアクティブ状態へ遷移するタイミングよりも遅い場合も、逆に、マスタフラグsyncMがアクティブ状態へ遷移するタイミングが、スレーブフラグsyncSがアクティブ状態へ遷移するタイミングよりも遅い場合も、スレーブクロックCLKSの位相を調整することができる。   That is, in the case of the skew detection circuit 34 shown in FIG. 7, the master flag syncM is active when the timing at which the slave flag syncS transitions to the active state is later than the timing at which the master flag syncM transitions to the active state. Even when the timing of transition to the state is later than the timing of transition of the slave flag syncS to the active state, the phase of the slave clock CLKS can be adjusted.

なお、マスタフラグ生成回路24、スレーブフラグ生成回路42,62、遅延回路44,64、保持回路46,66、スキュー算出回路48,68、位相判定回路70、切替回路72等の具体的な回路構成は何ら限定されない。   Specific circuit configurations of the master flag generation circuit 24, the slave flag generation circuits 42 and 62, the delay circuits 44 and 64, the holding circuits 46 and 66, the skew calculation circuits 48 and 68, the phase determination circuit 70, the switching circuit 72, and the like. Is not limited at all.

本発明は、基本的に以上のようなものである。
以上、本発明について詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよいのはもちろんである。
The present invention is basically as described above.
Although the present invention has been described in detail above, the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications may be made without departing from the gist of the present invention.

10、90 クロック位相調整回路
12、92 マスタチップ
14、94 スレーブチップ
16、20、30 分周回路
18、28 PLL回路
22、32 内部回路
24 マスタフラグ生成回路
34 スキュー検出回路
36 位相調整回路
38、78 ロックタイムマスクカウンタ
40、52、56a、56b、56c、56d、76a、76b、76c、76d、80、82 フリップフロップ(FF)
42、62 スレーブフラグ生成回路
44、64 遅延回路
46、66 保持回路
48、68 スキュー検出回路
50 OR回路
54a、54b、54c、54d、74a、74b、74c、74 遅延素子
58、60 外部接続端子
70 位相判定回路
72 切替回路
84 マルチプレクサ
10, 90 Clock phase adjustment circuit 12, 92 Master chip 14, 94 Slave chip 16, 20, 30 Frequency division circuit 18, 28 PLL circuit 22, 32 Internal circuit 24 Master flag generation circuit 34 Skew detection circuit 36 Phase adjustment circuit 38, 78 Lock time mask counter 40, 52, 56a, 56b, 56c, 56d, 76a, 76b, 76c, 76d, 80, 82 Flip-flop (FF)
42, 62 Slave flag generation circuit 44, 64 Delay circuit 46, 66 Holding circuit 48, 68 Skew detection circuit 50 OR circuit 54a, 54b, 54c, 54d, 74a, 74b, 74c, 74 Delay element 58, 60 External connection terminal 70 Phase determination circuit 72 Switching circuit 84 Multiplexer

Claims (10)

マスタチップと、1つ以上のスレーブチップとを搭載するマルチチップ構成の半導体装置で用いられるクロック位相調整回路であって、
前記マスタチップは、
低速クロックを逓倍して第1逓倍クロックを生成する第1PLL回路と、
前記第1逓倍クロックを分周してマスタクロックを生成する第1分周回路と、
リセットが解除された後、前記マスタクロックの位相を表すタイミングで、非アクティブ状態からアクティブ状態へ1回だけ変化するマスタフラグを生成するマスタフラグ生成回路とを備え、
1つ以上の前記スレーブチップの各々は、
前記マスタチップから供給された低速クロックを逓倍して第2逓倍クロックを生成する第2PLL回路と、
前記第2逓倍クロックを分周してスレーブクロックを生成する第2分周回路と、
前記マスタチップから供給されたマスタフラグ、および、前記リセットが解除された後、前記スレーブクロックの位相を表すタイミングで、非アクティブ状態からアクティブ状態へ1回だけ変化するスレーブフラグに基づいて、前記マスタクロックと前記スレーブクロックとの間のスキューを検出してスキュー設定値を出力するスキュー検出回路と、
前記スキュー設定値に応じて、前記マスタクロックと前記スレーブクロックとが、あらかじめ設定された位相関係となるように、前記スレーブクロックの位相を調整する位相調整回路とを備えることを特徴とするクロック位相調整回路。
A clock phase adjustment circuit used in a semiconductor device having a multi-chip configuration on which a master chip and one or more slave chips are mounted,
The master chip is
A first PLL circuit for generating a first multiplied clock by multiplying a low-speed clock;
A first frequency divider that divides the first multiplied clock to generate a master clock;
A master flag generation circuit that generates a master flag that changes only once from an inactive state to an active state at a timing that represents the phase of the master clock after the reset is released;
Each of the one or more slave chips is
A second PLL circuit for generating a second multiplied clock by multiplying the low-speed clock supplied from the master chip;
A second frequency dividing circuit for generating a slave clock by dividing the second multiplied clock;
Based on the master flag supplied from the master chip and the slave flag that changes only once from the inactive state to the active state at a timing indicating the phase of the slave clock after the reset is released, A skew detection circuit that detects a skew between a clock and the slave clock and outputs a skew setting value;
A clock phase, comprising: a phase adjustment circuit that adjusts the phase of the slave clock so that the master clock and the slave clock have a preset phase relationship according to the skew setting value. Adjustment circuit.
前記マスタフラグ生成回路は、
前記リセットが解除された後、前記第1PLL回路のロックタイムに相当する期間、前記マスタクロックをマスクする第1マスク回路と、
前記リセットにより非アクティブ状態の前記マスタフラグを出力し、前記リセットが解除され、前記第1マスク回路によりマスクされた後に出力された1サイクル目の前記マスタクロックに同期してアクティブ状態の前記マスタフラグを出力し、その後、アクティブ状態の前記マスタフラグを出力し続けるマスタフラグ出力回路とを備える請求項1に記載のクロック位相調整回路。
The master flag generation circuit
A first mask circuit that masks the master clock for a period corresponding to a lock time of the first PLL circuit after the reset is released;
The master flag in the inactive state is output by the reset, the master flag in the active state is synchronized with the master clock in the first cycle output after the reset is canceled and masked by the first mask circuit The clock phase adjustment circuit according to claim 1, further comprising: a master flag output circuit that continuously outputs the master flag in an active state.
前記スキュー検出回路は、
前記リセットにより非アクティブ状態の前記スレーブフラグを出力し、前記リセットが解除された後に、前記マスタフラグがアクティブ状態となった次のサイクルの前記スレーブクロックに同期してアクティブ状態の前記スレーブフラグを出力し、その後、アクティブ状態の前記スレーブフラグを出力し続けるスレーブフラグ生成回路と、
前記マスタフラグを各々異なる時間遅延し、2以上の遅延マスタフラグを出力する第1遅延回路と、
2以上の前記遅延マスタフラグの各々を、前記スレーブフラグがアクティブ状態へ遷移するタイミングに同期して保持し、2以上の保持マスタフラグを出力する第1保持回路と、
2以上の前記保持マスタフラグの状態に応じて、前記マスタクロックと前記スレーブクロックとの間のスキューを算出し、前記スキュー設定値を出力する第1スキュー算出回路とを備える請求項1または2に記載のクロック位相調整回路。
The skew detection circuit includes:
The slave flag in the inactive state is output by the reset, and the slave flag in the active state is output in synchronization with the slave clock of the next cycle in which the master flag becomes active after the reset is released. Then, a slave flag generation circuit that continues to output the slave flag in an active state,
A first delay circuit for delaying the master flags by different times and outputting two or more delayed master flags;
A first holding circuit that holds each of the two or more delayed master flags in synchronization with a timing at which the slave flag transitions to an active state, and outputs two or more held master flags;
3. A first skew calculation circuit that calculates a skew between the master clock and the slave clock and outputs the skew setting value according to the state of the two or more holding master flags. The clock phase adjustment circuit described.
前記第1遅延回路は、前記位相調整回路が調整するスレーブクロックの位相の範囲内の時間で、前記マスタフラグを各々異なる時間遅延し、2以上の前記遅延マスタフラグを出力するものである請求項3に記載のクロック位相調整回路。The first delay circuit delays the master flag by different times within a time range of a slave clock phase adjusted by the phase adjustment circuit, and outputs two or more delayed master flags. 4. The clock phase adjustment circuit according to 3. 前記スキュー検出回路は、
前記リセットにより非アクティブ状態の前記スレーブフラグを出力し、前記リセットが解除され、前記第2PLL回路のロックタイムに相当する期間、マスクされた後に出力された1サイクル目の前記スレーブクロックに同期してアクティブ状態の前記スレーブフラグを出力し、その後、アクティブ状態の前記スレーブフラグを出力し続けるスレーブフラグ生成回路と、
前記マスタフラグを各々異なる時間遅延し、2以上の遅延マスタフラグを出力する第1遅延回路と、
2以上の前記遅延マスタフラグの各々を、前記スレーブフラグがアクティブ状態へ遷移するタイミングに同期して保持し、2以上の保持マスタフラグを出力する第1保持回路と、
2以上の前記保持マスタフラグの状態に応じて、前記マスタクロックと前記スレーブクロックとの間のスキューを算出し、前記スキュー設定値を出力する第1スキュー算出回路と、
前記スレーブフラグを各々異なる時間遅延し、2以上の遅延スレーブフラグを出力する第2遅延回路と、
2以上の前記遅延スレーブフラグの各々を、前記マスタフラグがアクティブ状態へ遷移するタイミングに同期して保持し、2以上の保持スレーブフラグを出力する第2保持回路と、
2以上の前記保持スレーブフラグの状態に応じて、前記マスタクロックと前記スレーブクロックとの間のスキューを算出し、前記スキュー設定値を出力する第2スキュー算出回路と、
前記マスタフラグおよび前記スレーブフラグに基づいて、前記マスタクロックと前記スレーブクロックとの間の位相関係を判定し、位相判定信号を出力する位相判定回路と、
前記位相判定信号に基づいて、前記スレーブクロックが前記マスタクロックよりも遅いと判定された場合に、前記第1スキュー算出回路から出力されたスキュー設定値を出力し、前記マスタクロックが前記スレーブクロックよりも遅いと判定された場合に、前記第2スキュー算出回路から出力されたスキュー設定値を出力するように切り替える切替回路とを備える請求項1または2に記載のクロック位相調整回路。
The skew detection circuit includes:
The slave flag in an inactive state is output by the reset, the reset is canceled, and in synchronization with the slave clock of the first cycle output after being masked for a period corresponding to the lock time of the second PLL circuit. A slave flag generation circuit that outputs the slave flag in an active state and then continues to output the slave flag in an active state;
A first delay circuit for delaying the master flags by different times and outputting two or more delayed master flags;
A first holding circuit that holds each of the two or more delayed master flags in synchronization with a timing at which the slave flag transitions to an active state, and outputs two or more held master flags;
A first skew calculating circuit that calculates a skew between the master clock and the slave clock and outputs the skew setting value according to the state of the two or more holding master flags;
A second delay circuit that delays the slave flags for different times and outputs two or more delayed slave flags;
A second holding circuit that holds each of the two or more delayed slave flags in synchronization with a timing at which the master flag transitions to an active state, and outputs two or more held slave flags;
A second skew calculating circuit that calculates a skew between the master clock and the slave clock according to the state of the two or more holding slave flags, and outputs the skew setting value;
A phase determination circuit for determining a phase relationship between the master clock and the slave clock based on the master flag and the slave flag and outputting a phase determination signal;
When it is determined that the slave clock is slower than the master clock based on the phase determination signal, the skew setting value output from the first skew calculation circuit is output, and the master clock is output from the slave clock. 3. The clock phase adjustment circuit according to claim 1, further comprising: a switching circuit that switches to output the skew setting value output from the second skew calculation circuit when it is determined that the second skew calculation circuit is late.
前記スレーブフラグ生成回路は、
前記リセットが解除された後、前記第2PLL回路のロックタイムに相当する期間、前記スレーブクロックをマスクする第2マスク回路と、
前記リセットにより非アクティブ状態の前記スレーブフラグを出力し、前記リセットが解除され、前記第2マスク回路によりマスクされた後に出力された1サイクル目の前記スレーブクロックに同期してアクティブ状態の前記スレーブフラグを出力し、その後、アクティブ状態の前記スレーブフラグを出力し続けるスレーブフラグ出力回路とを備える請求項に記載のクロック位相調整回路。
The slave flag generation circuit
A second mask circuit that masks the slave clock for a period corresponding to a lock time of the second PLL circuit after the reset is released;
The slave flag in the inactive state is output by the reset, the slave flag in the active state is synchronized with the slave clock of the first cycle output after the reset is released and masked by the second mask circuit outputs, then, the clock phase adjustment circuit according to claim 5 and a slave flag output circuit continues to output the slave flag in the active state.
前記第1遅延回路は、前記位相調整回路が調整するスレーブクロックの位相の範囲内の時間で、前記マスタフラグを各々異なる時間遅延し、2以上の前記遅延マスタフラグを出力するものである請求項5または6に記載のクロック位相調整回路。 The first delay circuit delays the master flag by different times within a time range of a slave clock phase adjusted by the phase adjustment circuit, and outputs two or more delayed master flags. The clock phase adjusting circuit according to 5 or 6 . 前記第2遅延回路は、前記位相調整回路が調整するスレーブクロックの位相の範囲内の時間で、前記スレーブフラグを各々異なる時間遅延し、2以上の前記遅延スレーブフラグを出力するものである請求項5〜7のいずれか1項に記載のクロック位相調整回路。 The second delay circuit delays each of the slave flags by different times within a time range of a slave clock phase adjusted by the phase adjustment circuit, and outputs two or more delayed slave flags. The clock phase adjustment circuit according to any one of 5 to 7 . 前記位相調整回路は、前記スレーブチップの内部回路の内部に備えられたものであり、
前記スレーブクロック、および、前記スキュー設定値が、前記スレーブチップの内部回路に供給され、
前記スレーブチップの内部回路は、前記位相調整回路により、前記スキュー設定値に応じて位相が調整されたスレーブクロックに同期して動作するものである請求項3〜のいずれか1項に記載のクロック位相調整回路。
The phase adjustment circuit is provided in an internal circuit of the slave chip,
The slave clock and the skew setting value are supplied to an internal circuit of the slave chip,
An internal circuit of the slave chip, by the phase adjusting circuit, according to any one of the skew setting value claim 3 phase is to operate in synchronization with the adjusted slave clock according to the 8 Clock phase adjustment circuit.
前記位相調整回路は、前記スレーブチップの内部回路の外部に備えられたものであり、
前記スレーブクロック、および、前記スキュー設定値が、前記位相調整回路に供給され、
前記位相調整回路により、前記スキュー設定値に応じて位相が調整されたスレーブクロックが、前記スレーブチップの内部回路に供給される請求項3〜のいずれか1項に記載のクロック位相調整回路。
The phase adjustment circuit is provided outside the internal circuit of the slave chip,
The slave clock and the skew setting value are supplied to the phase adjustment circuit,
Wherein the phase adjusting circuit, the slave clock whose phase is adjusted in accordance with the skew setting value, a clock phase adjustment circuit according to any one of claims 3-8 to be supplied to the internal circuit of the slave chip.
JP2014153096A 2014-07-28 2014-07-28 Clock phase adjustment circuit Expired - Fee Related JP6401533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014153096A JP6401533B2 (en) 2014-07-28 2014-07-28 Clock phase adjustment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014153096A JP6401533B2 (en) 2014-07-28 2014-07-28 Clock phase adjustment circuit

Publications (2)

Publication Number Publication Date
JP2016032169A JP2016032169A (en) 2016-03-07
JP6401533B2 true JP6401533B2 (en) 2018-10-10

Family

ID=55442321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014153096A Expired - Fee Related JP6401533B2 (en) 2014-07-28 2014-07-28 Clock phase adjustment circuit

Country Status (1)

Country Link
JP (1) JP6401533B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6429019A (en) * 1987-07-23 1989-01-31 Nec Corp Mutual synchronizing signal generator
JP2008092359A (en) * 2006-10-03 2008-04-17 Matsushita Electric Ind Co Ltd Phase adjuster among a plurality of clocks
JP2011061573A (en) * 2009-09-11 2011-03-24 Renesas Electronics Corp Semiconductor device
JP6801959B2 (en) * 2012-12-13 2020-12-16 コーヒレント・ロジックス・インコーポレーテッド Automatic selection of on-chip clock in synchronous digital systems

Also Published As

Publication number Publication date
JP2016032169A (en) 2016-03-07

Similar Documents

Publication Publication Date Title
US20080094113A1 (en) Fraction-N Frequency Divider and Method Thereof
JP2007221750A (en) Dll with function for implementing locking operation periodically during power down mode and locking operation method of same
JP2012049754A (en) Clock generation circuit
US9417655B2 (en) Frequency division clock alignment
JP2008178017A (en) Clock synchronizing system and semiconductor integrated circuit
JP2006119123A (en) Phase difference detection device
JP2006238007A (en) Data generator
JP6990313B2 (en) Semiconductor integrated circuit
TW201703439A (en) Glitch-free digitally controlled oscillator code update
US9455710B2 (en) Clock enabling circuit
JP6401533B2 (en) Clock phase adjustment circuit
JP2004056717A (en) Semiconductor device, system board and multi-phase clock generating circuit
JP2013046268A (en) Clock frequency division device
JP2007537675A (en) Clock generator and method thereof
JP2005236549A (en) Clock signal switching circuit
JP3508762B2 (en) Frequency divider
JP2010283816A (en) Circuit for aligning clock to parallel data
JP2006163531A (en) Semiconductor integrated circuit
JP6158012B2 (en) Clock phase shift circuit
JP2015015540A (en) Emi-preventive circuit
JP2013115529A (en) Clock frequency dividing apparatus
JP2018074312A (en) Frequency detector and clock data recovery device
JP2011061573A (en) Semiconductor device
JP2004258888A (en) Semiconductor integrated circuit
JP4741632B2 (en) Semiconductor integrated circuit device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180801

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180821

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180907

R150 Certificate of patent or registration of utility model

Ref document number: 6401533

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees