JP2010041208A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit Download PDF

Info

Publication number
JP2010041208A
JP2010041208A JP2008199772A JP2008199772A JP2010041208A JP 2010041208 A JP2010041208 A JP 2010041208A JP 2008199772 A JP2008199772 A JP 2008199772A JP 2008199772 A JP2008199772 A JP 2008199772A JP 2010041208 A JP2010041208 A JP 2010041208A
Authority
JP
Japan
Prior art keywords
signal
control value
phase
circuit
value
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.)
Withdrawn
Application number
JP2008199772A
Other languages
Japanese (ja)
Inventor
Takahiro Yamada
高広 山田
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.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
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 Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP2008199772A priority Critical patent/JP2010041208A/en
Publication of JP2010041208A publication Critical patent/JP2010041208A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor integrated circuit which correctly tests a capability which absorbs a difference of a phase of an input signal and a phase of an internal clock signal in a predetermined range. <P>SOLUTION: The semiconductor integrated circuit includes a signal creation circuit which creates a signal with a phase controlled by the phase of the input signal, and a control value creation block which creates a control value, and tests the signal creation circuit by compulsorily shifting a phase of a signal created by the signal creation circuit according to the control value created by the control value creation block. While operating in synchronization with the internal clock signal, the control value creation block receives a target value synchronizing with an external clock signal from outside, which has a lower frequency than the internal clock signal, and creates the control value which changes in synchronization with the internal clock signal based on the received target value. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、入力された信号の位相によって制御された位相を有する(位相同期された)内部クロック信号(復元クロック)を生成する信号生成回路を有する半導体集積回路のループバック試験に関するものである。   The present invention relates to a loopback test of a semiconductor integrated circuit having a signal generation circuit that generates an internal clock signal (recovered clock) having a phase controlled by the phase of an input signal (phase-synchronized).

入力されたデータ信号やクロック信号の位相によって制御された位相を有する内部クロック信号を生成するために、CDR(クロック・データ・リカバリ)回路やPLL(位相同期ループ)回路が利用されている。CDR回路やPLL回路として、特許文献1に記されたような電圧制御発振器(VCO)を利用するものや、特許文献2に記されたような数値制御発振器(NCO)を利用するものがある。   In order to generate an internal clock signal having a phase controlled by the phase of an input data signal or clock signal, a CDR (clock data recovery) circuit or a PLL (phase locked loop) circuit is used. Some CDR circuits and PLL circuits use a voltage controlled oscillator (VCO) as described in Patent Document 1 and others use a numerically controlled oscillator (NCO) as described in Patent Document 2.

例えば、高速なシリアル転送では、送信側(送信機)から出力データにクロックを重畳して所定の送信周波数で送信し、これを受信側(受信機)で入力データとして受信し、受信した入力データからクロックを抽出する方式が用いられることが多い。受信側で受信した入力データからクロックを抽出し、抽出した復元クロックで入力データをリタイミングして取得する回路がCDR回路である。   For example, in high-speed serial transfer, a clock is superimposed on output data from the transmission side (transmitter) and transmitted at a predetermined transmission frequency, which is received as input data at the reception side (receiver). In many cases, a clock extraction method is used. A CDR circuit is a circuit that extracts a clock from input data received on the receiving side, and acquires the input data by retiming with the extracted recovered clock.

ところで、各種構成のCDR回路およびPLL回路のいずれの場合にも、入力データ(データ信号、クロック信号)の位相と復元クロックの位相との差を所定の範囲内で吸収する能力を試験する必要がある。例えば、CDR回路では、送信側の出力データの送信周波数と受信側の受信クロック(復元クロック)の周波数の差を所定範囲内で吸収する能力を試験する必要がある。   By the way, it is necessary to test the ability to absorb the difference between the phase of the input data (data signal, clock signal) and the phase of the recovered clock within a predetermined range in both cases of the CDR circuit and the PLL circuit of various configurations. is there. For example, in a CDR circuit, it is necessary to test the ability to absorb the difference between the transmission frequency of output data on the transmission side and the frequency of the reception clock (recovery clock) on the reception side within a predetermined range.

これに対し、特許文献3のように、復元クロックの位相を強制的にずらし、その結果をループバック試験により判定することによって、前述の能力の有無を試験することが提案されている。   On the other hand, as disclosed in Patent Document 3, it has been proposed to test the presence or absence of the above-mentioned capability by forcibly shifting the phase of the recovered clock and determining the result by a loopback test.

図5は、従来のCDR回路の構成を表す一例のブロック図である。同図に示すCDR回路40は、特許文献3の図1に開示のCDR回路の概略構成を表すものである。このCDR回路40は、位相比較器18と、デジタルフィルタ20と、制御回路22と、位相分割器24と、リタイミング回路26と、信号出力回路42と、3つのカウンタ44,46,48と、信号処理回路50とによって構成されている。   FIG. 5 is a block diagram showing an example of the configuration of a conventional CDR circuit. A CDR circuit 40 shown in the figure represents a schematic configuration of the CDR circuit disclosed in FIG. The CDR circuit 40 includes a phase comparator 18, a digital filter 20, a control circuit 22, a phase divider 24, a retiming circuit 26, a signal output circuit 42, three counters 44, 46, 48, And a signal processing circuit 50.

