JPH03194476A - Measuring circuit for j-k flip-flop - Google Patents

Measuring circuit for j-k flip-flop

Info

Publication number
JPH03194476A
JPH03194476A JP1333539A JP33353989A JPH03194476A JP H03194476 A JPH03194476 A JP H03194476A JP 1333539 A JP1333539 A JP 1333539A JP 33353989 A JP33353989 A JP 33353989A JP H03194476 A JPH03194476 A JP H03194476A
Authority
JP
Japan
Prior art keywords
flip
flop
output
terminal
clock signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1333539A
Other languages
Japanese (ja)
Inventor
Nori Aoki
青木 のり
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1333539A priority Critical patent/JPH03194476A/en
Publication of JPH03194476A publication Critical patent/JPH03194476A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Phase Differences (AREA)

Abstract

PURPOSE:To facilitate repetition measurements by making the change of stage return to the initial state by the detection performed in a setting device when the output state of J-K flip-flop which is a circuit to be measured is changed. CONSTITUTION:By the J-K FF 1, the input signal of input terminal J is fetched at the rise of clock signal CLK and outputted to an output terminal Q after a specified time. By a D FF 2, the input signal is fetched at the rise of signal CLK and outputted to an output terminal DQ after the specified time. The output of output terminal DQ is added to a reset terminal R of the J-K FF 1 to reset the J-K FF 1, then this procedure is repeated. Consequently, when the output of an output terminal OUT is measured, a phase of input signal at the input terminal J is made to advance or delay in the condition that the clock signal CLK is fixed, then a set-up time and hold time can be measured continuously and repeatedly, and when the output state of J-K FF is changed, the change can be returned to the initial state.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はJ−Kフリップフロップに印加する入力信号と
クロック信号との位相差によって変化する出力状態から
前記J−・Kフリップフロップのセットアツプ時間およ
びホールド時間を測定するJ−にフリップフロップ測定
回路に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention provides a method for setting up the J-K flip-flop from an output state that changes depending on the phase difference between an input signal applied to the J-K flip-flop and a clock signal. This invention relates to a flip-flop measuring circuit for measuring time and hold time.

〔従来の技術〕[Conventional technology]

