JPH01217268A - Measuring circuit - Google Patents

Measuring circuit

Info

Publication number
JPH01217268A
JPH01217268A JP4320588A JP4320588A JPH01217268A JP H01217268 A JPH01217268 A JP H01217268A JP 4320588 A JP4320588 A JP 4320588A JP 4320588 A JP4320588 A JP 4320588A JP H01217268 A JPH01217268 A JP H01217268A
Authority
JP
Japan
Prior art keywords
time length
counter
counting
time
level
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.)
Granted
Application number
JP4320588A
Other languages
Japanese (ja)
Other versions
JP2663482B2 (en
Inventor
Motojiro Nishio
西尾 元二郎
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 JP4320588A priority Critical patent/JP2663482B2/en
Publication of JPH01217268A publication Critical patent/JPH01217268A/en
Application granted granted Critical
Publication of JP2663482B2 publication Critical patent/JP2663482B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

PURPOSE:To automatically and efficiently measure the capacity of digital machinery such as a use ratio, by providing counter means for counting the generation number of the significant levels of an input digital signal, the max. time length, the min. time length and the total time length. CONSTITUTION:An input signal is inputted to a significant level time length counter 7, a significant level integrating time length counter 8 and a significant level number-of-generation counter 9 through a synchronous flip-flop 1 and count value generating AND gates 4-6. The output terminal of the counter 7 is connected to max. and min. value registers 12, 15 through comparators 10, 13. The outputs of said registers and the outputs of the counters 8, 9 are connected to a CPU 16, and a average value and a use ratio are calculated to be displayed on a display device 17. By this method, the capacity of digital machinery can be measured and observed with good accuracy.

Description

【発明の詳細な説明】 技術分野 本発明は測定回路に関し、特にディジタル機器のメモリ
バス、転送バスや更にはCPU等の性能を測定する測定
回路に関する。
TECHNICAL FIELD The present invention relates to a measuring circuit, and more particularly to a measuring circuit for measuring the performance of a memory bus, a transfer bus, a CPU, etc. of a digital device.

従来技術 従来のこの種の性能測定回路においては、直列ディジタ
ル入力信号の1″または“0″レベルの有意レベルの波
形測定を行うことが必要となるが、この場合オシロスコ
ープやメモリ付きディジタルロジックアナライザを用い
て有意レベルの時間を観測してその最大値、最小値及び
平均値等を求めている。尚、この直列ディジタル信号と
しては、例えは入出力機器の転送において転送要求信号
かあり、この転送要求信号の時間長の最大、最小及び平
均値等の観測がなされる。
Prior Art In conventional performance measurement circuits of this type, it is necessary to measure the waveform of a serial digital input signal at a significant level of 1" or "0". In this case, an oscilloscope or a digital logic analyzer with memory is used. This is used to observe the significant level time and find its maximum value, minimum value, average value, etc.This serial digital signal may be, for example, a transfer request signal in the transfer of input/output equipment, and this transfer The maximum, minimum, average value, etc. of the time length of the request signal are observed.

上述した従来の観測方法では、最小値、最大値及び平均
値を求めるには、ブラウン管上の“′0′″、“′1″
レベル信号を目視により確認して机上計算を必要とする
他に、長時間に渡っての観測を強いられると共に、観測
精度が悪いという欠点がある。
In the conventional observation method described above, in order to find the minimum value, maximum value, and average value, "'0'" and "'1" on the cathode ray tube are
In addition to requiring visual confirmation of the level signal and performing desk calculations, this method requires observation over a long period of time and has the drawbacks of poor observation accuracy.

発明の目的 本発明はディジタル機器の性能測定を精度良く自動的に
効率良く行うことが可能な測定回路を提供することを目
的としている。
OBJECTS OF THE INVENTION An object of the present invention is to provide a measuring circuit that can accurately, automatically, and efficiently measure the performance of digital equipment.

発明の構成 本発明による測定回路は、入力直列ディジタル信号の2
値レベルのうち有意レベルについての観I11時間を設
定するタイマ手段と、前記観測時間内におい゛て前記有
意レベルの発生個数を計数する個数計数手段と、前記観
測時間内において前記有意レベルの最大時間長及び最小
時間長を夫々計数する時間長計数手段と、前記観測時間
内において前記有意レベルの総時間長を積算計数する総
時間長計数手段と、前記総時間長を前記発生個数で除算
する演算手段とを有し、前記演算手段の演算結果、前記
最大及び最小時間長を可視表示するようにしたことを特
徴としている。
Structure of the Invention The measuring circuit according to the present invention detects two input serial digital signals.
a timer means for setting a time for observing a significant level among the value levels; a number counting means for counting the number of occurrences of the significant level within the observation time; and a maximum time of the significant level within the observation time. time length counting means for counting the maximum and minimum time lengths, respectively; total time length counting means for cumulatively counting the total time length of the significance level within the observation time; and an operation for dividing the total time length by the number of occurrences. means, and the calculation result of the calculation means and the maximum and minimum time lengths are visually displayed.

実施例 以下、本発明の実施例を図面を用いて説明する。Example Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の実施例の回路図であり、第2図(a、
 )〜(i)は第1図の回路の各部信号a〜iの波形で
ある。両国において、観測対象となる直列ディジタル信
号はDタイプFF(フリップフロップ)1のデータ入力
となり、クロック信号発生器2からのクロックbにより
当該クロックbに同期したディジタル信号aとなる。
FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG. 2 (a,
) to (i) are waveforms of signals a to i of the circuit shown in FIG. In both countries, a serial digital signal to be observed becomes the data input of a D-type FF (flip-flop) 1, and a clock b from a clock signal generator 2 becomes a digital signal a synchronized with the clock b.

タイマ回路3は測定時間を決定する信号Cを発生するも
のであり、予め定められた時間(1)たけアンドゲート
5を開とし、その間クロックbを通過せしめてアンドゲ
ート4へ供給する。アンドゲート4ではFFIのQ出力
孔がクロックbによりサンプリングされ、このサンプリ
ング結果dがカウンタ7及び8へ夫々印加される。
The timer circuit 3 generates a signal C that determines the measurement time, and the AND gate 5 is opened for a predetermined time (1), during which time the clock b is allowed to pass and is supplied to the AND gate 4. In the AND gate 4, the Q output hole of the FFI is sampled by the clock b, and the sampling result d is applied to the counters 7 and 8, respectively.

カウンタ7はサンプリング結果dを計数し、FF1のQ
出力孔が” 1 ”レベルから“′0パレベルに遷移す
る毎にその計数内容がリセットされるようになっており
、よってこのカウンタ7の計数内容はディジタル入力信
号aの“1′°レベルの時間長の最新値eを常に示して
いることになる。カウンタ8はサンプリング結果dを積
算して4数するものであり、よって測定時間(1)内に
おけるディジタル入力信号aの゛′1パレベルの総時間
長fを示していることになる。
Counter 7 counts the sampling result d, and counts the Q of FF1.
The counting contents of the counter 7 are reset every time the output hole transitions from the "1" level to the "'0" level, so the counting contents of this counter 7 correspond to the time of the "1'° level of the digital input signal a. This means that the latest value e of the length is always shown. The counter 8 integrates the sampling result d to make a count of 4, and therefore indicates the total time length f of the digital input signal a at the ``1'' level within the measurement time (1).

一方、FFIのQ出力孔はタイマ回路3の出力Cとアン
ドゲート6にてアンドがとられ、このアンド出力がカウ
ンタ9にて計数される。すなわち、測定時間(1,)内
における入力信号aの゛1′°レベルの発生個数gがこ
のカウンタ9にて計数されるのである。
On the other hand, the Q output hole of the FFI is ANDed with the output C of the timer circuit 3 by an AND gate 6, and this AND output is counted by a counter 9. That is, the counter 9 counts the number g of occurrences of the input signal a at the '1' degree level within the measurement time (1,).

カウンタ7の出力eは、比較器10、アンドゲート11
及びレジスタ12によりなる最大値計数回路へ入力され
、レジスタ12の内容と比較器10にて比較されて大き
い方の値がレジスタ12に残る。よって、レジスタ12
には測定時間(1)内の“1′”レベルの最大時間長り
が保持されることになる。
The output e of the counter 7 is sent to the comparator 10 and the AND gate 11
The value is inputted to a maximum value counting circuit consisting of a register 12 and a register 12, and is compared with the contents of the register 12 by a comparator 10, and the larger value remains in the register 12. Therefore, register 12
The maximum time length of the "1'" level within the measurement time (1) is held.

また、カウンタ7の出力eは、比較器13、アンドゲー
ト14及びレジスタ15によりなる最小値計数回路へ入
力され、レジスタ15の内容と比較器13にて比較され
て小さい方の値がレジスタ15に残る。よって、レジス
タ15には測定時間(1)内の″′1′″レベルの最小
時間長iが保持されることになる。
The output e of the counter 7 is input to a minimum value counting circuit consisting of a comparator 13, an AND gate 14, and a register 15, and is compared with the contents of the register 15 by the comparator 13, and the smaller value is stored in the register 15. remain. Therefore, the minimum time length i of the "1" level within the measurement time (1) is held in the register 15.

CPU16は演算回路であり、上記の各位h 。The CPU 16 is an arithmetic circuit, and the above-mentioned components h.

i、f、gが夫々入力されてこれ等測定値を基に次の演
算処理が行われる。
i, f, and g are input, and the following calculation process is performed based on these measured values.

測定時間(1)内における” 1 ”レベルの平均値 −”t’”レベル総時間長(f> ÷″゛1″レベル発生個数(g) 第2図の具体的数値例では、上式の値は16/34=;
5.3となり、よって入力ディジタル信号の有意゛1″
レベルの平均長さはクロックbの5.3個分の長さに相
当する。すなわち、クロックbが100nsであれば、
100 X5.3 =530TIISであり、測定時間
をt = 10 secとすると、ζ530/10,0
00) xlOO=5.3%となって、5.3%の使用
率(直列ディジタル信号の“1′″レベルの使用率)を
CPU16にて求めることができ、これを表示器17に
表示するのである。
Average value of "1" level within measurement time (1) - "t'" level total time length (f > ÷ "1" level occurrence number (g)) In the specific numerical example in Figure 2, the above equation The value is 16/34=;
5.3, so the significance of the input digital signal is 1.
The average length of the level corresponds to the length of 5.3 clocks b. That is, if clock b is 100ns,
100 X5.3 = 530 TIIS, and if the measurement time is t = 10 sec, then ζ530/10,0
00) xlOO=5.3%, and the usage rate of 5.3% (the usage rate of the "1'" level of the serial digital signal) can be determined by the CPU 16, and this is displayed on the display 17. It is.