ここで、位相比較器18は、入力データと復元クロックの位相を比較し、復元クロックの位相が入力データの位相に対して進んでいるか、遅れているかを検出する。位相比較器18からは、比較結果に応じて、アップ信号ないしはダウン信号が出力される。すなわち、復元クロックの位相が入力データの位相よりも遅れている場合にはアップ信号が出力され、進んでいる場合にはダウン信号が出力される。   Here, the phase comparator 18 compares the phase of the input data and the recovered clock, and detects whether the phase of the recovered clock is advanced or delayed with respect to the phase of the input data. From the phase comparator 18, an up signal or a down signal is output according to the comparison result. That is, an up signal is output when the phase of the recovered clock is delayed from the phase of the input data, and a down signal is output when the phase is advanced.

デジタルフィルタ20は、アップ信号またはダウン信号を平均化し、復元クロックの位相位置を最適化する回路である。デジタルフィルタ20から出力されるアップ信号またはダウン信号の平均化信号は制御回路22に入力される。   The digital filter 20 is a circuit that averages up signals or down signals and optimizes the phase position of the recovered clock. The average signal of the up signal or the down signal output from the digital filter 20 is input to the control circuit 22.

制御回路22は、アップ信号またはダウン信号の平均化信号、あるいは、後述するパルス信号に基づいて、位相分割器24において位相の異なる複数のクロック信号を混合する比率を決定する(復元クロックの位相と周波数を変える)ための制御信号を生成する。   The control circuit 22 determines a ratio of mixing a plurality of clock signals having different phases in the phase divider 24 based on an average signal of the up signal or the down signal or a pulse signal described later (the phase of the recovered clock). Control signal for changing the frequency).

位相分割器24は、PLL回路(図示省略)から供給される、位相が異なる複数のクロック信号を、制御信号に基づく所定の比率で混合して、所定の位相と周波数の復元クロックを生成する(復元クロックの位相と周波数を変更する)。   The phase divider 24 mixes a plurality of clock signals having different phases supplied from a PLL circuit (not shown) at a predetermined ratio based on the control signal to generate a restored clock having a predetermined phase and frequency ( Change the phase and frequency of the recovered clock).

リタイミング回路26は、復元クロックに同期して、入力データをリタイミング(サンプリング)して取得する回路である。リタイミング回路26からは、リタイミングデータが出力される。   The retiming circuit 26 is a circuit that acquires input data by retiming (sampling) in synchronization with the restoration clock. Retiming data is output from the retiming circuit 26.

信号出力回路42は、ループバック試験において、送信側から送信周波数で入力される入力データと、受信側での入力データの受信クロックである復元クロックとの間に強制的に所定の位相差を生じさせるためのパルス信号を出力する回路である。   In the loopback test, the signal output circuit 42 forcibly generates a predetermined phase difference between the input data input at the transmission frequency from the transmission side and the recovered clock that is the reception clock of the input data on the reception side. It is a circuit that outputs a pulse signal for causing

信号出力回路42からパルス信号が出力されると、制御回路22から制御信号が出力される。これにより、位相分割器24において、制御信号に応じて復元クロックの位相がずらされ、入力データと復元クロックとの間に位相差が生じる。その結果、位相比較器18から位相差を打ち消すためのアップ信号またはダウン信号が出力される。   When a pulse signal is output from the signal output circuit 42, a control signal is output from the control circuit 22. Thereby, in the phase divider 24, the phase of the recovered clock is shifted according to the control signal, and a phase difference is generated between the input data and the recovered clock. As a result, an up signal or a down signal for canceling the phase difference is output from the phase comparator 18.

3つのカウンタ44,46,48は、それぞれ、信号出力回路42から出力されるパルス信号、デジタルフィルタ20から出力されるアップ信号およびダウン信号について、一定期間内のパルス数をカウントする。   The three counters 44, 46, and 48 count the number of pulses within a predetermined period for the pulse signal output from the signal output circuit 42, the up signal and the down signal output from the digital filter 20, respectively.

信号処理回路50は、カウンタ48から入力されるパルス信号のカウント値と、カウンタ44,46から入力されるアップ信号またはダウン信号のカウント値とが、所定範囲内で一致するか否かを検出する。両者のカウント値が所定範囲内で一致した場合は、送信周波数と復元クロックの周波数の差を所定範囲内で吸収する能力があると判定し、一致しない場合はその能力がないと判定する。   The signal processing circuit 50 detects whether or not the count value of the pulse signal input from the counter 48 and the count value of the up signal or down signal input from the counters 44 and 46 match within a predetermined range. . If the two count values match within a predetermined range, it is determined that there is an ability to absorb the difference between the transmission frequency and the frequency of the recovered clock within the predetermined range.

特開2004−222115号公報JP 2004-222115 A 特開平7−326964号公報JP-A-7-326964 特開2005−257376号公報JP 2005-257376 A

