Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0213866B2 - - Google Patents
[go: Go Back, main page]

JPH0213866B2 - - Google Patents

Info

Publication number
JPH0213866B2
JPH0213866B2 JP58033387A JP3338783A JPH0213866B2 JP H0213866 B2 JPH0213866 B2 JP H0213866B2 JP 58033387 A JP58033387 A JP 58033387A JP 3338783 A JP3338783 A JP 3338783A JP H0213866 B2 JPH0213866 B2 JP H0213866B2
Authority
JP
Japan
Prior art keywords
terminal
input
output
pulse
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.)
Expired - Lifetime
Application number
JP58033387A
Other languages
Japanese (ja)
Other versions
JPS59160325A (en
Inventor
Shuichi Akimoto
Kazumi Ueda
Masayuki Ozawa
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3338783A priority Critical patent/JPS59160325A/en
Publication of JPS59160325A publication Critical patent/JPS59160325A/en
Publication of JPH0213866B2 publication Critical patent/JPH0213866B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K21/00Details of pulse counters or frequency dividers
    • H03K21/02Input circuits

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明はパルス積算回路に係り、特にパルス入
力の読み取り周期を長くすることによりCPU等
の処理能力向上を利用して好適なパルス入力回路
に関する。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a pulse integration circuit, and particularly to a pulse input circuit that is suitable for taking advantage of improved processing power of a CPU, etc. by lengthening the pulse input reading cycle. .

(b) 従来技術と問題点 従来技術を図に沿つて説明する。(b) Prior art and problems The prior art will be explained with reference to the drawings.

第1図Aは従来のパルス入力回路であつて、不
特定のパルス幅と不特定の周期を有する被計測パ
ルス信号Pは、入力端子1からチヤツタリング波
形等を吸収する低域波器2と、バツフア回路3
とを直列に経由してしてアンドゲート4の一方入
力端に接続され、アンドゲート4の他方の入力端
には、CPU5から供給されるアクセス用のリー
ドストローブ信号STBが接続され、アンドゲー
ト4の出力EはCPU5内のカウンタ回路5aに
接続され、被計測定パルス信号Pの入力パルス数
を積算する構成になつている。
FIG. 1A shows a conventional pulse input circuit, in which a pulse signal P to be measured having an unspecified pulse width and an unspecified period is sent from an input terminal 1 to a low-frequency wave generator 2 that absorbs a chattering waveform, etc. Buffer circuit 3
The read strobe signal STB for access supplied from the CPU 5 is connected to the other input terminal of the AND gate 4, and the AND gate 4 is connected in series to one input terminal of the AND gate 4. The output E is connected to a counter circuit 5a in the CPU 5, and is configured to integrate the number of input pulses of the pulse signal P to be measured.

第1図BはAの各部のタイムチヤートとCPU
5の積算認識を示している。すなわちリードスト
ローブ信号STBの周期は被計測パルス信号Pに
含まれる最小限のパルス幅よりも短かく認定され
てCPU5から供給されている。tはタイムであ
つてt1〜t12はリードストローブ信号のサイクルタ
イムを示す。タイムチヤートに示すように被計測
パルス信号Pの入力とリードストローブ信号
STBの入力に対応するアンドゲート4の出力E
においてCPU5のカウンタ5aの積算認識は先
づタイムt2における出力Eの“1”を記憶してお
き、次のリードストローブ信号における出力Eと
比較して“0”に変化したときをもつて第n番目
のパルス入力と判定積算する。従つてタイムt3
おける出力Eは“1”であるから積算せず次のタ
イムt4を待つ。タイムt4における出力Eは“0”
であるからここで始めて第n番目のパルス入力を
積算する。同様にしてタイムt5〜t6にて第n+1
番目、タイムt11〜t12にて第n+2番目を積算す
る。
Figure 1B is a time chart of each part of A and the CPU
5 is shown. That is, the cycle of the read strobe signal STB is certified to be shorter than the minimum pulse width included in the pulse signal P to be measured, and is supplied from the CPU 5. t is time, and t1 to t12 indicate the cycle time of the read strobe signal. As shown in the time chart, the input of the pulse signal P to be measured and the lead strobe signal
Output E of AND gate 4 corresponding to input of STB
In order to recognize the cumulative value of the counter 5a of the CPU 5, the output E at time t2 is first memorized as "1", and compared with the output E of the next read strobe signal, when it changes to "0". Judgment integration is performed with the nth pulse input. Therefore, since the output E at time t3 is "1", no integration is performed and the next time t4 is waited for. Output E at time t 4 is “0”
Therefore, starting from here, the n-th pulse input is integrated. Similarly, at time t 5 to t 6 , the n+1
The n+2th value is integrated at time t 11 to t 12 .

以上の方式で積算するときは、“1”から“0”
への変化を比較しなければならぬため、パルス数
の積算洩れを防止するには被測定パルス信号の最
小限のパルス幅よりもストローブ信号STBの周
期を小さく設定する必要があり、被測定パルス信
号Pの最小限のパルス幅より短かくなる場合、あ
るいは測定系の数が増加した場合には、CPU5
のリードストローブ信号STBの周期をさらに速
くせねばならず、CPU5の処理能力を低下させ
る欠点がある。
When integrating using the above method, change from “1” to “0”.
Therefore, in order to prevent the pulse number from being omitted from integration, it is necessary to set the period of the strobe signal STB smaller than the minimum pulse width of the pulse signal under test. If the pulse width of signal P becomes shorter than the minimum pulse width, or if the number of measurement systems increases, CPU5
The cycle of the read strobe signal STB must be made even faster, which has the disadvantage of reducing the processing capacity of the CPU 5.

(c) 発明の目的 本発明は上記従来の欠点に鑑み、フリツプフロ
ツプを利用することによりパルス入力の読取り周
期を被測定パルス信号の最小パルス幅以内に制限
されることなく、該被測定パルス信号の最小周期
未満まで長くすることのできるパルス入力回路の
提供を目的とする。
(c) Purpose of the Invention In view of the above-mentioned drawbacks of the conventional art, the present invention utilizes a flip-flop to read the pulse input without limiting the reading period to within the minimum pulse width of the pulse signal under test. The purpose of the present invention is to provide a pulse input circuit that can be lengthened to less than the minimum period.

(d) 発明の構成 そしてこの目的は本発明によれば、データ端子
とクロツク端子とQ出力端子とリセツト端子を有
し、前記データ端子とクロツク端子が共に論理値
“1”の時、前記Q出力がセツトされるD型フリ
ツプフロツプと、一方の入力端子に前記Q出力端
子を接続し、他方の入力端子にリードストローブ
信号を常時入力するアンドゲートと、入力された
リードストローブ信号を所定時間遅延せしめて前
記リセツト端子に入力する遅延回路とを具え、前
記データ端子に常時論理値“1”を入力してお
き、前記クロツク端子に被測定パルス信号を入力
して構成したことを特徴とするパルス入力回路を
提供することにより達成される。
(d) Structure of the Invention According to the present invention, the device has a data terminal, a clock terminal, a Q output terminal, and a reset terminal, and when both the data terminal and the clock terminal have a logic value “1”, the Q A D-type flip-flop whose output is set, an AND gate to which the Q output terminal is connected to one input terminal and a read strobe signal is constantly input to the other input terminal, and an AND gate which delays the input read strobe signal by a predetermined time. and a delay circuit for inputting to the reset terminal, a logic value "1" is always input to the data terminal, and a pulse signal under test is input to the clock terminal. This is accomplished by providing a circuit.

(e) 発明の実施例 以下発明実施例を図面によつて詳述する。尚図
において第1図との対応部位には同一符号を付し
てその重複説明を省略する。
(e) Examples of the invention Examples of the invention will be described in detail below with reference to the drawings. In the figure, parts corresponding to those in FIG. 1 are denoted by the same reference numerals, and redundant explanation thereof will be omitted.

第2図は本発明によるパルス入力回路、第3図
は同回路のタイムチヤートを示す。
FIG. 2 shows a pulse input circuit according to the present invention, and FIG. 3 shows a time chart of the same circuit.

図において、FFはクロツク端子C、データ端
子D、リセツト端子R、出力端子Q(Q出力端子
とも呼称する)を具え、データ端子Dとクロツク
端子Cが共に論理値“1”の時、前記Q出力がセ
ツトされ、リセツト端子Rにリセツトパルスを印
加することにより無条件に前記Q出力がリセツト
されるD型フリツプフロツプ、DLは遅延回路、
t13〜t22はタイムを示す。
In the figure, the FF includes a clock terminal C, a data terminal D, a reset terminal R, and an output terminal Q (also called a Q output terminal). A D-type flip-flop whose output is set and whose Q output is unconditionally reset by applying a reset pulse to the reset terminal R; DL is a delay circuit;
t 13 to t 22 indicate time.

第2図に示すように、従来例のバツフア回路3
の出力をD型フリツプフロツプFF(以下単にフリ
ツプフロツプFFと呼称する)のクロツク端子C
に入力し、データ端子Dには常時“1”を印加す
る。出力端子Qをアンドゲート4の一方の入力端
に接続すると共に、ストローブ信号STBを分岐
し、一分岐はアンドゲート4の他方の入力端に入
力し、他分岐は遅延回路DLを介してフリツプフ
ロツプFFのリセツト端子Rに入力した回路構成
になつている。
As shown in FIG. 2, a conventional buffer circuit 3
The output of
, and "1" is always applied to data terminal D. The output terminal Q is connected to one input terminal of the AND gate 4, and the strobe signal STB is branched, one branch is input to the other input terminal of the AND gate 4, and the other branch is connected to the flip-flop FF via the delay circuit DL. The circuit configuration is such that the input is input to the reset terminal R of the .

ここでリードストローブ信号STBの周期は被
測定パルス信号Pの最小限周期未満に設定する。
しかしてその作用は第3図のタイムチヤートに示
すように被測定パルス信号Pが入力されると、タ
イムt13における被測定パルス信号Pの立上り信
号に対応して、フリツプフロツプFFの出力端子
Qには“1”が出力されて、アンドゲート4の一
方の入力端に“1”の持続入力(つまりセツト状
態)となる。次にタイムt14にリードストローブ
信号STBの立上り信号がアンドゲート4の他方
の入力端に入力されると、アンドゲート4の出力
Eに1パルスが出力される。この出力は被測定パ
ルス信号の1パルスの検知信号と判定される。さ
らにリードストローブ信号STBは分岐して遅延
回路DLに入力されているため、遅延回路DLの出
力立上り信号はタイムt14より若干遅れてt15に立
上り、フリツプフロツプFFのリセツト端子Rに
入力される。このためフリツプフロツプFFの出
力端子Qの持続していた出力“1”は、リセツト
されてタイムt15にて出力“0”の持続状態とな
る。カウンタ5aの積算認識はアンドゲートの出
力Eのみを積算するだけでよい。
Here, the period of the read strobe signal STB is set to be less than the minimum period of the pulse signal P to be measured.
As shown in the time chart in Fig. 3, when the pulse signal under test P is input, the output terminal Q of the flip-flop FF is output in response to the rising edge of the pulse signal under test P at time t13 . "1" is output, and one input terminal of the AND gate 4 receives a sustained input of "1" (that is, a set state). Next, at time t14 , when the rising signal of the read strobe signal STB is input to the other input terminal of the AND gate 4, one pulse is output to the output E of the AND gate 4. This output is determined to be a detection signal of one pulse of the pulse signal to be measured. Furthermore, since the read strobe signal STB is branched and input to the delay circuit DL, the output rising signal of the delay circuit DL rises at time t15 , slightly later than time t14 , and is input to the reset terminal R of the flip-flop FF. Therefore, the sustained output "1" at the output terminal Q of the flip-flop FF is reset to a sustained state of output "0" at time t15 . To recognize the integration of the counter 5a, it is sufficient to integrate only the output E of the AND gate.

次にタイムt15に至り、被測定パルス信号Pが
立下りとなつてもフリツプフロツプFFは何等作
用せず、又タイムt17にてリードストローブ信号
STBが入力されても、出力端子Qの出力が“0”
であるためアンドゲート4は出力しない。
Next, at time t15 , the flip-flop FF has no effect even though the pulse signal P under test falls, and at time t17 , the read strobe signal
Even if STB is input, the output of output terminal Q is “0”
Therefore, AND gate 4 does not output.

以下同様にしてタイムt18の被測定パルス信号
Pの立上り信号は、フリツプフロツプFFの出力
端子Qに出力“1”として、次のリードストロー
ブ信号STBがタイムt19でアンドゲート4に入力
されるまで持続するため、確実にアンドゲート4
の出力Eを積算することができる。しかも積算の
直後において遅延回路DLの作用により、フリツ
プフロツプFFの出力端子Qの出力をリセツトし
て、次の被測定パルス信号Pを待受けるため積算
を誤ることがない。このように被測定パルス信号
Pの入力自身に対応してアンドゲート4の一方の
入力端子をセツト状態に保持し、次にアンドゲー
ト4の他方の入力端子に入力されるリードストロ
ーブ信号とのアンド出力によりカウント用のパル
ス信号を得、そのの直後に該リードストローブ信
号の遅延信号を用いて前記セツト状態を解除し、
次の被測定パルス信号Pの入力を待機する。遅延
信号を用いてパルスカウント直後に前記セツト状
態を解除することによりリードストローブ信号の
周期を被測定パルス信号の最小限周期未満まで延
長可能となる。
Similarly, the rising edge of the pulse signal P under test at time t18 is output as "1" to the output terminal Q of the flip-flop FF until the next read strobe signal STB is input to the AND gate 4 at time t19 . To last, definitely and gate 4
The output E of can be integrated. Furthermore, immediately after the integration, the output of the output terminal Q of the flip-flop FF is reset by the action of the delay circuit DL to wait for the next pulse signal P to be measured, so that there is no error in the integration. In this way, one input terminal of the AND gate 4 is held in the set state in response to the input of the pulse signal P under test itself, and then the AND gate 4 is ANDed with the read strobe signal input to the other input terminal of the AND gate 4. Obtaining a pulse signal for counting by the output, and immediately after that, canceling the set state using a delayed signal of the read strobe signal,
Waits for input of the next pulse signal P to be measured. By using a delay signal to release the set state immediately after pulse counting, the period of the read strobe signal can be extended to less than the minimum period of the pulse signal under test.

尚、本実施例においては積算作用をCPUにて
行なうとしたが、マイクロCPU、マイクロブロ
セツサ等にても容易に実施し得る。
In this embodiment, the integration operation is performed by the CPU, but it can also be easily performed by a micro CPU, micro processor, etc.

(f) 発明の効果 以上詳細に説明したように、本発明のパルス入
力回路によれば、リードストローブ信号の周期を
被測定パルス信号の最小限周期未満まで長くする
ことができるので、CPUの処理能力を向上させ
る効果がある。
(f) Effects of the Invention As explained in detail above, according to the pulse input circuit of the present invention, the period of the read strobe signal can be lengthened to less than the minimum period of the pulse signal under test, so that the CPU processing It has the effect of improving abilities.

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

第1図は従来のパルス入力回路であつてAはブ
ロツク図、Bは同回路のタイムチヤートを示す。
第2図は本発明によるパルス入力回路のブロツク
図、第3図は第2図のタイムチヤトを示す。 図において、4はアンドゲート、Pは被測定パ
ルス信号、Eはアンドゲートの出力、STBはリ
ードストローブ信号、tとt13〜t22はタイム、t1
〜t12はリードストローブ信号のサイクルタイム、
nは積算個数、FFはフリツプフロツプ、Rはリ
セツト端子、Qは出力端子、DLは遅延回路を示
す。
FIG. 1 shows a conventional pulse input circuit, where A is a block diagram and B is a time chart of the circuit.
FIG. 2 shows a block diagram of a pulse input circuit according to the present invention, and FIG. 3 shows a time chart of FIG. In the figure, 4 is an AND gate, P is the pulse signal to be measured, E is the output of the AND gate, STB is a read strobe signal, t and t 13 to t 22 are times, and t 1
~ t12 is the cycle time of the read strobe signal,
n is the integrated number, FF is a flip-flop, R is a reset terminal, Q is an output terminal, and DL is a delay circuit.

Claims (1)

【特許請求の範囲】 1 データ端子とクロツク端子とQ出力端子とリ
セツト端子を有し、前記データ端子とクロツク端
子が共に論理値“1”の時、前記Q出力がセツト
されるD型フリツプフロツプと、 一方の入力端子に前記Q出力端子を接続し、他
方の入力端子にリードストローブ信号を常時入力
するアンドゲートと、 入力されたリードストローブ信号を所定時間遅
延せしめて前記リセツト端子に入力する遅延回路
とを具え、 前記データ端子に常時論理値“1”を入力して
おき、前記クロツク端子に被測定パルス信号が入
力したとき、前記Q出力端子を介して前記アンド
ゲートの一方の入力端子がセツトされ、 その直後に前記他方の入力端子にリードストロ
ーブ信号が入力した時のアンド出力を前記被測定
パルス信号の検知信号として判定すると共に、 該リードストローブ信号の遅延信号により前記
Q出力がリセツトされるようにしたことを特徴と
するパルス入力回路。
[Claims] 1. A D-type flip-flop having a data terminal, a clock terminal, a Q output terminal, and a reset terminal, and in which the Q output is set when both the data terminal and the clock terminal have a logical value of "1". , an AND gate that connects the Q output terminal to one input terminal and constantly inputs a read strobe signal to the other input terminal; and a delay circuit that delays the input read strobe signal by a predetermined time and inputs it to the reset terminal. A logical value "1" is always input to the data terminal, and when a pulse signal under test is input to the clock terminal, one input terminal of the AND gate is set via the Q output terminal. Immediately thereafter, an AND output when a read strobe signal is input to the other input terminal is determined as a detection signal of the pulse signal under test, and the Q output is reset by a delayed signal of the read strobe signal. A pulse input circuit characterized in that:
JP3338783A 1983-02-28 1983-02-28 Pulse input circuit Granted JPS59160325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3338783A JPS59160325A (en) 1983-02-28 1983-02-28 Pulse input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3338783A JPS59160325A (en) 1983-02-28 1983-02-28 Pulse input circuit

Publications (2)

Publication Number Publication Date
JPS59160325A JPS59160325A (en) 1984-09-11
JPH0213866B2 true JPH0213866B2 (en) 1990-04-05

Family

ID=12385178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3338783A Granted JPS59160325A (en) 1983-02-28 1983-02-28 Pulse input circuit

Country Status (1)

Country Link
JP (1) JPS59160325A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52119351U (en) * 1976-03-08 1977-09-09

Also Published As

Publication number Publication date
JPS59160325A (en) 1984-09-11

Similar Documents

Publication Publication Date Title
CN1543604B (en) Data processing system with on-chip background debugging system and related method
JP2000276877A (en) Synchronous semiconductor memory device having posted CAS latency function and CAS latency control method
EP2808801A1 (en) Multiple data rate memory with read timing information
KR910014713A (en) Time measuring circuit and method for measuring time between two asynchronous pulses
US5864252A (en) Synchronous circuit with improved clock to data output access time
JPS6052513B2 (en) semiconductor storage device
JPH0213866B2 (en)
CN116844606B (en) Signal sampling circuit and semiconductor memory
JPH0133052B2 (en)
JPH0143392B2 (en)
JPS6256598B2 (en)
JPH05100844A (en) Program wait control circuit for micro processor
JPS5836440B2 (en) Storage device control method
JPS601644B2 (en) Timing pulse generation circuit
RU2015581C1 (en) Memory control unit
JPH09167494A (en) Address decoding circuit for synchronous semiconductor memory device
JPS62124693A (en) semiconductor memory element
JP2979918B2 (en) Interrupt detection circuit
JPH11273380A (en) Lsi operation mode setting signal fetching method and lsi with mode signal fetching function
JPH04358397A (en) Semiconductor memory
SU1142822A1 (en) Timer
SU1640743A1 (en) One-digit memory unit controller
JPS625722Y2 (en)
SU1541624A1 (en) Device for buffering information
SU1280600A1 (en) Information input device