また、“1′″レベルの最大時間長11に7及び最小時
間長i=4を夫々表示器17にて可視表示することかで
きることは明白である。
It is also obvious that the maximum time length 11 of the "1'' level, 7 and the minimum time length i=4 can be visually displayed on the display 17, respectively.

発明の効果 軟土の如く、本発明によれば、入力ディジタル信号の有
意レベルの発生回数、発生時間、発生平均値、最大時間
長、最小時間長、使用率等を自動的に正確に測定するこ
とができ、ディジタル機器の性能測定を精度良く観測す
ることが可能となるという効果がある。
Effects of the Invention Like soft soil, according to the present invention, the number of occurrences, occurrence time, occurrence average value, maximum time length, minimum time length, usage rate, etc. of a significant level of an input digital signal can be automatically and accurately measured. This has the effect of making it possible to accurately measure the performance of digital equipment.

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

第1図は本発明の実施例の回路図、第2図は第1図の回
路の各部信号波形を示す図である。 主要部分の符号の説明 2・・・・・・クロック発生器 3・・・・・タイマ回路 7・・・・・・有意レベル時間長計数カウンタ8・・・
・・・有意レベル積算時間長計数カウンタ9・・・・・
有意レベル発生回数計数カウンタ10・・・・・・比較
器 12・・・・・・最大値レジスタ 13・・・・・・比較器 15・・・・・・最小値レジスタ 16・・・・・・CPU
FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing signal waveforms at various parts of the circuit of FIG. 1. Explanation of symbols of main parts 2...Clock generator 3...Timer circuit 7...Significance level time length counter 8...
...Significance level cumulative time length counter 9...
Significant level occurrence count counter 10... Comparator 12... Maximum value register 13... Comparator 15... Minimum value register 16...・CPU