特許文献3では、信号出力回路42から出力されるパルス信号の位相および周波数が単調な信号に固定(位相および周波数が固定)されている。従って、図6のタイミングチャートに示すように、単調な位相のずれしか作ることができず、複雑な周波数の変化や位相の変化を作り出すことができない。そのため、送信周波数と復元クロックの周波数の差を所定範囲内で吸収する能力を正確に試験することが難しいという問題があった。   In Patent Document 3, the phase and frequency of the pulse signal output from the signal output circuit 42 are fixed to a monotone signal (the phase and frequency are fixed). Therefore, as shown in the timing chart of FIG. 6, only a monotonous phase shift can be created, and a complicated frequency change or phase change cannot be created. Therefore, there is a problem that it is difficult to accurately test the ability to absorb the difference between the transmission frequency and the frequency of the recovered clock within a predetermined range.

制御回路22に対して、信号出力回路24からではなく、LSIテスタから制御信号を入力すれば、さまざまな周波数の変化や位相の変化を作り出して、周波数や位相の差を吸収する能力を正確に試験することや、そのようなさまざまな変化を連続して作り出して、短時間で試験を行うことが可能であると考えられる。しかしながら、LSIテスタは、通常、100MHz程度の低速な信号しか扱えない。そのため、図7の概念図に示すように、100MHzの周波数で動作する低速なLSIテスタ52では、高い周波数(例えば、2GHz)で動作する高速なCDR回路40やPLL回路を高速、かつ、連続的に制御することは難しいという問題があった。一方、高速な信号を扱えるLSIテスタは非常に高価であり、テストコストが増大するという問題があった。   If a control signal is input from the LSI tester to the control circuit 22 instead of the signal output circuit 24, various frequency changes and phase changes can be created to accurately absorb the frequency and phase difference. It is thought that it is possible to test in a short time by testing and creating such various changes continuously. However, LSI testers can usually handle only low-speed signals of about 100 MHz. Therefore, as shown in the conceptual diagram of FIG. 7, in the low-speed LSI tester 52 operating at a frequency of 100 MHz, the high-speed CDR circuit 40 and the PLL circuit operating at a high frequency (for example, 2 GHz) are continuously operated at high speed. There was a problem that it was difficult to control. On the other hand, an LSI tester that can handle high-speed signals is very expensive, and there is a problem that the test cost increases.

本発明の目的は、前記従来技術の問題点を解消し、入力された信号の位相と内部クロック信号の位相との差を所定の範囲内で吸収する能力を正確に試験することができる半導体集積回路を提供することにある。   An object of the present invention is to provide a semiconductor integrated circuit that can solve the problems of the prior art and accurately test the ability to absorb the difference between the phase of the input signal and the phase of the internal clock signal within a predetermined range. It is to provide a circuit.

上記目的を達成するために、本発明は、入力された信号の位相によって制御された位相を有する信号を生成する信号生成回路と、制御値を生成する制御値生成ブロックとを備え、前記制御値生成ブロックが生成した制御値に応じて前記信号生成回路が生成する信号の位相を強制的にずらすことによって該信号生成回路を試験する半導体集積回路において、
前記制御値生成ブロックは、内部クロック信号に同期して動作するとともに、外部から、該内部クロック信号よりも低い周波数を有する外部クロック信号に同期して目標値を受信し、該受信した目標値に基づいて、前記内部クロック信号に同期して変化する前記制御値を生成することを特徴とする半導体集積回路を提供するものである。
To achieve the above object, the present invention comprises a signal generation circuit that generates a signal having a phase controlled by the phase of an input signal, and a control value generation block that generates a control value, the control value In a semiconductor integrated circuit that tests a signal generation circuit by forcibly shifting the phase of a signal generated by the signal generation circuit according to a control value generated by a generation block,
The control value generation block operates in synchronization with an internal clock signal, receives a target value from the outside in synchronization with an external clock signal having a frequency lower than that of the internal clock signal, and generates the received target value. The semiconductor integrated circuit is characterized in that the control value that changes in synchronization with the internal clock signal is generated.

ここで、前記制御値生成ブロックが、互いに異なるタイミングで受信した第1および第2の目標値に基づいた補間演算を行って前記制御値を生成する、補間回路を備えることが好ましい。   Here, it is preferable that the control value generation block includes an interpolation circuit that performs the interpolation calculation based on the first and second target values received at different timings to generate the control value.

また、前記制御値生成ブロックが、前記制御値の現在の値を保持する現在制御値レジスタと、前記外部から受信した目標値を保持する目標値レジスタとを備えるとともに、前記現在制御値レジスタに保持された値および前記目標値レジスタに保持された値に基づいた補間演算を行って前記制御値を生成する補間回路を備えることが好ましい。   The control value generation block includes a current control value register that holds a current value of the control value and a target value register that holds a target value received from the outside, and is held in the current control value register It is preferable to include an interpolation circuit that generates the control value by performing an interpolation operation based on the obtained value and the value held in the target value register.

また、前記信号生成回路が、前記入力された信号の位相と前記生成された信号の位相とを比較する位相比較器を備えるクロック・データ・リカバリ回路であることが好ましい。   Moreover, it is preferable that the signal generation circuit is a clock data recovery circuit including a phase comparator that compares the phase of the input signal with the phase of the generated signal.

