200905210 P2006-017-TW-A 21681twf.doc/p 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種抖動制電路,且特 種内建之時脈抖動量測電路。 有關 【先前技術】 • 資料脈衝(Data在傳輸線路上傳輸時,如果信 號發生抖動的話,可能使時脈回復電路(Cloek C±lrcuit ’ CDR)或鎖相迴路(PLL)發生問題,甚至資料可能 a失。抖動可以定⑽:訊號之上升緣(或下降緣)相對於 其理想時間位置的時間偏移量。圖1顯示出抖動的定義。 抖動έ使得接收^的位元錯誤率(BitErr〇rRate,BER)提 高,低整個系統的服務品質(Quality〇fService)。 %間誤差(TIE ’ Time Interval Ε_)參㈣抖動的參 數之一,其意思是,在任一時間點,接收到的信號位元(或 脈衝)與參考時脈間的相位差。 般而。抖動可·^類為定量性抖動(Deterministic C Jitter,DJ)與隨機性抖動(Random Jitter,RJ)。隨機性抖 動為隨機產生的時序雜訊水平抖動。其分布情況通常為 尚斯分佈(Gaussian Distribution),亦可稱為正規分佈 (Normal Distribution)。 以目前來說,可利用外接的自動測試設備(ATE, automatic test equipment)來測量抖動。但是,因為要將信 號輸出至自動測試設備,所以信號得通過輸出/入接腳。 如此一來’所測量到的抖動可能未必是原先的抖動。此 外’自動測試設備所費不貲,也會額外增加測試成本。 200905210 P2006-017-TW-A 2l68ltwf.doc/p 故而’較好能有一種能 ^低測試成本、_時間,,,動的卿電路, 【發明内容】 乂列頁儀器的使用。 有鑑於此,本發明提一 精準測量抖動,又可降低測:建的抖動測量電路,其可 儀器的使用。 °成本、挪試時間與減少測量 本發明提供一種内建 相綱器内之延遲缓衝器,以梦準^路,其可校正同步雙 本發明提供—種内 抖動。 後’重置同步雙相偵測器^測量電路,其可在每次取樣 本發明的範例之一接^咸少磁滞效應。 用於測量待測時脈訊號種内建之抖動量測電路, -同步雙相偵測電路,對二該抖動量測電路包括: 訊號進行不同延遲時脈訊號與-參考時脈 對該同步雙相偵測位關係;以及—決定電路, 算、資料检鎖與計數’以的相位關係進行邏輯運 該抖動1一計數值與機率^佈有關於該待測時脈訊號之 測量供—種時間差量測電路,用於 訊號間之一時間待測電路所輸出之-待測時脈 時間差量“:;括,路至少包括-振畫源,該 待測電路, ^ ·:同步雙相_電路,輕接於該 元與第~v X目偵測電路包括—第-延遲缓衝單 時,單元’當繼源處於— 、♦脈减之-相位之一機率分佈圖,以 200905210 P2006-017-TW-A 2168ltwf.d〇c/p 根據該待測時脈訊號之該 =衝單元與第圖來㈣ 號所造成之1科間差; 考時脈訊 同步雙相偵測電路’對 =,路’轉接於該 相位麵行邏輯運算、資料路所_出的 於該牯間差之一計數值。 一、 以得到有關 本發明之又-範例提供—200905210 P2006-017-TW-A 21681twf.doc/p IX. Description of the Invention: [Technical Field] The present invention relates to a dithering circuit, and a built-in clock jitter measuring circuit. Related [Prior Art] • Data pulse (When the signal is transmitted on the transmission line, if the signal is jittery, the clock recovery circuit (Cloek C±lrcuit 'CDR) or phase-locked loop (PLL) may be problematic, even the data may be a The jitter can be determined by (10): the time offset of the rising edge (or falling edge) of the signal relative to its ideal time position. Figure 1 shows the definition of jitter. The jitter έ makes the bit error rate of receiving ^ (BitErr〇rRate , BER) improve, low overall service quality (Quality 〇 fService). Inter-error (TIE 'Time Interval Ε _) refers to (four) one of the parameters of the jitter, which means that at any point in time, the received signal bit (or pulse) and the reference clock phase difference. Generally, the jitter can be classified as Deterministic C Jitter (DJ) and Random Jitter (RJ). Random jitter is randomly generated. Timing noise level jitter. The distribution is usually Gaussian distribution, also known as Normal Distribution. At present, external automatic test can be utilized. ATE (automatic test equipment) is used to measure jitter. However, because the signal is output to the automatic test equipment, the signal passes through the output/input pin. As a result, the measured jitter may not necessarily be the original jitter. In addition, 'automatic test equipment is expensive, it will increase the test cost. 200905210 P2006-017-TW-A 2l68ltwf.doc/p Therefore, it is better to have a low test cost, _ time,,, move Circuit, [Summary] The use of the 页 page instrument. In view of this, the present invention provides an accurate measurement of jitter, and can reduce the measurement: built jitter measurement circuit, which can be used by the instrument. ° Cost, time of flight and reduction Measurement The present invention provides a delay buffer in a built-in phase diagram, which can be used to correct the synchronization of the present invention. The latter 'reset synchronous dual-phase detector ^ measurement circuit, It can be used to measure the hysteresis effect of one of the examples of the present invention at each sampling. The jitter measurement circuit built in the measurement of the pulse signal to be measured, the synchronous two-phase detection circuit, and the amount of the jitter The circuit includes: a signal for different delay clock signals and a reference clock to the synchronous biphasic detection bit relationship; and - determining a phase relationship between the circuit, the calculation, the data lock and the count, and the logic is used to perform the jitter The value and probability ^ cloth has a measurement about the clock signal to be measured for a time difference measurement circuit, which is used for one time between the signals to be measured by the circuit to be tested - the time difference of the clock to be measured ":; Including - vibrating source, the circuit to be tested, ^ ·: synchronous biphasic_circuit, lightly connected to the element and the vth target detecting circuit includes - the first delay buffer, the unit 'when the source is in —, ♦ pulse subtraction-phase probability distribution map, with 200905210 P2006-017-TW-A 2168ltwf.d〇c/p according to the clock signal of the signal to be measured and the figure (4) The difference between the 1 divisions; the test pulse synchronous dual-phase detection circuit 'pair=, the road' is transferred to the phase plane logical operation, the data path _ out of the one of the inter-turn difference value. I. In order to obtain the invention - the example is provided -
C 測參考時脈訊號與-待測電路所輸電路,用於 訊號間之i間差,該_電路至少包相時脈 時間差量測電路包括:_同步雙相制電ς振盪源,該 待測電路’該同步雙相_電路包括—,域於該 :與第二延遲緩衝單元,當該振盪源c單 …付到該待測時脈訊號之—相位之由振還 根據該待购脈訊號之該相 ^饰圖,以 弟ι物衝早凡與弟二延遲緩衝單元對 ^正该 號所造成之-延遲時間差;以及—決定'考日守脈訊C. The reference clock signal and the circuit to be tested are used for the difference between the signals. The _ circuit includes at least the clock time difference measurement circuit including: _ synchronous biphasic ς oscillation source, the The measuring circuit 'the synchronous two-phase _ circuit includes -, the domain: and the second delay buffering unit, when the oscillating source c is applied to the pulse signal to be tested, the phase is also oscillated according to the pulse to be purchased The phase of the signal is decorated with the image of the delay time difference caused by the younger brother and the second delay buffer unit to the positive number; and - the decision of the test day
L 同步雙相_電路,對該同步雙相偵測電路所^接於該 相位關係進倾輯運算、·㈣與賴 ^·!出的 於該時間差之一計數值。 Λ侍到有關 為讓本發明之上述和其他目的、特徵和 顯易懂,下文特舉本發明之較佳實關 ’人把更明 式,作詳細說明如下。 酉己合所附圖 【實施方式】 為了使本發明之内容更為明瞭,以下特舉數 > 為本發明確實能夠據以實施的範例。 貝、知例作 200905210 P2006-017-TW-A 21681twf.d〇c/p 圖2顯示fx據本發明第一實施例之内建的抖動測量 電路之方塊不意圖。此抖動測量電路主要包括:同步雙 相偵測翁23與決定電路25。此抖動測量電路用於偵測待 測電路21之待測時脈訊號仏以⑶士的抖動,也就是時脈 訊號CLKtest相對於參考時脈訊號CLKref的誤差。此待 測電路21可為PLL、CDR、DLL(延遲鎖相迴路),或其他 可根據參考時脈訊號而產生另一輸出時脈訊號的相類似 電路。 同步雙相偵測器23用於偵測此待測時脈訊號 CLKtest與參考時脈訊號cLKref間的相位關係,並輸出 兩訊號S1/S2至決定電路25。決定電路25計數訊號S1/S2 以得到計數值R1/R2,並送至後端的計算單元/計算軟體 (未示出)’以得到抖動值與其腿S值。 圖3顯示出同步雙相偵測器23與決定電路25之電 路方塊圖。同步雙相偵測器23包括:延遲緩衝器301〜303 與相位偵測單元304〜305。決定電路25包括邏輯電路 311〜312,栓鎖器313〜314,邏輯電路315〜31β,多工器 317與計數器318。 延遲緩衝器301與302延遲此參考時脈訊號 CLKref ’並產生延遲後參考時脈訊號])ΐ與D2。延遲缓衝 器303延遲此待測時脈訊號CLKtest,並產生延遲後輸出 時脈訊號D3。延遲缓衝器301〜303所造成的延遲不同, 而且其延遲量是可調整的。比如,延遲緩衝器301所造 成的延遲量最小,延遲緩衝器303所造成的延遲量略大, 而延遲緩衝器302所造成的延遲量最大。 200905210 P2006-017-TW-A 21681twf.doc/p 相位偵測單元304〜305比如是!)型正反哭 位偵:單元3。4:305具有:資料輸入端D,時:輸入上。相 重置端RST與資料輸出端q。相位偵測單元〜咖=」 D分別接受延遲後參考時脈訊號仍與的。‘ id05之時脈輸入端c接受延遲後輸出時脈 喊D3。相位偵測單元綱,之重置端RST接受 訊號RST。相位制單元,之資料輸_ q 出訊號S1與S2。 %The L-synchronous two-phase _ circuit, the synchronous two-phase detection circuit is connected to the phase relationship, and the count value of one of the time differences is obtained by the (4) and the λ^. The above and other objects, features and advantages of the present invention are set forth in the description of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS [Embodiment] In order to clarify the content of the present invention, the following specific examples are an example that can be implemented according to the present invention. FIG. 2 shows a block diagram of the built-in jitter measurement circuit of the fx according to the first embodiment of the present invention. The jitter measurement circuit mainly includes: a synchronous two-phase detection and a decision circuit 25. The jitter measurement circuit is configured to detect the jitter of the clock signal to be tested of the circuit 21 to be tested by (3), that is, the error of the clock signal CLKtest relative to the reference clock signal CLKref. The circuit under test 21 can be a PLL, CDR, DLL (Delayed Phase Locked Loop), or other similar circuit that can generate another output clock signal based on the reference clock signal. The synchronous two-phase detector 23 is configured to detect a phase relationship between the clock signal CLKtest to be tested and the reference clock signal cLKref, and output two signals S1/S2 to the decision circuit 25. The decision circuit 25 counts the signal S1/S2 to obtain the count value R1/R2 and sends it to the calculation unit/computing software (not shown) at the back end to obtain the jitter value and its leg S value. Figure 3 shows a block diagram of the circuit of the synchronous two-phase detector 23 and the decision circuit 25. The synchronous two-phase detector 23 includes delay buffers 301 to 303 and phase detecting units 304 to 305. The decision circuit 25 includes logic circuits 311 to 312, latches 313 to 314, logic circuits 315 to 31?, a multiplexer 317 and a counter 318. The delay buffers 301 and 302 delay the reference clock signal CLKref 'and generate a delayed reference clock signal]) D and D2. The delay buffer 303 delays the clock signal CLKtest to be tested, and generates a delay to output a clock signal D3. The delays caused by the delay buffers 301 to 303 are different, and the amount of delay is adjustable. For example, the delay buffer 301 causes the least amount of delay, the delay buffer 303 causes a slightly larger amount of delay, and the delay buffer 302 causes the largest amount of delay. 200905210 P2006-017-TW-A 21681twf.doc/p The phase detecting units 304 to 305 are, for example! Type positive and negative crying Position detection: Unit 3. 4: 305 has: data input D, hour: input. Phase reset terminal RST and data output terminal q. The phase detection unit ~ coffee = "D" accepts the delay and the reference clock signal is still connected. ‘The clock input terminal c of id05 accepts the delay and outputs the clock to call D3. In the phase detection unit, the reset terminal RST receives the signal RST. The phase system, the data input _ q signal S1 and S2. %
訊號S1(其值可能為i或0)代表延遲後參考時脈訊 號D1與延遲後輸出時脈訊號卯間之相位關係。訊號 S2(其值可能為1或〇)代表延遲後參考時脈訊號敗與延 遲後輪出時脈訊號D3間之相位關係。 、 此外,為解決磁滞效應,在第一實施例中,每當取 樣—筆(也就是產生一筆訊號S1/S2)時,重置訊號RST便 會將相位偵測單元304與305重置。 璉輯電路311與312接收相位偵測單元304與305 之輪出訊號S1與S2。栓鎖器313與314根據延遲後輸出 時脈訊號D3而栓鎖邏輯電路311與312之輸出訊號。邏 輯電路315與316接收栓鎖器313與314之輸出訊號、 延遲後輸出時脈訊號D3與致能訊號EN,其中致能訊號 由外部測試儀器所產生。栓鎖器313與314與邏輯電 路315與316的組合可以產生脈衝訊號。邏輯電路311 與312之輸出訊號為1,則邏輯電路315與316輸出脈衝 訊號;如邏輯電路311與312之輸出訊號為0,則邏輯電 路315與316不輸出脈衝訊號。 200905210 P2006-017-TW-A 21681twf.doc/p 多工器317根據選擇訊號SEL而選擇邏輯電路315 與316之輸出之一。計數器318則計數多工器3i7之輸 出而產生計數值R1/R2。計數器318比如為漣波計數器 (Ripple Counter)。利用栓鎖器 313/314 與 31 之組合可大幅加速抖動的測量。 第芦、把例之BIST電路具有兩種操作模式:測試模 模式。在賴模式下,制電路之缝源(如電 Ο ⑽)會正常操作;而在校正模式下,此振 盈源則處於自纟㈣(ftOe_mn)下。但在本發明之另一奋 Z以*外』輸人所需要的待測時脈訊號 Ktest來做权正模式。也就是說,當處於校正模式時, 所需要之隨機時脈鮮u可能料部輪、或者 訊號可由待測電路内部之處於自峨:振 ,制時脈訊號 dxstributi! f ^®(PDF'P-babil^y 3 stnbutw funetlQn)。在測試模式下 是正規分佈的。根據訊號Sl/S2 又叹+動里 _之相位0d可分為 於待測^ 介於0_與0+之間(當sl=1,J^-(虽㈣’ 0+(當 Sl=l , S2=1)。 S2=〇),以及大於 在圖4中,pi〜P3分別代丰 (Ρ1+Ρ2+Ρ3-Π , 弋表此二個區塊的面積 代表,當Sl=1與仏〇時,相位0d之^數)°付號τ 10 200905210 P2006-017-TW-A 21681twf.doc/p 請參考圖5 ’其顯示在校正模式τ ,制時脈訊號 CLKtest之相位0 d之機率分佈函數圖。由於待測電路之 振盪源處於自由振盪下,所以待測時脈訊號CLKtest會 隨機產生。也就是說,待測時脈訊號CLKtest;與參考時 脈訊號CLKref間並無關聯,而且待測時脈訊號CLKtest 之相位之機率分佈函數圖會呈現均勻分布。符號τ〇 代表參考%•脈號CLKref(也就是延遲後參考時脈訊號 D1)之周期。符號T代表延遲緩衝器3〇1與302之延遲時 間差。CLKrefdl與CLKrefd2分別代表圖3之延遲緩衝器 301與302所產生之延遲後參考時脈訊號]與])2。根據 待測電路之振盪源處於自由振盪時所產生的均句分布的 統計特性,可得到·· T=P2’ *T0。根據TO與P2’ ,可取 得延遲緩衝器301與302之延遲時間差。 圖6顯示相位《d之累加機率分佈函數圖(⑶f, cumulative distribiition function) ° 橫軸貝丨]為待湏iJb夺 脈訊號CLKtest之相位</>d,並以均方根(RMS)值(σ)為 單位。根據Π,Ρ2,利用圖6可查得相位誤差义_與χ+ (以 σ為單位)。更根據Ρ2’來計算Τ的值。再由τ與X—、 x+的關係,即可得到一個σ的所對應的相位大小。如果 用公式表示,則為: σ =Τ/(χ+-χ-) 比如,當Ρ1=0· 1100,Ρ2=0· 5414時,所對應出之χ 為 -1.23 而 χ+則為 +0.39 。 所以 , σ=0·04/(0. 39-(-1.23))=0. 025。 圖7顯示模擬結果。參考時脈訊號CLKref為 11 200905210 P2006-017-TW-A 21681twf.doc/p 2. 5GHz ’待測時脈訊號CLKtest之抖動之(j為i〇ps(即 為 0.025UI)。 請參考底下的2個抖動值誤差比較表,以更加了解 有無饋入重置訊號RST至相位偵測器之差別。 下表1顯示不饋入重置訊號RST至相位偵測器所得 到之抖動值誤差比較表。 于 表1 iPl P2 T 誤差 ~~~~ 理想校正狀 態 0. 0809 0. 5686 0. 0409 8.1% ^ 校正狀態1 0. 0809 0.5686 0. 0375 ------ 15.9% 狀態2 ------ 0. 0809 0.5686 0. 0380 14. 8%~~~~ 校正狀態3 0. 0809 0.5686 0. 0369 17. 2%~~The signal S1 (whose value may be i or 0) represents the phase relationship between the post-delay reference clock signal D1 and the delayed output clock signal. The signal S2 (which may be 1 or 〇) represents the phase relationship between the reference clock signal after the delay and the pulse signal D3 after the delay. Further, in order to solve the hysteresis effect, in the first embodiment, the reset signal RST resets the phase detecting units 304 and 305 every time the sample-pen (i.e., generates a signal S1/S2) is taken. The circuit circuits 311 and 312 receive the round-trip signals S1 and S2 of the phase detecting units 304 and 305. The latches 313 and 314 latch the output signals of the logic circuits 311 and 312 according to the output of the clock signal D3 after the delay. The logic circuits 315 and 316 receive the output signals of the latches 313 and 314, and output the clock signal D3 and the enable signal EN after the delay, wherein the enable signal is generated by an external test instrument. The combination of latches 313 and 314 and logic circuits 315 and 316 can generate pulse signals. The output signals of the logic circuits 311 and 312 are 1, and the logic circuits 315 and 316 output the pulse signals; if the output signals of the logic circuits 311 and 312 are 0, the logic circuits 315 and 316 do not output the pulse signals. 200905210 P2006-017-TW-A 21681twf.doc/p The multiplexer 317 selects one of the outputs of the logic circuits 315 and 316 according to the selection signal SEL. The counter 318 counts the output of the multiplexer 3i7 to generate a count value R1/R2. The counter 318 is, for example, a Ripple Counter. The combination of the latches 313/314 and 31 greatly accelerates the measurement of jitter. The second, BIST circuit has two modes of operation: test mode. In the Lai mode, the circuit source (such as the motor (10)) will operate normally; in the calibration mode, the vibration source will be at (4) (ftOe_mn). However, in another aspect of the present invention, the test signal Ktest to be tested is used to perform the right mode. That is to say, when in the calibration mode, the required random clock may be the material wheel, or the signal can be self-tuned by the circuit under test: vibration, clock signal dxstributi! f ^® (PDF'P -babil^y 3 stnbutw funetlQn). It is normally distributed in test mode. According to the signal Sl/S2, the phase 0d of the sigh + motion _ can be divided into 0 to be between 0_ and 0+ (when sl=1, J^-(although (4)' 0+ (when Sl=l , S2 = 1). S2 = 〇), and greater than in Figure 4, pi ~ P3 respectively, abundance (Ρ1 + Ρ 2+ Ρ 3-Π, 弋 table the area of the two blocks, when Sl = 1 and 仏〇, phase 0d^)°付号τ 10 200905210 P2006-017-TW-A 21681twf.doc/p Please refer to Figure 5 'which shows the probability of phase 0 d of the clock signal CLKtest in the calibration mode τ The distribution function graph. Since the oscillation source of the circuit to be tested is under free oscillation, the clock signal CLKtest to be measured is randomly generated. That is to say, the clock signal CLKtest to be tested is not associated with the reference clock signal CLKref, and The probability distribution function graph of the phase of the pulse signal CLKtest to be tested will be uniformly distributed. The symbol τ 〇 represents the period of the reference %•pulse CLKref (that is, the post-delay reference clock signal D1). The symbol T represents the delay buffer 3〇. The delay time difference between 1 and 302. CLKrefdl and CLKrefd2 respectively represent the delayed reference clock signals generated by the delay buffers 301 and 302 of FIG. 3] and ])2. According to the statistical characteristics of the distribution of the mean sentence generated when the oscillation source of the circuit under test is free to oscillate, T = P2' * T0 can be obtained. According to TO and P2', the delay time difference between the delay buffers 301 and 302 can be obtained. Figure 6 shows the phase "(3)f, cumulative distribiition function). The horizontal axis is the phase </>d of the iJb pulse signal CLKtest, and the root mean square (RMS) The value (σ) is the unit. According to Π, Ρ 2, the phase error _ and χ + (in σ) can be found using Figure 6. The value of Τ is calculated based on Ρ 2'. Then, by the relationship between τ and X-, x+, the phase size corresponding to σ can be obtained. If expressed by a formula, it is: σ = Τ / (χ + - χ -) For example, when Ρ1=0· 1100, Ρ2=0· 5414, the corresponding χ is -1.23 and χ+ is +0.39 . Therefore, σ=0·04/(0. 39-(-1.23))=0.025. Figure 7 shows the simulation results. The reference clock signal CLKref is 11 200905210 P2006-017-TW-A 21681twf.doc/p 2. 5GHz 'jitter of the clock signal CLKtest to be tested (j is i〇ps (ie 0.025UI). Please refer to the bottom Two jitter value error comparison tables to better understand whether there is a difference between the feed reset signal RST and the phase detector. Table 1 below shows the jitter value error comparison table obtained by not feeding the reset signal RST to the phase detector. Table 1 iPl P2 T error ~~~~ Ideal correction state 0. 0809 0. 5686 0. 0409 8.1% ^ Calibration state 1 0. 0809 0.5686 0. 0375 ------ 15.9% State 2 --- --- 0. 0809 0.5686 0. 0380 14. 8%~~~~ Calibration status 3 0. 0809 0.5686 0. 0369 17. 2%~~
在上表1中,理想校正狀態指的是,在校正模式下, 將圖2=待測時脈訊號CLKtest以可控制時脈訊號(由訊 戒產生益所產生)所取代。此可控制時脈訊號之相位^ ίίίίί函數圖會呈現均勻分布,且此可控制時脈訊 >考蚪脈間的相位差為均勻分佈。如此可以進行 =的校正。校正狀態卜校正狀態3則代表在校正模式中, 使用不同之自由振盪頻率所測出的結果。 下表2顯示饋入重置訊號RST 之抖動誤差比較表。 至相位偵測器所得到In the above Table 1, the ideal correction state means that in the calibration mode, Figure 2 = the clock signal to be tested CLKtest is replaced by a controllable clock signal (generated by the benefit of the signal). This can control the phase of the clock signal ^ ίίίίί function diagram will be evenly distributed, and the phase difference between the control pulse and the pulse is evenly distributed. This allows correction of =. The correction state 242 correction state represents the result measured using different free oscillating frequencies in the calibration mode. Table 2 below shows the jitter error comparison table fed to the reset signal RST. Obtained by the phase detector
12 200905210 P2006-017-TW-A 21681twf.doc/p 態 ---'— 校正狀態1 0.1100 0. 5414 0.0389 —---- 3.8% 校正狀態2 0. 1100 0.5414 0. 0392 3. 0% 校正狀態3 0. 1100 0. 5414 0.0379 — 6. 1°/〇 由表1與表2可看出,當饋入重置訊號RST至相位 偵測器時’所得到的抖動誤差的確比較小。12 200905210 P2006-017-TW-A 21681twf.doc/p State---'- Correction state 1 0.1100 0. 5414 0.0389 —---- 3.8% Calibration state 2 0. 1100 0.5414 0. 0392 3. 0% Correction State 3 0. 1100 0. 5414 0.0379 — 6. 1°/〇 It can be seen from Table 1 and Table 2 that the jitter error obtained when feeding the reset signal RST to the phase detector is indeed small.
圖8顯示本發明第二實施例之BIST電路之電路示意 圖。基本上,第二實施例之BIST電路之架構雷同於第— 實施例之BIST電路,只是將圖2之多工器317與計數器 318、替換成计數态318a與318b。至於第二實施例之運作 方式基本上可由第一實施例之描述内容得知,故於此不 重 ° 标上所述 ^ -本發明之上述實施例具有以下的 %路面積小’高操作速度與高準確性。 雖然本發明已以較佳實施例揭露如上,然直並非用 =?,__=者:本發明 【圖式間早說明】 圖1顯示出抖動的定義。 路之據本發明第—實施例之内建抖動測量電 方塊^顯示圖2之畔雙相_轉決定電路之電路 圖4顯示在測試模式下, 待’則日守脈訊號之相位之機 13 200905210 P2006-017-TW-A 21681twf.doc/p 率分佈函數圖。 圖5顯示在校正模式下,待測時脈訊號之相位之機 率分佈函數圖。 圖6顯示待測時脈訊號之相位之累加機率分佈函數 圖。 圖7顯示第一實施例之模擬結果。 圖8顯示本發明第二實施例之内建抖動測量電路之 電路示意圖。 【主要元件符號說明】 21 :待測電路 23 :同步雙相偵測器 25、25‘ :決定電路 301〜303 :延遲緩衝器 304〜305 :相位偵測單元 311〜312、315〜316 :邏輯電路 313〜314 :栓鎖器 317 :多工器 318、318a、318b :計數器 14Fig. 8 is a circuit diagram showing the BIST circuit of the second embodiment of the present invention. Basically, the architecture of the BIST circuit of the second embodiment is identical to the BIST circuit of the first embodiment except that the multiplexer 317 and counter 318 of FIG. 2 are replaced with the count states 318a and 318b. As for the operation mode of the second embodiment, it can be basically understood from the description of the first embodiment, so that the above embodiment of the present invention has the following % road area small 'high operation speed. With high accuracy. Although the present invention has been disclosed above in the preferred embodiment, it is not intended to use =?, __=: the present invention [early illustrated between the drawings] Fig. 1 shows the definition of jitter. According to the first embodiment of the present invention, the built-in jitter measurement electric block ^ shows the circuit of the two-phase _ turn decision circuit of FIG. 2, and FIG. 4 shows the phase of the phase signal of the day-to-day pulse signal in the test mode 13 200905210 P2006-017-TW-A 21681twf.doc/p rate distribution function graph. Figure 5 shows the probability distribution function of the phase of the pulse signal to be measured in the calibration mode. Figure 6 shows the cumulative probability distribution function of the phase of the pulse signal to be measured. Fig. 7 shows the simulation results of the first embodiment. Fig. 8 is a circuit diagram showing the built-in jitter measuring circuit of the second embodiment of the present invention. [Main component symbol description] 21: circuit under test 23: synchronous two-phase detector 25, 25': decision circuits 301 to 303: delay buffers 304 to 305: phase detecting units 311 to 312, 315 to 316: logic Circuits 313 to 314: latch 317: multiplexer 318, 318a, 318b: counter 14