Claims (1)

【特許請求の範囲】[Claims] (1)入力直列ディジタル信号の2値レベルのうち有意
レベルについての観測時間を設定するタイマ手段と、前
記観測時間内において前記有意レベルの発生個数を計数
する個数計数手段と、前記観測時間内において前記有意
レベルの最大時間長及び最小時間長を夫々計数する時間
長計数手段と、前記観測時間内において前記有意レベル
の総時間長を積算計数する総時間長計数手段と、前記総
時間長を前記発生個数で除算する演算手段とを有し、前
記演算手段の演算結果、前記最大及び最小時間長を可視
表示するようにしたことを特徴とする測定回路。
(1) a timer means for setting an observation time for a significant level among the binary levels of an input serial digital signal; a number counting means for counting the number of occurrences of the significant level within the observation time; time length counting means for counting the maximum time length and minimum time length of the significance level, respectively; total time length counting means for cumulatively counting the total time length of the significance level within the observation time; 1. A measuring circuit comprising: arithmetic means for dividing by the number of occurrences, and wherein the arithmetic results of the arithmetic means and the maximum and minimum time lengths are visually displayed.
JP4320588A 1988-02-25 1988-02-25 Measurement circuit Expired - Lifetime JP2663482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4320588A JP2663482B2 (en) 1988-02-25 1988-02-25 Measurement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4320588A JP2663482B2 (en) 1988-02-25 1988-02-25 Measurement circuit