本発明によれば、入力された信号の位相と内部クロック信号の位相とのさまざまな差を作り出して、その差を吸収する能力を従来よりも柔軟で正確に試験することが可能になる。また、その試験のために、高速なLSIテスタを必要とせず、低コストで試験することができる。   According to the present invention, it is possible to create various differences between the phase of the input signal and the phase of the internal clock signal, and to test the ability to absorb the difference more flexibly and accurately than before. In addition, a high-speed LSI tester is not required for the test, and the test can be performed at a low cost.

以下に、添付の図面に示す好適実施形態に基づいて、本発明の半導体集積回路を詳細に説明する。   Hereinafter, a semiconductor integrated circuit of the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.

図1は、本発明の半導体集積回路の構成を表す一実施形態のブロック図である。同図に示す半導体集積回路10は、CDR回路12と、制御値生成ブロック14と、テスト回路16とによって構成されている。半導体集積回路10では、制御値生成ブロック14が生成する制御値に応じて、CDR回路12が生成する信号の位相を強制的にずらすことによって、テスト回路16がCDR回路12の試験を行う。   FIG. 1 is a block diagram of an embodiment showing a configuration of a semiconductor integrated circuit according to the present invention. A semiconductor integrated circuit 10 shown in FIG. 1 includes a CDR circuit 12, a control value generation block 14, and a test circuit 16. In the semiconductor integrated circuit 10, the test circuit 16 tests the CDR circuit 12 by forcibly shifting the phase of the signal generated by the CDR circuit 12 according to the control value generated by the control value generation block 14.

CDR回路12は、入力された信号の位相によって制御された位相を有する信号を生成する本発明の信号生成回路の一例である。CDR回路12は、位相比較器18と、デジタルフィルタ20と、制御回路22と、位相分割器24と、リタイミング回路26とによって構成されている。CDR回路12については既に説明した通りであるから、繰り返しの説明は省略する。   The CDR circuit 12 is an example of a signal generation circuit of the present invention that generates a signal having a phase controlled by the phase of an input signal. The CDR circuit 12 includes a phase comparator 18, a digital filter 20, a control circuit 22, a phase divider 24, and a retiming circuit 26. Since the CDR circuit 12 has already been described, repeated description is omitted.

続いて、制御値生成ブロック14は、目標値レジスタ28と、補間回路30と、現在制御値レジスタ32と、信号出力回路34とによって構成されている。制御値生成ブロック14は、復元クロックに同期して動作するとともに、LSIテスタ(外部)から、復元クロックよりも低い周波数を有する外部クロック信号に同期して目標値を受信し、受信した目標値に基づいて、復元クロックに同期して変化する制御値を生成する。   Subsequently, the control value generation block 14 includes a target value register 28, an interpolation circuit 30, a current control value register 32, and a signal output circuit 34. The control value generation block 14 operates in synchronization with the recovered clock, receives a target value from the LSI tester (external) in synchronization with an external clock signal having a frequency lower than that of the recovered clock, and sets the received target value. Based on this, a control value that changes in synchronization with the recovered clock is generated.

目標値レジスタ28は、入力データの位相と復元クロックの位相との差(位相差)を制御する制御値の目標値を保持する記憶回路である。目標値レジスタ28には、LSIテスタから入力される低速クロック信号に同期して、同じくLSIテスタから入力される目標値が保持される。目標値レジスタ28から出力される目標値は、補間回路30に入力される。   The target value register 28 is a storage circuit that holds a target value of a control value that controls the difference (phase difference) between the phase of the input data and the phase of the recovered clock. The target value register 28 holds a target value similarly input from the LSI tester in synchronization with the low-speed clock signal input from the LSI tester. The target value output from the target value register 28 is input to the interpolation circuit 30.

ここで、目標値は、所定の目標値設定間隔(本実施形態の場合、図2(A)のグラフに示すように、LSIテスタの低速クロック信号の周期T)毎に、LSIテスタから入力され、目標値レジスタ28に保持される。   Here, the target value is input from the LSI tester at every predetermined target value setting interval (in this embodiment, as shown in the graph of FIG. 2A, the period T of the low-speed clock signal of the LSI tester). Is held in the target value register 28.

現在制御値レジスタ32は、位相差を制御する制御値の現在の値(現在制御値)を保持する記憶回路である。現在制御値レジスタ32には、復元クロック信号に同期して、LSIテスタから入力される制御値の初期値が保持され、その後は、補間回路30から入力される制御値が保持される。現在制御値レジスタ32から出力される現在制御値は信号出力回路34に入力される。   The current control value register 32 is a storage circuit that holds the current value of the control value that controls the phase difference (current control value). The current control value register 32 holds the initial value of the control value input from the LSI tester in synchronization with the recovered clock signal, and thereafter holds the control value input from the interpolation circuit 30. The current control value output from the current control value register 32 is input to the signal output circuit 34.