第5図はこの種のJ−にフリップフロップ測定回路の従
来例を示すブ[1ツク図、第6図は第5図の従来例の動
作を示す波形図である。
FIG. 5 is a block diagram showing a conventional example of this type of J-type flip-flop measuring circuit, and FIG. 6 is a waveform diagram showing the operation of the conventional example of FIG.

従来、入力端J、Kに印加される入力信号に対応した期
待出力を得るために必要とされる入力信号とクロック信
号の入力時間差(位相差)をセットアツプ時間およびホ
ールド時間として測定している。
Conventionally, the input time difference (phase difference) between the input signal and the clock signal required to obtain the expected output corresponding to the input signal applied to the input terminals J and K is measured as the setup time and hold time. .

クロック信号CLKを固定した状態で入力端Jの入力信
号S1を矢印へのように右方向へ位相をずらし入力信号
S2にすると、ある一定の点を越えると、出力端Qの出
力の波形がH11とならずに111 I+となる。反対
に入力信号S1を矢印Bのように左方向へ位相をずらし
入力信号83にすると、同様にある一定の点を越えると
、出力の波形が“L”からH″に反転する。このとき入
力信号82.83とクロック信号CLKとの間の時間差
がセットアツプ時間及びホールド時間である。
With the clock signal CLK fixed, if the input signal S1 at the input end J is shifted in phase to the right as shown by the arrow to become the input signal S2, then when a certain point is exceeded, the waveform of the output from the output end Q becomes H11. Instead of , it becomes 111 I+. On the other hand, if the input signal S1 is shifted in phase to the left as indicated by arrow B and becomes the input signal 83, the output waveform similarly inverts from "L" to "H" after a certain point. The time difference between signals 82, 83 and clock signal CLK is the setup time and hold time.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のJ−にフリップフロップ測定回路は、り
[lツク信号と入力信号との位相差からセットアツプ時
間やホールド時間を測定する際、被測定回路であるJ−
にフリップフロップの出力の状態が一担変化すると、再
度入力端J、にの入力信号を変化させ、初期設定をし直
す必要があり、測定精度をあげるために繰り返し測定す
ることが困難であるという欠点がある。
The conventional J-type flip-flop measurement circuit described above uses the J-type circuit under test when measuring the setup time and hold time from the phase difference between the input signal and the input signal.
If the state of the output of the flip-flop changes even once, it is necessary to change the input signal to the input terminal J again and reset the initial settings, which makes it difficult to repeatedly measure to improve measurement accuracy. There are drawbacks.

本発明は上記の欠点に鑑み、繰り返し測定が容易に行え
るJ−にフリップフロップ測定回路を提供することを目
的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned drawbacks, it is an object of the present invention to provide a flip-flop measuring circuit in which repeated measurements can be easily performed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のJ−にフリップフロップ測定回路は、クロック
信号に同期して変化するJ−にフリップフロップの出力
状態の変化を前記クロック信号に同期して検出し、検出
した時は前記J−にフリップフロップが出力状態を変化
させる前の初期状態にもどす設定手段を有する。
The J- flip-flop measurement circuit of the present invention detects a change in the output state of the J- flip-flop, which changes in synchronization with a clock signal, in synchronization with the clock signal. It has a setting means for returning the output state to the initial state before the output state was changed.

〔作用〕[Effect]

被測定回路であるJ−にフリップフロップの出力状態が
変化したとき、それを設定手段が検出して初期状態にも
どす。
When the output state of the flip-flop changes in J-, which is the circuit under test, the setting means detects this and returns it to the initial state.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図、第2
図は第1図の実施例の動作を示す波形図である。
FIG. 1 is a block diagram showing a first embodiment of the present invention;
The figure is a waveform diagram showing the operation of the embodiment of FIG. 1.

J−にフリップフロップ1は測定対象であり、入力@J
1.lは入力信号が印加され、入力端子には論理レベル
“OIIに固定されており、クロック端CKにはクロッ
ク信号CL Kが印加されている。
Flip-flop 1 at J- is the object of measurement, and the input @J
1. An input signal is applied to l, the input terminal is fixed at a logic level "OII", and a clock signal CLK is applied to the clock terminal CK.

Dフリップフロップ2は、入力端りがJ−にフリップフ
[1ツブ1の出力GQと出力端0(JTとに、出力端D
QがJ−にノリツブ70ツブ1のリセット端Rにそれぞ
れ接続され、り【]ツク端CKがクロック信号CLKを
入力している。
The D flip-flop 2 has an input terminal connected to J-, an output terminal GQ of the flip-flop [1 block 1, an output terminal 0 (JT), and an output terminal D
Q is connected to the reset terminal R of the knob 70 and knob 1, respectively, and the terminal CK of the terminal CK inputs the clock signal CLK.

次に第1図の実施例の動作について第2図を参照して説
明する。
Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIG. 2.

J−にフリップフロップ1は、入力端Jの入力信号をク
ロック信号CL Kの立上りで取り込み、所定の時間後
、取り込んだ信号を出力端Qに出力する。Dフリップフ
[lツブ2は出力端Qの出力をクロック信号CLKの立
上りで取り込み、所定の時間後、取り込んだ信号を出)
J端DQに出力する。
The flip-flop 1 receives the input signal at the input terminal J at the rising edge of the clock signal CLK, and outputs the received signal to the output terminal Q after a predetermined period of time. D flip-flop [l-tube 2 takes in the output of the output end Q at the rising edge of the clock signal CLK, and outputs the taken signal after a predetermined time]
Output to J end DQ.

出力端DQの出力はJ−に端リップフロップ1のリセッ
ト端Rに印加され、J−にフリップフ[lツブ1はリセ
ットされる。そして、これら動作は繰り返される。
The output of the output terminal DQ is applied to the reset terminal R of the flip-flop 1 at the J- terminal, and the flip-flop 1 at the J- terminal is reset. These operations are then repeated.

従って、出力端OUTの出力を測定する際、り【lツク
信号CI Kを固定した状態で入力端、Jの入力信9の
位相を進めたり、遅らせたりすることにより、セットア
ツプ時間、ホールド時間を連続的に繰り返し測定するこ
とができる。
Therefore, when measuring the output of the output terminal OUT, the set-up time and hold time are can be measured continuously and repeatedly.

第3図は本発明の第2の実施例を示すブ[1ツク図、第
4図は第3図の実施例の動作を示す波形図である。
FIG. 3 is a block diagram showing a second embodiment of the present invention, and FIG. 4 is a waveform diagram showing the operation of the embodiment of FIG.

J−にフリップフロップ1は、入力端Jが論理レベル“
′O″に固定され、入力端Kが入力信号を入力し、クロ
ック端CKがクロック信号CL Kを入力し、出力端Q
が出力端OUTに接続されている。Dフリップフロップ
2は、入力端りがJ−にフリップフロップ1の出力端Q
に、出力端DQがJ−にフリップフロップ1のゼット端
Sにそれぞれ接続され、クロックCKがクロック信号C
LKを入力している。
J-, flip-flop 1 has input terminal J at logic level "
The input terminal K inputs the input signal, the clock terminal CK inputs the clock signal CLK, and the output terminal Q
is connected to the output terminal OUT. D flip-flop 2 has an input end J- and an output end Q of flip-flop 1.
, the output terminals DQ are connected to the J- and Z terminals S of the flip-flop 1, respectively, and the clock CK is connected to the clock signal C
Entering LK.

次に本実施例の動作について第4図を参照して説明する
Next, the operation of this embodiment will be explained with reference to FIG.

J−Kフリップフロップ1とDフリップ70ツブ2のり
[]ツク端子CKkクロック信号CI−Kを印加し、入
力端Kに入力信号を印加する。すると所定時間後出万端
Q、Qから出力が表われる。Dフリップフロップが出力
端Qの出力をクロック信号CL Kの立上りで取り込み
、所定時間後出万端DQから出力し、この出力でJ−K
フリップフロップ1は再びセットされる。
A clock signal CI-K is applied to the J-K flip-flop 1 and the D-flip 70 terminal CKk, and an input signal is applied to the input terminal K. Then, after a predetermined period of time, outputs appear from Q and Q. The D flip-flop takes in the output of the output terminal Q at the rising edge of the clock signal CLK, outputs it from the output terminal DQ after a predetermined time, and uses this output to
Flip-flop 1 is set again.

従って、出力端OUTの出力を測定する際、り〔1ツク
信号CL Kを固定した状態で入力端Jの入4 力信号の位相を進めたり、遅らせたりすることにより、
セットアツプ時間、ホールド時間を連続的に繰り返し測
定プることができる。
Therefore, when measuring the output at the output terminal OUT, by advancing or delaying the phase of the input signal at the input terminal J with the input signal CLK fixed,
Set-up time and hold time can be continuously and repeatedly measured.

(発明の効果) 以上説明したように本発明は、被測定回路であるJ−に
フリップフロップの出力状態が変化したとき、それを設
定手段に検出させて初期状態にもどさせることにより、
セットアツプ時間及びホールド時間の測定を連続的に行
うことができ、通常ある時間幅を持つ、すなわち確率分
布として測定されるセットアツプ時間、ホールド時間の
決定に必要な大部の測定データを収集する収集効率を著
しく向上できる効果があり、ひいては、測定に基づいて
、J 2− Kフリップフ[lツブの特性表示値の精度
向上を図ることがCきる効果がある。
(Effects of the Invention) As explained above, the present invention allows the setting means to detect a change in the output state of the flip-flop in J-, which is the circuit under test, and return it to the initial state.
Set-up and hold times can be measured continuously, and most of the measurement data needed to determine set-up and hold times, which usually have a certain time width, i.e., are measured as probability distributions, can be collected. This has the effect of significantly improving the collection efficiency, and furthermore, it has the effect of improving the accuracy of the characteristic display value of the J2-K flip-flop based on the measurement.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の第1の実施例を示すブロック図、第2
図は第1図の実施例の動作を示す波形図、第3図は本発
明の第2の実施例を示すブロック図、第4図は第3図の
実施例の動作を丞す波形図、第5図はこの種のJ−にフ
リップフロップ測定回路の従来例を示すブ[1ツク図、
第6図は第5図の従来例の動作を示す波形図である。 1・・・J−にフリップフ[1ツブ、 2・・・Dフリップ70ツブ、 J、に、D・・・入力端、 Q、Q、DQ・・・出力端、 S・・・セット端、 R・・・リセット端、 CK・・・クロック端、 CLK・・・クロック信号。
FIG. 1 is a block diagram showing a first embodiment of the present invention;
1 is a waveform diagram showing the operation of the embodiment of FIG. 1, FIG. 3 is a block diagram showing the second embodiment of the present invention, and FIG. 4 is a waveform diagram showing the operation of the embodiment of FIG. 3. Figure 5 is a block diagram showing a conventional example of this type of J-type flip-flop measuring circuit.
FIG. 6 is a waveform diagram showing the operation of the conventional example shown in FIG. 1...J- to flip [1 knob, 2...D flip 70 knobs, J, to D...input end, Q, Q, DQ...output end, S...set end, R...Reset end, CK...Clock end, CLK...Clock signal.

Claims (1)

【特許請求の範囲】 1、J−Kフリップフロップに印加する入力信号とクロ
ック信号との位相差によって変化する出力状態から、前
記J−Kフリップフロップのセットアップ時間およびホ
ールド時間を測定するJ−Kフリップフロップ測定回路
において、 クロック信号に同期して変化する前記J−Kフリップフ
ロップの出力状態の変化を前記クロック信号に同期して
検出し、検出した時は前記J−Kフリップフロップが出
力状態を変化させる前の初期状態にもどす設定手段を有
することを特徴とするJ−Kフリップフロップ測定回路
[Claims] 1. J-K measuring the setup time and hold time of the J-K flip-flop from the output state that changes depending on the phase difference between the input signal applied to the J-K flip-flop and the clock signal. In the flip-flop measurement circuit, a change in the output state of the J-K flip-flop that changes in synchronization with the clock signal is detected in synchronization with the clock signal, and when detected, the J-K flip-flop changes the output state. A J-K flip-flop measuring circuit characterized by having a setting means for returning to an initial state before being changed.
JP1333539A 1989-12-22 1989-12-22 Measuring circuit for j-k flip-flop Pending JPH03194476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1333539A JPH03194476A (en) 1989-12-22 1989-12-22 Measuring circuit for j-k flip-flop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1333539A JPH03194476A (en) 1989-12-22 1989-12-22 Measuring circuit for j-k flip-flop

Publications (1)

Publication Number Publication Date
JPH03194476A true JPH03194476A (en) 1991-08-26

Family

ID=18267180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1333539A Pending JPH03194476A (en) 1989-12-22 1989-12-22 Measuring circuit for j-k flip-flop

Country Status (1)

Country Link
JP (1) JPH03194476A (en)

Similar Documents

Publication Publication Date Title
EP0492798A2 (en) Method and circuit for eliminating time jitter
JPH08297177A (en) Time-interval measuring circuit
JP2653250B2 (en) Unstable state avoidance circuit and method of avoiding unstable state
JPH0587954A (en) Minute time measurement method and device
JPS60149220A (en) Comparing device
JPH03194476A (en) Measuring circuit for j-k flip-flop
JP2853752B2 (en) Transmission line length measuring device
JP2622845B2 (en) Delay time measurement circuit
JP2571082B2 (en) Transmission line length measuring device
JPS62131637A (en) Timing jitter measuring system
JP2599759B2 (en) Flip-flop test method
US5831455A (en) Polarity detector
JPS61189472A (en) Testing method for integrating circuit
JPH01194709A (en) Phase discrimination circuit
JPH0933619A (en) Frequency measuring method in semiconductor testing device
US9906355B2 (en) On-die signal measurement circuit and method
JPS5858032B2 (en) Pulse width measurement method
JPS5824220Y2 (en) glitch detector
KR0181401B1 (en) Clock error detection or selection circuit
JPH01210875A (en) Testing method for prescaler
JPS62261986A (en) Pulse measuring circuit with noise removing ability
JPH05323054A (en) Measuring device of minute time
JPH0566236A (en) Skew detecting circuit
JPH01109267A (en) Narrow pulse width detecting circuit
JPS631976A (en) Repeating cycle detection circuit