Publications (2)

Publication Number Publication Date
JPH01217268A true JPH01217268A (en) 1989-08-30
JP2663482B2 JP2663482B2 (en) 1997-10-15

Family

ID=12657425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4320588A Expired - Lifetime JP2663482B2 (en) 1988-02-25 1988-02-25 Measurement circuit

Country Status (1)

Country Link
JP (1) JP2663482B2 (en)

Also Published As

Publication number Publication date
JP2663482B2 (en) 1997-10-15

Similar Documents

Publication Publication Date Title
US5083299A (en) Tester for measuring signal propagation delay through electronic components
US4875201A (en) Electronic pulse time measurement apparatus
JPH04320982A (en) Semiconductor electronic circuit
CN216748451U (en) High-precision time service precision measurement system
JPH01217268A (en) Measuring circuit
US4301405A (en) Interval-to-rate converter
JPS6141976A (en) Delay time monitoring circuit
CN216956174U (en) Device for realizing equal-precision frequency measurement by single chip
JPS61260120A (en) Electronic integrating instrument
JPH03102266A (en) Pulse width measurer
KR940009815B1 (en) Frequency detecting apparatus and method using directport of microcomputer
JPH04312050A (en) Data transfer rate measurement circuit
JPH0678873U (en) Duty ratio measurement circuit
KR910009811B1 (en) Frequency counter
JPS60102574A (en) Programmable timer test circuit
SU761934A1 (en) Phase shift digital meter
US9906355B2 (en) On-die signal measurement circuit and method
KR20000050362A (en) Jitter measuring circuit
JPS62267669A (en) Signal observing device
JP2000180482A (en) Frequency variation computing unit
JPH0552884A (en) Frequency measuring device and time measuring device
JPS62261072A (en) Potential difference measuring apparatus
JPS6145978A (en) Measuring method of clock delay time
JPS6214272A (en) Data collecting device
JPH04225638A (en) Line duty factor display circuit