補間回路30は、現在制御値と目標値との間の補間演算を行って制御値を生成するものである。補間回路30では、LSIテスタから低速クロック信号に同期して目標値レジスタ28に保持された目標値を、復元クロックに同期して読み込む。例えば、目標値レジスタ28への目標値の保持を検出し、その次の復元クロックのエッジで読み込むように制御することも可能である。その後は、復元クロック信号に同期して、現在制御値と目標値との間で所定の分割数Mで補間演算を行って制御値を出力する。補間回路30から出力される制御値は現在制御値レジスタ32に入力される。   The interpolation circuit 30 generates a control value by performing an interpolation calculation between the current control value and the target value. The interpolation circuit 30 reads the target value held in the target value register 28 from the LSI tester in synchronization with the low-speed clock signal in synchronization with the restoration clock. For example, it is possible to detect the retention of the target value in the target value register 28 and control the reading so as to be read at the next restored clock edge. Thereafter, in synchronization with the restored clock signal, an interpolation operation is performed between the current control value and the target value with a predetermined division number M, and the control value is output. The control value output from the interpolation circuit 30 is input to the current control value register 32.

ここで、使用するLSIテスタの速度と、復元クロックの周期とに応じて、適切な分割数Mとなるように、低速クロック信号の周期Tを適宜設定する。本実施形態の場合、図2(A)のグラフに示すように、分割数Mは、LSIテスタの低速クロック信号の周期T当たり‘4’に設定されている。   Here, according to the speed of the LSI tester to be used and the period of the restoration clock, the period T of the low-speed clock signal is appropriately set so as to be an appropriate division number M. In the present embodiment, as shown in the graph of FIG. 2A, the division number M is set to '4' per period T of the low-speed clock signal of the LSI tester.

信号出力回路34は、制御値に応じて、入力データと復元クロックとの間に強制的に位相差を生じさせるパルス信号を出力するものである。信号出力回路34は、LSIテスタから入力されるアップ・ダウン切替信号に応じて、アップ信号またはダウン信号に対応するパルス信号を出力する。信号出力回路34から出力されるパルス信号は、制御回路22に入力される。   The signal output circuit 34 outputs a pulse signal that forcibly causes a phase difference between the input data and the restored clock according to the control value. The signal output circuit 34 outputs a pulse signal corresponding to the up signal or the down signal in accordance with the up / down switching signal input from the LSI tester. The pulse signal output from the signal output circuit 34 is input to the control circuit 22.

ここで、パルス信号は、本実施形態の場合、ハイレベルの幅が一定で、周期(すなわち、ハイレベルの幅とローレベルの幅との和)が現在制御値レジスタ32から入力される制御値に応じて変化する信号である。   Here, in the case of the present embodiment, the pulse signal has a constant high level width, and a cycle (that is, the sum of the high level width and the low level width) is a control value input from the current control value register 32. It is a signal that changes in response to.

続いて、テスト回路16は、2つのカウンタ36,38によって構成されている。   Subsequently, the test circuit 16 includes two counters 36 and 38.

カウンタ36,38は、それぞれ、デジタルフィルタ20から出力されるアップ信号およびダウン信号の平均化信号のパルス数をカウントするものである。カウンタ36,38からは、そのカウント値の上位数ビットが、適切な精度を得るために必要なビット幅だけ出力される。カウンタ36,38から出力されるカウント値の上位ビットはLSIテスタへ入力される。   The counters 36 and 38 respectively count the number of pulses of the average signal of the up signal and the down signal output from the digital filter 20. From the counters 36 and 38, the upper few bits of the count value are output in a bit width necessary for obtaining appropriate accuracy. The upper bits of the count value output from the counters 36 and 38 are input to the LSI tester.

LSIテスタでは、カウンタ36,38から入力されるカウント値とその期待値とを比較することによって、CDR回路10における送信周波数と復元クロックの周波数の差を所定範囲内で吸収する能力の有無の試験が行われる。   The LSI tester compares the count value input from the counters 36 and 38 with its expected value to test whether or not the CDR circuit 10 has the ability to absorb the difference between the transmission frequency and the frequency of the recovered clock within a predetermined range. Is done.

ここで、LSIテスタでは、CDR回路10における送信周波数と復元クロックの周波数の差を所定範囲内で吸収する能力の有無の試験が行われる。そのため、試験時には、所定範囲内に相当する、カウント値の下位数ビットは無視される。このように、カウント値の下位数ビットを無視し、適切な精度を得るために必要な上位数ビットだけを用いることにより、低コストで高速に試験することができる。   Here, the LSI tester tests whether or not the CDR circuit 10 has the ability to absorb the difference between the transmission frequency and the frequency of the recovered clock within a predetermined range. Therefore, at the time of the test, the lower-order bits of the count value corresponding to the predetermined range are ignored. In this way, by ignoring the low-order few bits of the count value and using only the high-order few bits necessary for obtaining appropriate accuracy, it is possible to test at low cost and at high speed.

次に、CDR回路10のループバック試験の時の動作を説明する。   Next, the operation of the CDR circuit 10 during the loopback test will be described.

