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
JPS6029978B2 - Check device - Google Patents
[go: Go Back, main page]

JPS6029978B2 - Check device - Google Patents

Check device

Info

Publication number
JPS6029978B2
JPS6029978B2 JP53061454A JP6145478A JPS6029978B2 JP S6029978 B2 JPS6029978 B2 JP S6029978B2 JP 53061454 A JP53061454 A JP 53061454A JP 6145478 A JP6145478 A JP 6145478A JP S6029978 B2 JPS6029978 B2 JP S6029978B2
Authority
JP
Japan
Prior art keywords
input
data bus
output
data
memory
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
Application number
JP53061454A
Other languages
Japanese (ja)
Other versions
JPS54152441A (en
Inventor
寛昭 干潟
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP53061454A priority Critical patent/JPS6029978B2/en
Publication of JPS54152441A publication Critical patent/JPS54152441A/en
Publication of JPS6029978B2 publication Critical patent/JPS6029978B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 この発明は、中央演算処理装置(以下CPUと称する)
とメモリ装置、入出力装置とから構成される制御装置に
おいて、メモリ装置の故障を検出すると同時に、CPU
とメモリ装置および入出力装置とを接続する入出力デー
タバス(共通接続線)の故障を検出して、上記制御装置
がメモリ又は入出力データバスの故障によって、誤動作
することを防ぐことを目的とするものである。
[Detailed Description of the Invention] This invention provides a central processing unit (hereinafter referred to as CPU)
In a control device consisting of a memory device, an input/output device, and a memory device, a failure of the memory device is detected and at the same time the CPU
The purpose is to detect a failure in the input/output data bus (common connection line) that connects the memory device and the input/output device, and to prevent the control device from malfunctioning due to a failure in the memory or input/output data bus. It is something to do.

また上記制御装置が何らかの誤動作を生じた場合、それ
が少なくとも、メモリに関係があるか否か、入出力デー
タバスに関係するか否かを明確にすることによって、制
御装置の誤動作原因の分析時間を短縮する効果を有する
ものである。従来いわゆるストアードプログラム方式の
制御装置において、CPUにはメモリ装置の他に入出力
データバスを介して多くの入出力装置が接続されている
In addition, if the above-mentioned control device malfunctions, it will take time to analyze the cause of the malfunction of the control device by clarifying whether it is related to the memory or the input/output data bus. This has the effect of shortening the time. In a conventional so-called stored program type control device, a CPU is connected to a large number of input/output devices in addition to a memory device via an input/output data bus.

この場合上記制御装置の故障診断方法として、メモリ装
置は、パリティチェック等の検出方法をとっている。そ
の他の部分についてはソフトウェア的に処理する方法が
良く用いられているがこの方法では、故障検出を完全に
行なうには多大のメモリ装置と、制御時間を要し、実時
間内で処理しようとすると、制御装置の制御能力を低下
させるという欠点があった。また上記方法では、制御装
置全体としてどこかに故障があるという事は分っても、
それが具体的にどの装置かという点までは判別し得ない
事が多い。第1図にストアドプログラム方式の制御袋畳
の基本的なブロック図を示す。第1図について説明する
と、1はCPU、2はメモリ装置、31,32〜3nは
入力装置、41,42〜4nは出力装置、5は入力デー
タバスバッフア、6は出力データバスバツフア、7はパ
リティ発生装置、8はパリティチェック装置、9はメモ
リアドレス線、10は双方向性バス、11はCPUの出
力データバス、12はCPUの入力データバス、13は
出力データのバリテイビツト、15はCPUI Iから
のタイミング信号、161,162〜16nは外部機器
からの入力信号線、181,182〜18nは出力装置
から外部機器への出力信号線、191,192〜19M
ま出力装置の選択信号線、171,172〜17nは入
力装置の選択信号線である。従来からメモリ装置2につ
いては、パリティ発生装置7及びパリティチェック装置
8等を使用し、メモリ装置の誤まり検出がなされていた
が、入力データバス12や出力データバス11について
は適当な検出方法がなく、前記のソフトウェア的方法に
頼っていた。
In this case, as a failure diagnosis method for the control device, the memory device uses a detection method such as a parity check. Software-based processing is often used for other parts, but this method requires a large amount of memory and control time to completely detect failures, and it is difficult to process in real time. However, this method has the disadvantage of reducing the control ability of the control device. In addition, with the above method, even if it is known that there is a failure somewhere in the control device as a whole,
In many cases, it is not possible to determine exactly which device it is. FIG. 1 shows a basic block diagram of a stored program control system. To explain FIG. 1, 1 is a CPU, 2 is a memory device, 31, 32-3n are input devices, 41, 42-4n are output devices, 5 is an input data bus buffer, 6 is an output data bus buffer, 7 is a parity generator, 8 is a parity check device, 9 is a memory address line, 10 is a bidirectional bus, 11 is a CPU output data bus, 12 is a CPU input data bus, 13 is an output data validity bit, 15 is a Timing signal from CPUI I, 161, 162-16n are input signal lines from external equipment, 181, 182-18n are output signal lines from output device to external equipment, 191, 192-19M
Selection signal lines 171, 172 to 17n of the output device are selection signal lines of the input device. Conventionally, errors in the memory device 2 have been detected using a parity generator 7, a parity check device 8, etc., but there is no suitable detection method for the input data bus 12 and output data bus 11. Instead, they relied on the software method described above.

この場合メモリ装置の増大、制御能力の低下、不良箇所
の分析に多大の時間を要する等不具合があった。
In this case, there were problems such as an increase in the number of memory devices, a decrease in control ability, and a large amount of time required to analyze a defective location.

この発明は、このような従来の不具合を解消し、メモリ
装置のチェック用のパリティ発生装置とパリティチェッ
ク装置および簡単なゲート回路とを用いて、ハードウェ
アの増加が少なく、比較的簡単な構成で確実に、また応
答も遠く、メモリ装置及び入出力データバスの不良を検
出する事ができるチェック装置を提供するものである。
The present invention solves these conventional problems and uses a parity generator, a parity check device, and a simple gate circuit for checking a memory device, and has a relatively simple configuration with little increase in hardware. The present invention provides a check device that can reliably detect defects in memory devices and input/output data buses with a long response time.

以下この発明のチェック装置について第2図を用いて詳
細に説明する。第2図はこの発明の一実施例である。第
2図に於て、1,2,31〜3n、41〜4n、5,6
,7,8,9,10,11,12,13,14,15,
161〜16n、171〜17n、181〜18n、1
91〜19n、は第1図で説明したものと同一である。
131は出力データのパリティビット13と同一信号で
あり、この信号を、パリティチェック装置に直接送り込
む信号線、20はゲートで、必要時に出力データバスの
信号を入力データバスに送り込むものである。次にこの
発明の動作について説明する。
The checking device of the present invention will be explained in detail below with reference to FIG. FIG. 2 shows an embodiment of this invention. In Figure 2, 1, 2, 31-3n, 41-4n, 5, 6
,7,8,9,10,11,12,13,14,15,
161-16n, 171-17n, 181-18n, 1
91 to 19n are the same as those explained in FIG.
Reference numeral 131 is a signal line that is the same as the parity bit 13 of the output data and sends this signal directly to the parity check device. Reference numeral 20 is a gate that sends the signal of the output data bus to the input data bus when necessary. Next, the operation of this invention will be explained.

第2図において、外部機器からのデータは、入力装置3
1〜3nを経由し、又、メモリ装置2からのデー夕は直
接入力データバス12に伝達される。この時入力データ
バス12には、入力装置選択信号(CPUから発生され
る)の171〜17nによって選択された唯一の入力装
置のデータ、又はメモリアドレス線9によって選択され
たメモリのデー夕が伝達される。このデータ信号は入力
データバッファ5を経由してCPUIへ伝達されると共
に、出力データバッファ6を通して出力データバス11
にも伝えられる。この時出力装置選択信号は発生されて
いないので、外部出力機器およびメモリ装置2に伝達さ
れない様になっている。上記入力データバス12の信号
は、同時にパリティ発生装置7及びパリティチェック装
置8に入力される。この時パリティ発生装置7からはパ
リティビット13が発生し、信号線131を介してパリ
ティチェック装置に伝達される。メモリー装置2から入
力する場合はメモリのパリティビット14がパリティチ
ェック装置8に伝達される。この2種のパリティビット
14,131をCPUIから発せられるタイミング信号
15により選択し、故障診断を行うものである。
In FIG. 2, data from an external device is input to the input device 3.
1 to 3n, and data from the memory device 2 is directly transmitted to the input data bus 12. At this time, the data of the only input device selected by input device selection signals 171 to 17n (generated from the CPU) or the data of the memory selected by the memory address line 9 is transmitted to the input data bus 12. be done. This data signal is transmitted to the CPUI via the input data buffer 5, and is also transmitted to the output data bus 11 via the output data buffer 6.
It can also be conveyed. Since the output device selection signal is not generated at this time, it is not transmitted to the external output device and the memory device 2. The signals on the input data bus 12 are simultaneously input to the parity generator 7 and the parity check device 8. At this time, parity bit 13 is generated from parity generator 7 and transmitted to parity check device via signal line 131. When inputting from the memory device 2, the parity bit 14 of the memory is transmitted to the parity check device 8. These two types of parity bits 14 and 131 are selected by a timing signal 15 issued from the CPUI to perform fault diagnosis.

又、外部機器またはメモリ装置にデータを出力する場合
は、CPUIからのタイミング信号15により、入力デ
ータバスバッフア5のゲートを閉じ、ゲート20を開く
Further, when outputting data to an external device or a memory device, the gate of the input data bus buffer 5 is closed and the gate 20 is opened in response to a timing signal 15 from the CPUI.

この時CPUIからの出力デー外ま出力装置41〜4n
、又はメモリ装置2へ出力装置選択信号191〜19n
により、出力データバス11を介し、データが伝達され
る。この時同時に出力データはゲート20を通り、入力
データバス12に伝達される。この時、入力装置選択信
号171〜17nは発生しないので、データが漉触する
恐れはない。入力データバス12上のデータはパリティ
チェック装置8に出力データバス11上のデー外まパリ
ティ発生装置7にそれぞれ伝達され、パリティ発生装置
7より発生したパリティビット13,131は、メモリ
装置2及びパリティチェック装置8へ伝達され、CPU
Iからのタイミング信号15により故障診断を行う。以
上の様に入力データバス12上のデータと出力データバ
ス11上のデータを比較することにより入出力バスの故
障診断を行ない、またメモリ装置2の故障診断も同時に
出来るようにするものである。もし、入力データバスま
たは出力データバスまたはメモリ装置のいずれかが故障
していれば、パリティチェック装置は、警報信号を発生
する。
At this time, the output data from the CPUI is output from the output devices 41 to 4n.
, or output device selection signals 191 to 19n to the memory device 2
Data is transmitted via the output data bus 11. At this time, the output data simultaneously passes through the gate 20 and is transmitted to the input data bus 12. At this time, since the input device selection signals 171 to 17n are not generated, there is no risk of data being tampered with. The data on the input data bus 12 is transmitted to the parity check device 8, the data on the output data bus 11, and the parity generator 7, and the parity bits 13, 131 generated by the parity generator 7 are transmitted to the memory device 2 and the parity generator 7. It is transmitted to the check device 8, and the CPU
Fault diagnosis is performed using the timing signal 15 from I. As described above, by comparing the data on the input data bus 12 and the data on the output data bus 11, failures in the input/output bus can be diagnosed, and failures in the memory device 2 can also be diagnosed at the same time. If either the input data bus or the output data bus or the memory device fails, the parity check device generates an alarm signal.

また、パリティチェック装置から警報信号を発するタイ
ミングが、CPUから外部機器へ出力する時、CPUへ
外部機器から入力する時、CPUへ〆モリ装置から入力
する時のいずれであるか判別すれば、警報が入力データ
バスの異常により発せられたか、出力データバスの異常
により発せられたか、またメモリ装置の異常により発せ
られたかの区別を行う事が出来る。しかも、チェックは
CPUの制御時間に影響を与えることなく実時間で行う
ことが出来る。以上の説明から明らかなように、この発
明のチェック装置を具備することにより、いわゆるスト
アードプログラム方式の制御装置において、その入出力
データバスおよびメモリ装置の誤動作を検出・すること
により、前記制御装置の誤制御を未然に防ぐことが出来
る。
In addition, if the timing at which the parity check device issues an alarm signal is when the CPU outputs it to an external device, when it inputs it from an external device to the CPU, or when it inputs it from the closing device to the CPU, the alarm signal can be issued. It is possible to distinguish whether the signal is generated due to an abnormality in the input data bus, the output data bus, or the memory device. Moreover, the check can be performed in real time without affecting the control time of the CPU. As is clear from the above description, the check device of the present invention can detect and detect malfunctions in the input/output data bus and memory device in a so-called stored program type control device. Erroneous control can be prevented.

また構成要素は、簡単なパリティ発生装置、チェック装
置および簡単なゲートをもちいるのみでよく、ハードウ
ェアの追加が少なく、検出動作が遠く、実時間で確実に
検出でき実用上の利点も多大である。
In addition, only a simple parity generator, a check device, and a simple gate are required as components, requiring little additional hardware, long detection operations, and reliable detection in real time, which has many practical advantages. be.

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

第1図は従来のストアードプログラム方式制御の基本ブ
ロック図、第2図はこの発明の一実施例を示すブロック
図であり、図において1はCPU、2はメモリ装置、3
1,32〜3nは入力装置、41,42〜4nは出力装
置、5は入力データバスバッフア、6は出力データバス
バッフア、7はパリティ発生装置、18はパリティチェ
ック装置、9はメモリアドレス線、10は双方向性バス
、1 1はCPUの出力データバス、12はCPUの入
力データバス、13は出力データのパリティビット、1
4はメモリのパリティビット、15はCPUIからのタ
イミング信号、161,162〜16nは外部機器から
の入力信号線、171,172〜17nは入力装置の選
択信号線、181,182〜18nは出力装置から外部
機器への出力信号線、191,192〜19nは出力装
置の選択信号線、131は13のパリティビットを8の
パリティチェック装置に直接送り込む信号線、20‘ま
必要に応じて出力データバス11のデータを入力データ
バス12に伝達するゲートである。 なお図中、同一符号は同一、又は相当部分を示す。第1
図 第2図
FIG. 1 is a basic block diagram of conventional stored program type control, and FIG. 2 is a block diagram showing an embodiment of the present invention. In the figure, 1 is a CPU, 2 is a memory device, and 3
1, 32 to 3n are input devices, 41, 42 to 4n are output devices, 5 is an input data bus buffer, 6 is an output data bus buffer, 7 is a parity generator, 18 is a parity check device, 9 is a memory address line, 10 is the bidirectional bus, 1 1 is the CPU output data bus, 12 is the CPU input data bus, 13 is the output data parity bit, 1
4 is the parity bit of the memory, 15 is the timing signal from the CPUI, 161, 162-16n is the input signal line from the external device, 171, 172-17n is the selection signal line of the input device, 181, 182-18n is the output device 191, 192 to 19n are output device selection signal lines, 131 is a signal line that directly sends the parity bit of 13 to the parity check device of 8, and 20' is an output data bus as necessary. 11 data to the input data bus 12. In the figures, the same reference numerals indicate the same or equivalent parts. 1st
Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1 複数の入力装置を介して入力するデータ及びメモリ
から読出されたデータを転送する入力データバスと、複
数の出力装置を介して出力するデータ及び上記メモリに
書込むデータを転送する出力データバスと、上記入力及
び出力データバスとデータの入出力をすると共に上記メ
モリの読出し及び書込みを制御する中央演算処理装置と
を備えた制御装置におけるデータのチエツク装置におい
て、上記入力データバス上のデータからチエツクビツト
を発生する発生器と、上記入力データバス及び上記メモ
リのいずれかのデータを上記発生器のチエツクビツトに
より、かつ上記中央演算処理装置のタイミング制御によ
り誤りチエツクするチエツク回路と、上記中央演算処理
装置のタイミング制御により上記出力データバスのデー
タを上記入力データバスに転送するゲートとを備えたこ
とを特徴とするチエツク装置。
1. An input data bus that transfers data input via a plurality of input devices and data read from the memory, and an output data bus that transfers data output via a plurality of output devices and data written to the memory. , a data check device in a control unit comprising the input and output data bus, and a central processing unit that inputs and outputs data and controls reading and writing of the memory; a check circuit that checks for errors in data on either the input data bus or the memory using check bits of the generator and timing control of the central processing unit; A check device comprising: a gate for transferring data on the output data bus to the input data bus under timing control.
JP53061454A 1978-05-22 1978-05-22 Check device Expired JPS6029978B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53061454A JPS6029978B2 (en) 1978-05-22 1978-05-22 Check device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53061454A JPS6029978B2 (en) 1978-05-22 1978-05-22 Check device

Publications (2)

Publication Number Publication Date
JPS54152441A JPS54152441A (en) 1979-11-30
JPS6029978B2 true JPS6029978B2 (en) 1985-07-13

Family

ID=13171496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53061454A Expired JPS6029978B2 (en) 1978-05-22 1978-05-22 Check device

Country Status (1)

Country Link
JP (1) JPS6029978B2 (en)

Also Published As

Publication number Publication date
JPS54152441A (en) 1979-11-30

Similar Documents

Publication Publication Date Title
US3735105A (en) Error correcting system and method for monolithic memories
NO170113B (en) CONTROL LOGIC FOR PARITY INTEGRITY
US20030041290A1 (en) Method for monitoring consistent memory contents in redundant systems
JPS6029978B2 (en) Check device
US4953167A (en) Data bus enable verification logic
JP2513615B2 (en) Storage device with ECC circuit
KR950012495B1 (en) Memory Diagnostic Device and Method
JP3150571B2 (en) Dual system switching method
JPS5917465B2 (en) Check device
JPS63753A (en) Test system for memory error checking and correcting circuit
JP2767820B2 (en) Diagnosis device for abnormality monitoring unit
JPH079636B2 (en) Bus diagnostic device
JP2715740B2 (en) Bus monitoring circuit for information processing equipment
JP2583326Y2 (en) Data bus diagnostic equipment
JPS63174141A (en) Diagnosing system for test of information processor
JPH04252344A (en) Computer system
JPS63231554A (en) Storage device
JPS6237756A (en) Error detecting circuit
JPH02259953A (en) Command bus device
JPH0528052A (en) Method for restoration from abnormality of memory access control
JPS60116043A (en) Data processing device
JPS6310378A (en) Peripheral memory device
JPS60252971A (en) Memory access control system
JPS63245747A (en) Two-port memory abnormality detecting system
JPS63177240A (en) Control system for memory diagnosis