JPS5838813B2 - logical device - Google Patents
logical deviceInfo
- Publication number
- JPS5838813B2 JPS5838813B2 JP54141057A JP14105779A JPS5838813B2 JP S5838813 B2 JPS5838813 B2 JP S5838813B2 JP 54141057 A JP54141057 A JP 54141057A JP 14105779 A JP14105779 A JP 14105779A JP S5838813 B2 JPS5838813 B2 JP S5838813B2
- Authority
- JP
- Japan
- Prior art keywords
- latch
- clock
- normal
- time
- output
- 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
Links
Landscapes
- Logic Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
本発明は論理装置に関し、特に、遅延時間監視回路をそ
なえた論理装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a logic device, and more particularly to a logic device equipped with a delay time monitoring circuit.
第1図は通常の論理回路である。FIG. 1 shows a normal logic circuit.
一群のラッチの出力は組合せ回路に入力され、組合せ回
路の出力は再び一部のラッチに供給されて保存される。The outputs of a group of latches are input to a combinational circuit, and the outputs of the combinational circuit are again supplied to some latches and stored.
このとき出力側のラッチの一部又は全部が入力側のラッ
チと同一のラッチであることもある。At this time, part or all of the latches on the output side may be the same as the latches on the input side.
このような論理回路において発生する障害には回路素子
自体の故障によるものの他に、回路素子の遅延時間超過
による障害も存在する。Faults that occur in such logic circuits include not only faults in the circuit elements themselves but also faults due to excess delay time of the circuit elements.
これは第1図の出力ラッチ群にクロックが与えられて、
出力ラッチ群のセットが行なわれる時点において、組合
せ回路における論理動作が終了していない場合に生ずる
ものである。This is because the clock is applied to the output latch group in Figure 1,
This occurs when the logic operation in the combinational circuit is not completed at the time the output latch group is set.
この遅延時間超過は、素子の劣化による遅延時間の増大
、論理設計ミス等各種の要因によって発生する。This delay time excess occurs due to various factors such as an increase in delay time due to element deterioration and a logic design error.
論理装置の障害の内で、上記遅延時間超過による誤動作
は原因究明が非常に困難なものの1つである。Among logical device failures, malfunctions caused by the delay time exceedance are one of the most difficult to identify.
本発明は論理装置の遅延時間が予定された許容範囲を超
過したときに警告信号を発生するようにして誤動作の原
因究明を容易にすることを目的とし、そのため本発明は
、正規の信号入力と正規のクロックにより動作する正規
動作用ラッチL1と、信号入力とクロックの少なくとも
一方がそれぞれ上記正規の信号入力と正規クロックとは
時間関係が異なる監視用ラッチL2と、上記正規動作用
ラッチL1の出力と上記監視用ラッチL2の出力を比較
する比較回路とをもうけ、該比較回路の出力にもとづき
上記正規動作用ラッチの動作状態を監視するようにした
ことを特徴とする。An object of the present invention is to generate a warning signal when the delay time of a logic device exceeds a predetermined tolerance, thereby facilitating the investigation of the cause of a malfunction. A normal operation latch L1 operated by a normal clock, a monitoring latch L2 in which at least one of a signal input and a clock has a different time relationship from the normal signal input and the normal clock, and an output of the normal operation latch L1. and a comparison circuit for comparing the output of the monitoring latch L2, and the operating state of the normal operation latch is monitored based on the output of the comparison circuit.
以下、本発明を図面により説明する。Hereinafter, the present invention will be explained with reference to the drawings.
第2図aは本発明による遅延時間の監視機能を与える回
路の一実施例、第2図すは第2図aの回路のタイムチャ
ートである。FIG. 2a is an embodiment of a circuit providing a delay time monitoring function according to the present invention, and is a time chart of the circuit of FIG. 2a.
第2図aにおいて、Ll、L2.L3はラッチ、DLY
はディレー(遅延)回路、G1は排他論理和(FOR)
ゲート、CLOCKiはクロックであり、この中で、ラ
ッチL1は正常系に使われるラッチ、ラッチL2 、L
3、ディレー回路DLY及び排他論理和(EOR)ゲー
トG1は遅延時間監視用の回路である。In FIG. 2a, Ll, L2. L3 is latch, DLY
is a delay circuit, G1 is an exclusive OR (FOR)
The gate and CLOCKi are clocks, among which latch L1 is a latch used in the normal system, and latches L2 and L
3. The delay circuit DLY and the exclusive OR (EOR) gate G1 are circuits for monitoring delay time.
DLYとしては単に配線長を長くしてもよいし、アンド
(AND)、オア(OR)等のゲートを挿入してもよい
。As DLY, the wiring length may be simply increased, or gates such as AND and OR may be inserted.
その他一般に知られている方法を用いてもよい。Other generally known methods may also be used.
通常運用時に正常系のラッチL1がMns以上余裕をも
って動作することを保証する装置においてはDLYのデ
ィレー値をMnsに設定しておくものとする。In a device that guarantees that the normal latch L1 operates with a margin of Mns or more during normal operation, the DLY delay value is set to Mns.
(この値はそれほど厳密に制御する必要はない。(This value does not need to be controlled very tightly.
)このようにしておくラッチL1の入力信号AがMns
以上余裕をって到達している間はラッチL2の入力信号
Bもクロックに間に合うことができラッチL1の出力X
とラッチL2の出力Yとは常に等しくG1の出力はO”
である。) The input signal A of the latch L1 is Mns.
While the input signal B of the latch L2 reaches the clock with a margin above, the input signal B of the latch L2 can also be in time with the clock, and the output X of the latch L1
and the output Y of latch L2 are always equal, and the output of G1 is O”
It is.
従ってL3の出力Zは”O”となって遅延時間超過(許
容余裕を越えていると言う意味)をしていないことを示
す。Therefore, the output Z of L3 becomes "O", indicating that the delay time has not been exceeded (meaning that the allowable margin has been exceeded).
信号AがMns以上の余裕をもたなくなると、信号がラ
ッチL1には到達するがラッチL2には到達しないとい
う状態が生じ、XとYとが不一致を示すようになる。When the signal A no longer has a margin of more than Mns, a state occurs in which the signal reaches the latch L1 but not the latch L2, and X and Y become inconsistent.
このときG1の出力は”1”となりラッチL3がセット
され警告信号を発生する。At this time, the output of G1 becomes "1" and latch L3 is set to generate a warning signal.
第2図aにはラッチのデータ入力部のみにDLYを入れ
ているがラッチのクロックイネーブル信号の遅延時間超
過監視を行なうことも軒能である。In FIG. 2a, DLY is inserted only in the data input section of the latch, but it is also possible to monitor the delay time excess of the clock enable signal of the latch.
この場合はラッチL2のクロックイネーブル信号にも同
様にDLYを挿入すればよい。In this case, DLY may be similarly inserted into the clock enable signal of latch L2.
第3図aは遅延時間監視を行なう他の実施f序第3図す
は第3図aの回路のタイムチャートである。FIG. 3a is a time chart of the circuit of FIG. 3a in another implementation for monitoring delay time.
各回路の説明は第2図aと同様である。第3図aの回路
ではラッチL2の入力にDLYを挿入する代りにラッチ
L2 、L3のクロックの相をラッチL1のクロックの
相よりMnsだけ進めである点が異なる。The explanation of each circuit is the same as that in FIG. 2a. The circuit of FIG. 3a differs in that instead of inserting DLY into the input of latch L2, the clock phases of latches L2 and L3 are advanced by Mns than the clock phase of latch L1.
このようにしておけばラッチL1に届く信号がラッチL
1のクロックに対しMns以上余裕をもっている限りラ
ッチL2にも同一の信号がセットされるので01によっ
て不一致が検出されることはない。If you do this, the signal that reaches latch L1 will be sent to latch L.
As long as there is a margin of Mns or more with respect to the clock of 01, the same signal is set in the latch L2, so no mismatch will be detected by 01.
(ラッチL1にクロックが入ってから次にラッチL2に
クロックが入るまでを有効な比較期間とする。(The period from when a clock is applied to latch L1 to when the next clock is applied to latch L2 is defined as an effective comparison period.
)ラッチL1の入力信号の到達がMns以上の余裕をも
たなくなるとラッチL1には正しく入力信号がセットさ
れラッチL2には誤まった信号がセットされるようにな
る。) If the input signal to latch L1 no longer has a margin of more than Mns, a correct input signal will be set to latch L1 and an incorrect signal will be set to latch L2.
このときG1によりラッチL1とラッチL2の不一致が
検出され、ラッチL3がセットされて警告信号が発生さ
れる。At this time, G1 detects a mismatch between latch L1 and latch L2, and latch L3 is set to generate a warning signal.
また、第2図aと第3図aを組合せた回路として、図示
を省略するが、第3図aのラッチL2の入力に第2図a
に図示するディレー回路DLYを挿入する回路が考えら
れる。In addition, as a circuit that combines the circuits shown in FIG. 2a and FIG. 3a, although not shown, the circuit shown in FIG.
A circuit in which the delay circuit DLY shown in FIG. 1 is inserted may be considered.
この場合、DLYのディレー値Dnss ラッチL2の
クロックをラッチL1のクロックよりも時間Cnsだけ
早く発出するようにすると、ラッチL1の入力信号の到
達が(C+D ) ns以上の余裕をもたなくなった時
点でラッチL1には正しく入力信号がセットされ、ラッ
チL2には誤った信号がセットされるようになる。In this case, if the delay value Dnss of DLY is made to emit the clock of latch L2 by a time Cns earlier than the clock of latch L1, the time when the input signal of latch L1 arrives with no margin of more than (C+D) ns. In this case, the input signal is correctly set in the latch L1, and the incorrect signal is set in the latch L2.
このときG1によりラッチL1とラッチL2の不一致が
検出され、ラッチL3がセットされて警告信号が発生さ
れる。At this time, G1 detects a mismatch between latch L1 and latch L2, and latch L3 is set to generate a warning signal.
次に、第4図aは本発明のさらに他の実施例の回路、第
4図すは第4図aの回路のタイムチャートである。Next, FIG. 4a is a circuit of still another embodiment of the present invention, which is a time chart of the circuit of FIG. 4a.
第4図aは回路構成上第3図aと全く同じである。FIG. 4a is completely the same as FIG. 3a in terms of circuit configuration.
但しラッチL2のクロックはラッチL1のクロックより
わずかに遅らせてあり、ラッチL3のクロックはラッチ
L1のクロックと同相となっている。However, the clock of latch L2 is slightly delayed from the clock of latch L1, and the clock of latch L3 is in phase with the clock of latch L1.
このようにしておくとラッチL3の出力はラッチL1の
入力信号が遅延時間超過を生じて正しくラッチL1にセ
ットされなかった、即ち誤動作を生じていることを示す
ようになる。If this is done, the output of the latch L3 will indicate that the input signal of the latch L1 has exceeded the delay time and has not been correctly set in the latch L1, that is, a malfunction has occurred.
なぜならラッチL1の入力信号が遅延時間超過をしてい
るとラッチL1は正しくセットされないが、ラッチL1
よりクロックの遅いラッチL2にはセットできるように
なりラッチL1の出力とラッチL2の出力は不一致(正
確にはラッチL2のクロックから次のラッチL1のクロ
ックまでの期間で)を示すようになるからである。This is because if the input signal of latch L1 exceeds the delay time, latch L1 will not be set correctly, but latch L1
It is now possible to set the latch L2, which has a slower clock, and the output of the latch L1 and the output of the latch L2 will show a mismatch (more precisely, in the period from the clock of the latch L2 to the clock of the next latch L1). It is.
従って第4図aのラッチL3の出力は警告信号ではなく
障害検出信号であって第2図aや第3図aの場合(警告
信号)とは少々異なった意味を持っている。Therefore, the output of the latch L3 in FIG. 4a is not a warning signal but a failure detection signal, and has a slightly different meaning from that in the cases of FIGS. 2a and 3a (warning signal).
第2図a及び第3図aのラッチL3の出力は遅延時間が
所与の余裕を満足しなくなったことを示す遅延警告信号
であって、これは以下のように使用されうる。The output of latch L3 of FIGS. 2a and 3a is a delay warning signal indicating that the delay time no longer satisfies a given margin, which can be used as follows.
■ プログラムに報告すべくマシンチェック割込みの1
原因とする。■ One of the machine check interrupts to report to the program.
Cause.
■ 装置を停止状態にする。■ Stop the device.
■ 装置をチェックストップ(クロック停止)状態にす
る。■ Place the device in checkstop (clock stop) state.
■ クロックの周期(を遅い方へ)切換える契機とする
。■ Use this as an opportunity to switch the clock cycle (to a slower one).
(ハード的な切換)上記■〜■のいずれの機能を選択す
るか(又は完全に無視するか)を伺らかの手段で設定で
きるようにすることも有効な方法である。(Hardware Switching) It is also an effective method to be able to set which of the above functions (1) to (2) to select (or completely ignore) using some means.
上記■の結果以下のことが可能になる。As a result of the above (■), the following becomes possible.
(a) 遅延時間が所定の余裕を有していない個所に
関する情報のロギングとこれをもとにした予防保守。(a) Logging of information regarding areas where the delay time does not have a predetermined margin and preventive maintenance based on this information.
(b)ソフトウェア制御によるマシンサイクルの切換え
を行ない装置の正常動作を保証する。(b) Switching machine cycles under software control to ensure normal operation of the device.
マシンサイクルの切換えをハードウェアに指令する方法
としては、例えば診断命令の発行が考えられる。A possible method for instructing the hardware to switch machine cycles is, for example, issuing a diagnostic command.
以上のように本発明によれば論理装置の遅延時間を監視
することができ、遅延警告信号または遅延にもとずく障
害検出信号を出力するので論理装置の信頼性を高めるこ
とができるというすぐれた効果を奏する。As described above, according to the present invention, the delay time of a logic device can be monitored, and a delay warning signal or a failure detection signal based on the delay can be output, so that the reliability of the logic device can be improved. be effective.
第1図は通常の論理回路、第2図、a・〜第4図aはそ
れぞれ本発明の異なる実施例の回路、第2図b〜第4図
すはそれぞれ第2図。
〜第4図aの回路のタイムチャートである。
図中、L1〜L3はラッチ、G1は排他論理和ゲート、
CLOCKlとCLOCK2はそれぞれクロック、DL
Yはディレー回路である。FIG. 1 shows a conventional logic circuit, FIGS. 2, a to 4 a, respectively, circuits of different embodiments of the present invention, and FIGS. 2 b to 4, respectively, to FIG. 2. 4 is a time chart of the circuit of FIG. 4a. In the figure, L1 to L3 are latches, G1 is an exclusive OR gate,
CLOCKl and CLOCK2 are clock and DL, respectively.
Y is a delay circuit.
Claims (1)
規動作用ラッチL1と、信号入力とクロックの少なくと
も一方がそれぞれ上記正規の信号入力と正規のクロック
とは時間関係が異なる監視用ラッチL2と、上記正規動
作用ラッチL1の出力と上記監視用ラッチL2の出力を
比較する比較回路とを設け、該比較回路の出力にもとづ
き上記正規動作用ラッチの動作状態を監視するようにし
たことを特徴とする論理装置。 2 上記監視用ラッチL2へ、上記正規の信号入力また
はそのコピー信号を時間Mだけ遅らせて入力信号として
与え、かつクロックとして上記正規のクロックと同相の
クロックを与え、上記正規動作用ラッチL1の出力と上
記監視用ラッチL2の出力が不一致となったことにより
、上記正規動作用ラッチL1の系が時間Mの余裕をもた
なくなったことを検出することを特徴とする特許請求の
範囲第1項記載の論理装置。 3 上記監視用ラッチL2へ、上記正規の信号入力また
はそのコピー信号を上記正規動作用ラッチL1への入力
信号到達時刻と等しい時刻に入力し、かつクロックとし
て上記正規のクロックより時間Mだけ早く生起するクロ
ックを与え、上記正規動作用ラッチL1の出力と上記監
視用ラッチL2の出力とが上記正規のクロック発生以後
法の上記監視用ラッチL2のクロック発生までの間にお
いて不一致であったことをもって上記正規動作用ラッチ
L1の系が時間Mの余裕をもたなくなったことを検出す
ることを特徴とする特許請求の範囲第1項記載の論理装
置。 4 上記監視用ラッチL2へ、上記正規の信号入力また
はそのコピー信号を時間りだけ遅らせて入力信号として
与え、かつクロックとして上記正規のクロックより時間
Cだけ早く生起するクロックを与え、上記正規動作用ラ
ッチL1の出力と上記監視用ラッチL2の出力とが上記
正規のクロック発生以後、次の上記監視用ラッチL2の
クロック発生までの間において不一致であったことをも
って上記正規動作用ラッチL1の系が時間(D+C)の
余裕をもたなくなったことを検出することを特徴とする
特許請求の範囲第1項記載の論理装置。 5 上記監視用ラッチL2へ、上記正規の信号入力また
はそのコピー信号を上記正規動作用ラッチへの入力信号
到達時刻と等しい時刻に入力し、かつクロックとして上
記正規のクロックより遅く生起するクロックを与え、上
記正規動作用ラッチL1の出力と上記監視用ラッチL2
の出力とが上記監視用ラッチL2のクロック発出以後法
の上記正規のクロック発出までの間において不一段であ
ることにより上記正規動作用ラッチL1が正しく入力信
号を受取り得なかったことを検出することを特徴とする
特許請求の範囲第1項記載の論理装置。[Scope of Claims] 1. A latch L1 for normal operation operated by a normal signal input and a normal clock, and a monitoring device in which at least one of the signal input and the clock has a different time relationship from the normal signal input and the normal clock, respectively. a comparison circuit for comparing the output of the normal operation latch L1 and the monitoring latch L2, and monitors the operating state of the normal operation latch based on the output of the comparison circuit. A logical device characterized by the following. 2. To the monitoring latch L2, the normal signal input or its copy signal is delayed by a time M and is given as an input signal, and a clock that is in phase with the normal clock is given as a clock, and the normal operation latch L1 outputs. Claim 1 is characterized in that it is detected that the system of the normal operation latch L1 no longer has a margin of time M due to a mismatch between the output of the monitoring latch L2 and the output of the monitoring latch L2. Logical device described. 3. Input the regular signal input or its copy signal to the monitoring latch L2 at a time equal to the arrival time of the input signal to the regular operation latch L1, and generate the clock a time M earlier than the regular clock. and the output of the normal operation latch L1 and the output of the monitoring latch L2 did not match between the generation of the normal clock and the generation of the clock of the monitoring latch L2. 2. The logic device according to claim 1, wherein the logic device detects that the system of the normal operation latch L1 no longer has a margin of time M. 4. To the monitoring latch L2, the above normal signal input or its copy signal is delayed by a certain amount of time and is given as an input signal, and a clock that occurs earlier than the above normal clock by a time C is given as a clock, so that the above normal operation is performed. Since the output of the latch L1 and the output of the monitoring latch L2 do not match after the normal clock generation until the next clock generation of the monitoring latch L2, the system of the normal operation latch L1 is 2. The logic device according to claim 1, wherein the logic device detects that the time (D+C) is no longer available. 5. Input the regular signal input or its copy signal to the monitoring latch L2 at a time equal to the arrival time of the input signal to the regular operation latch, and provide a clock that occurs later than the regular clock. , the output of the normal operation latch L1 and the monitoring latch L2.
Detecting that the normal operation latch L1 has not been able to correctly receive the input signal because the output of the monitor latch L2 is not at the same level from the time when the clock is issued to the time when the normal clock is issued. The logic device according to claim 1, characterized in that:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54141057A JPS5838813B2 (en) | 1979-10-31 | 1979-10-31 | logical device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54141057A JPS5838813B2 (en) | 1979-10-31 | 1979-10-31 | logical device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5665255A JPS5665255A (en) | 1981-06-02 |
| JPS5838813B2 true JPS5838813B2 (en) | 1983-08-25 |
Family
ID=15283242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP54141057A Expired JPS5838813B2 (en) | 1979-10-31 | 1979-10-31 | logical device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5838813B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01163840A (en) * | 1987-12-21 | 1989-06-28 | Nec Corp | Delay time checking system |
-
1979
- 1979-10-31 JP JP54141057A patent/JPS5838813B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5665255A (en) | 1981-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5872907A (en) | Fault tolerant design for identification of AC defects including variance of cycle time to maintain system operation | |
| US5491787A (en) | Fault tolerant digital computer system having two processors which periodically alternate as master and slave | |
| US4996688A (en) | Fault capture/fault injection system | |
| US3566368A (en) | Delta clock and interrupt logic | |
| US5144230A (en) | Method and system for testing integrated circuits by cycle stealing | |
| US3934131A (en) | Output controller for initiating delayed or conditional commands via a general purpose computer | |
| US3257546A (en) | Computer check test | |
| US4059749A (en) | Digital monitor | |
| US4926427A (en) | Software error detection apparatus | |
| JPS5838813B2 (en) | logical device | |
| US5341403A (en) | Means to avoid data distortion in clock-synchronized signal sampling | |
| RU2058679C1 (en) | Information system monitoring and backup device | |
| JPS6126698B2 (en) | ||
| US20250377970A1 (en) | Protection in asynchronous finite state machine | |
| JPH1078896A (en) | Industrial computer | |
| SU960826A1 (en) | Digital unit checking device | |
| JPS5855535B2 (en) | Multi-computer device for vehicles | |
| JPS5823680B2 (en) | Storage device control method | |
| JPS59206951A (en) | Diagnostic system of circuit for detecting control storage error | |
| JP3006330B2 (en) | Clock collision detection circuit of data processing device | |
| JP2803167B2 (en) | Control line instantaneous interruption recognition prevention circuit | |
| JPS6342978B2 (en) | ||
| KR960012981B1 (en) | Fault generation / release of the transmission system | |
| KR960004062B1 (en) | Error data writing preventing apparatus and method | |
| SU1336007A2 (en) | Multifunctional logic module |