図2(A)のグラフに示すように、LSIテスタから入力される低速クロック信号に同期して、目標値レジスタ28に目標値mが設定される。補間回路30は、設定された目標値mと、この時の現在制御値レジスタ32に保持されている現在制御値nと、分割数Mに基づいて補間演算を行う。例えば、制御値の変化幅(m−n)/Mを算出し、次の制御値n+(m−n)/Mを計算する。前述の通り、本実施形態の場合、分割数Mは、‘4’とする。   As shown in the graph of FIG. 2A, the target value m is set in the target value register 28 in synchronization with the low-speed clock signal input from the LSI tester. The interpolation circuit 30 performs an interpolation operation based on the set target value m, the current control value n held in the current control value register 32 at this time, and the division number M. For example, the control value change width (mn) / M is calculated, and the next control value n + (mn) / M is calculated. As described above, in the present embodiment, the division number M is “4”.

この、次の制御値n+(m−n)/Mは、補間回路30内に保存されるとともに、復元クロックに同期して現在制御値レジスタ32に保持され、現在制御値として出力される。さらに、低速クロック信号の周期をTとすると、T/Mの期間毎に、現在制御値に変化幅(m−n)/Mの値が加算され、そして、次の制御値が算出される。同様に、復元クロックに同期して、この新たな制御値で現在制御値レジスタ32の値が更新され、現在制御値として出力される。   The next control value n + (mn) / M is stored in the interpolation circuit 30, and is held in the current control value register 32 in synchronization with the restoration clock, and is output as the current control value. Further, assuming that the period of the low-speed clock signal is T, the value of change width (mn) / M is added to the current control value every T / M period, and the next control value is calculated. Similarly, in synchronization with the recovered clock, the value of the current control value register 32 is updated with this new control value and output as the current control value.

これにより、現在制御値は、LSIテスタから入力される低速クロック信号の1周期内において、図2(A)のグラフに示すように、n+(m−n)×k/M(k=0,1,2,…,M)と変化する。つまり、現在制御値が経時とともに連続的に変化し、信号出力回路34のパルス信号の周期が経時とともに変化する。そのため、半導体集積回路10では、パルス信号として、複雑な周波数の変化や位相の変化を作り出すことができる。   Thus, the current control value is n + (mn) × k / M (k = 0, as shown in the graph of FIG. 2A) within one cycle of the low-speed clock signal input from the LSI tester. 1, 2, ..., M). That is, the current control value changes continuously with time, and the cycle of the pulse signal of the signal output circuit 34 changes with time. Therefore, the semiconductor integrated circuit 10 can create a complicated frequency change or phase change as a pulse signal.

現在制御値が図2(A)のグラフに示すように変化すると、パルス信号の周期は、同図(B)のグラフに示すように変化する。すなわち、アップ・ダウン切替信号がハイレベルの期間は、アップ信号に相当するパルス信号が出力され、アップ・ダウン切替信号がローレベルの期間は、ダウン信号に相当するパルス信号が出力される。パルス信号の周期は、経時とともに連続的に変化(アップまたはダウン)する。   When the current control value changes as shown in the graph of FIG. 2A, the period of the pulse signal changes as shown in the graph of FIG. That is, a pulse signal corresponding to the up signal is output when the up / down switching signal is at a high level, and a pulse signal corresponding to the down signal is output when the up / down switching signal is at a low level. The period of the pulse signal continuously changes (up or down) with time.

また、パルス信号が図2(B)のグラフに示すように変化すると、入力データと復元クロックとの位相差は、同図(C)のグラフに示すように、経時とともに2次曲線のように変化する。   Further, when the pulse signal changes as shown in the graph of FIG. 2B, the phase difference between the input data and the recovered clock becomes as a quadratic curve with time as shown in the graph of FIG. Change.

続いて、図3は、アップ信号に相当するパルス信号とダウン信号に相当するパルス信号の波形を表すタイミングチャートである。このタイミングチャートに示した範囲では、アップ信号に相当するパルス信号は、経時とともに次第に周波数が低く(周期が長く)なるように変化する。その後、アップ・ダウン切替信号による切替の後、ダウン信号に相当するパルス信号は、経時とともに次第に周波数が高く(周期が短く)なるように変化する。   Next, FIG. 3 is a timing chart showing waveforms of a pulse signal corresponding to the up signal and a pulse signal corresponding to the down signal. In the range shown in this timing chart, the pulse signal corresponding to the up signal changes so that the frequency gradually becomes lower (the cycle becomes longer) with time. After that, after switching by the up / down switching signal, the pulse signal corresponding to the down signal changes so that the frequency gradually becomes higher (cycle becomes shorter) with time.

上記のように、CDR回路10では、複雑な周波数の変化や位相の変化を作り出すことができる。そのため、入力データの位相と復元クロックの位相との差を所定の範囲内で吸収する能力を、従来よりも柔軟で正確に試験することが可能になる。   As described above, the CDR circuit 10 can create a complicated frequency change and phase change. Therefore, the ability to absorb the difference between the phase of the input data and the phase of the recovered clock within a predetermined range can be tested more flexibly and accurately than in the past.

例えば、100MHzの周波数で動作する低速なLSIテスタを用いて試験を行う場合であっても、分割数Mを‘4’とすれば、実質的に400MHzの周波数で試験を行った場合と同様の結果を得ることができる。すなわち、低速なLSIテスタであっても、入力データの位相と復元クロックの位相との差を所定の範囲内で吸収する能力を、低コストで高速に試験することができる。   For example, even when the test is performed using a low-speed LSI tester operating at a frequency of 100 MHz, if the division number M is set to “4”, the test is substantially the same as the case where the test is performed at a frequency of 400 MHz. The result can be obtained. That is, even a low-speed LSI tester can test the ability to absorb the difference between the phase of the input data and the phase of the recovered clock within a predetermined range at low cost and at high speed.

なお、CDR回路の一例を挙げて説明したが、本発明は、どのような構成のCDR回路にも適用可能である。また、本発明は、CDR回路だけでなく、PLL回路などのようにフィードバック経路を有しており、入力された信号の位相によって制御された位相を有する(位相同期された)内部クロック信号(復元クロック)を生成する信号生成回路に適用可能である。   Although an example of the CDR circuit has been described, the present invention can be applied to a CDR circuit having any configuration. Further, the present invention has a feedback path such as a PLL circuit as well as a CDR circuit, and has an internal clock signal (restored) having a phase controlled by the phase of the input signal (phase-synchronized). (Clock) is applicable to a signal generation circuit.

アップ・ダウン切替信号を入力することは必須ではない。例えば、図4のグラフは、図2(A)のグラフに相当するものであり、アップ・ダウン切替信号を用いることなく、目標値レジスタ28に、符号付きの目標値(正負の値)を設定する場合の例である。目標値がプラス(+)の時は、アップ信号に相当するパルス信号であることを表し、マイナス(−)の時は、ダウン信号に相当するパルス信号であることを表す。   It is not essential to input an up / down switching signal. For example, the graph of FIG. 4 corresponds to the graph of FIG. 2A, and a signed target value (positive or negative value) is set in the target value register 28 without using an up / down switching signal. This is an example of the case. When the target value is plus (+), it represents a pulse signal corresponding to an up signal, and when it is minus (−), it represents a pulse signal corresponding to a down signal.

現在制御値レジスタ32に現在制御値の初期値を設定する(現在制御値レジスタ32を初期化する)ことも必須ではない。例えば、最初に入力して目標値レジスタに保持した目標値(第1の目標値)を、次の目標値(第2の目標値)を入力した時点で現在制御値レジスタに保持してから、制御値生成を開始することも可能である。さらに、現在制御値レジスタ32を用いることも必須ではなく、前回の目標値を保持する前回目標値レジスタを備えていれば、前回の目標値と目標値レジスタ28に設定される今回の目標値との間を補間して制御値を生成することも可能である。実施形態では、補間回路30として、線形補間演算によって線形的に変化する現在制御値を生成する回路を用いた。しかし、線形補間演算以外の、さまざまな補間演算を行う補間回路を用いることも可能である。   It is not essential to set an initial value of the current control value in the current control value register 32 (initialize the current control value register 32). For example, the target value (first target value) that is first input and stored in the target value register is stored in the current control value register when the next target value (second target value) is input, It is also possible to start control value generation. Further, it is not essential to use the current control value register 32. If the previous target value register for holding the previous target value is provided, the previous target value and the current target value set in the target value register 28 It is also possible to generate a control value by interpolating between the two. In the embodiment, the interpolation circuit 30 is a circuit that generates a current control value that changes linearly by linear interpolation calculation. However, it is also possible to use an interpolation circuit that performs various interpolation operations other than the linear interpolation operation.

本発明は、基本的に以上のようなものである。
以上、本発明について詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよいのはもちろんである。
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.

本発明の半導体集積回路の構成を表す一実施形態のブロック図である。It is a block diagram of one embodiment showing composition of a semiconductor integrated circuit of the present invention. (A)、(B)および(C)は、それぞれ、目標値/現在制御値、パルス信号周期(絶対値)および復元クロックの位相差と時刻との関係を表すグラフである。(A), (B), and (C) are graphs showing the relationship between the target value / current control value, the pulse signal period (absolute value), the phase difference of the recovered clock, and the time, respectively. アップ信号およびダウン信号の平均化信号の波形を表すタイミングチャートである。It is a timing chart showing the waveform of the average signal of an up signal and a down signal. 目標値/現在制御値と時刻との関係を表す別のグラフである。It is another graph showing the relationship between target value / current control value and time. 従来のCDR回路の構成を表す一例のブロック図である。It is an example block diagram showing the structure of the conventional CDR circuit. 図5に示すCDR回路における、パルス信号、入力データおよび復元クロックの波形を表すタイミングチャートである。6 is a timing chart showing waveforms of a pulse signal, input data, and a recovered clock in the CDR circuit shown in FIG. 5. LSIテストとCDR回路の接続状態を表す概念図である。It is a conceptual diagram showing the connection state of a LSI test and a CDR circuit.

符号の説明Explanation of symbols

10、40 半導体集積回路
12 CDR回路
14 制御値生成ブロック
16 テスト回路
18 位相比較器
20 デジタルフィルタ
22 制御回路
24 位相分割器
26 リタイミング回路
28 目標値レジスタ
30 補間回路
32 現在制御値レジスタ
34、42 信号出力回路
36、38、44、46、48 カウンタ
50 信号処理回路
52 LSIテスタ
DESCRIPTION OF SYMBOLS 10, 40 Semiconductor integrated circuit 12 CDR circuit 14 Control value generation block 16 Test circuit 18 Phase comparator 20 Digital filter 22 Control circuit 24 Phase divider 26 Retiming circuit 28 Target value register 30 Interpolation circuit 32 Current control value register 34, 42 Signal output circuit 36, 38, 44, 46, 48 Counter 50 Signal processing circuit 52 LSI tester

Claims (4)

入力された信号の位相によって制御された位相を有する信号を生成する信号生成回路と、制御値を生成する制御値生成ブロックとを備え、前記制御値生成ブロックが生成した制御値に応じて前記信号生成回路が生成する信号の位相を強制的にずらすことによって該信号生成回路を試験する半導体集積回路において、
前記制御値生成ブロックは、内部クロック信号に同期して動作するとともに、外部から、該内部クロック信号よりも低い周波数を有する外部クロック信号に同期して目標値を受信し、該受信した目標値に基づいて、前記内部クロック信号に同期して変化する前記制御値を生成することを特徴とする半導体集積回路。
A signal generation circuit that generates a signal having a phase controlled by the phase of the input signal; and a control value generation block that generates a control value. The signal according to the control value generated by the control value generation block In a semiconductor integrated circuit that tests a signal generation circuit by forcibly shifting the phase of the signal generated by the generation circuit,
The control value generation block operates in synchronization with an internal clock signal, receives a target value from the outside in synchronization with an external clock signal having a frequency lower than that of the internal clock signal, and generates the received target value. And generating the control value that changes in synchronization with the internal clock signal.
前記制御値生成ブロックが、互いに異なるタイミングで受信した第1および第2の目標値に基づいた補間演算を行って前記制御値を生成する、補間回路を備えることを特徴とする請求項1記載の半導体集積回路。   The control value generation block includes an interpolation circuit that generates the control value by performing an interpolation operation based on first and second target values received at different timings. Semiconductor integrated circuit. 前記制御値生成ブロックが、前記制御値の現在の値を保持する現在制御値レジスタと、前記外部から受信した目標値を保持する目標値レジスタとを備えるとともに、前記現在制御値レジスタに保持された値および前記目標値レジスタに保持された値に基づいた補間演算を行って前記制御値を生成する補間回路を備えることを特徴とする請求項1記載の半導体集積回路。   The control value generation block includes a current control value register that holds a current value of the control value, and a target value register that holds a target value received from the outside, and is held in the current control value register 2. The semiconductor integrated circuit according to claim 1, further comprising an interpolation circuit that performs an interpolation operation based on a value and a value held in the target value register to generate the control value. 前記信号生成回路が、前記入力された信号の位相と前記生成された信号の位相とを比較する位相比較器を備えるクロック・データ・リカバリ回路であることを特徴とする請求項1ないし3のいずれかに記載の半導体集積回路。   4. The clock data recovery circuit according to claim 1, wherein the signal generation circuit is a clock data recovery circuit including a phase comparator that compares the phase of the input signal with the phase of the generated signal. A semiconductor integrated circuit according to claim 1.
JP2008199772A 2008-08-01 2008-08-01 Semiconductor integrated circuit Withdrawn JP2010041208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008199772A JP2010041208A (en) 2008-08-01 2008-08-01 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008199772A JP2010041208A (en) 2008-08-01 2008-08-01 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JP2010041208A true JP2010041208A (en) 2010-02-18

Family

ID=42013309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008199772A Withdrawn JP2010041208A (en) 2008-08-01 2008-08-01 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP2010041208A (en)

Similar Documents

Publication Publication Date Title
KR100877496B1 (en) Clock and data recovery circuit, and serdes circuit
US7099424B1 (en) Clock data recovery with selectable phase control
TWI410791B (en) Apparatus and method for transmitting and receiving data bits
JP5300671B2 (en) Clock recovery circuit and data recovery circuit
US8453043B2 (en) Built-in bit error rate test circuit
TWI535213B (en) Clock and data recovery circuit and method
US7755405B2 (en) DLL circuit and method of controlling the same
JP4886276B2 (en) Clock data recovery device
US7496137B2 (en) Apparatus for measuring jitter and method of measuring jitter
WO2005093443A1 (en) Test device and test method
JP2008228083A (en) Semiconductor integrated circuit
KR101718857B1 (en) Clock and data recovery with high jitter tolerance and fast phase locking
TW201618471A (en) Phase detector and associated phase detecting method
JP4562647B2 (en) Clock signal generating apparatus, clock signal generating method and program
JP2012249072A (en) Clock generation circuit, driving circuit for display device, and method of controlling clock generation circuit
US8472561B2 (en) Receiver circuit
US6856207B1 (en) Jitter-less phase detector in a clock recovery circuit
JP2010041208A (en) Semiconductor integrated circuit
KR100899781B1 (en) Apparatus and method for transmitting data with clock information
US7321647B2 (en) Clock extracting circuit and clock extracting method
JP3209188B2 (en) PLL circuit
JP5923730B2 (en) Clock data recovery device
KR100629519B1 (en) Apparatus for generating clock to receive data packet in intermitent and method therefor
CN112152596B (en) Circuit and method for generating pulse output
JP2003163591A (en) Semiconductor integrated circuit and measurement method for its jitter

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20111004