JPS61286932A - Access abnormality detecting circuit - Google Patents

Access abnormality detecting circuit

Info

Publication number
JPS61286932A
JPS61286932A JP60128112A JP12811285A JPS61286932A JP S61286932 A JPS61286932 A JP S61286932A JP 60128112 A JP60128112 A JP 60128112A JP 12811285 A JP12811285 A JP 12811285A JP S61286932 A JPS61286932 A JP S61286932A
Authority
JP
Japan
Prior art keywords
circuit
address
output
stored
storage device
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
JP60128112A
Other languages
Japanese (ja)
Inventor
Yasuo Inoue
靖雄 井上
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60128112A priority Critical patent/JPS61286932A/en
Publication of JPS61286932A publication Critical patent/JPS61286932A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect the failure of an address circuit and the misselection of a storage circuit in a system for controlling execution by an address counter by storing a code word corresponding to the value of an address in the storage device. CONSTITUTION:A code word corresponding to the value of an address has been previously stored in the storage device 4. When the address is continuously changed, an output A1 of an address storing circuit 3 is added by +1 in an arithmetic circuit 1 and the added signal is inputted and stored to/in the circuit 3 through a selecting circuit 2 under the control of a signal C1. Simultaneously, the output A1 is inputted to an encoding circuit 7 through a selecting circuit 6 under the control of the signal C1 and the output of the circuit 7 is stored in a code storing circuit 8. When the address is discontinuously changed, a new address A2 is stored in the circuit 3 and a value subtracted by '1' by an arithmetic circuit 5 is inputted and stored to/in the circuit 7. A code word CD1 outputted from the storage device 4 is compared with an output CD2 from the circuit 8 by a code comparator 9 to obtain an output ER as failure information.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、アドレス回路の出力によって記憶回路からプ
ログラムを読み出し実行する。10グラム制御のシステ
ムにおいて好適な故障検出回路である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention reads a program from a storage circuit and executes it using the output of an address circuit. This is a failure detection circuit suitable for a 10-gram control system.

〔発明の背景〕[Background of the invention]

アドレス回路の故障検出にパリティ予測方式を利用した
方式のものが知られている。しかし、プログラム制御方
式のシステムにおいては、アドレス回路の故障を検出す
るだけでなく、記憶装置が誤って選ばれたことも検出す
る必要が有り、パリティ予測方式を利用した場合、記憶
装置の誤選択という問題については配慮されていなかっ
た。
A method using a parity prediction method for detecting a failure in an address circuit is known. However, in a program control system, it is necessary not only to detect a failure in the address circuit, but also to detect that a storage device has been selected incorrectly. This issue was not considered.

なお、この種の装置として関連するものには。In addition, related to this type of device.

例えば特開昭56−2049号が挙げられる。For example, Japanese Patent Application Laid-Open No. 56-2049 can be mentioned.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、プログラムを記憶装置に格納し、アド
レスカウンタによってその実行を管理しているシステム
におけるシステム実行中のアドレス回路又は記憶装置選
択回路の故障検出方法を提供することKある。
An object of the present invention is to provide a method for detecting a failure in an address circuit or a storage device selection circuit during system execution in a system in which a program is stored in a storage device and its execution is managed by an address counter.

〔発明の概要〕[Summary of the invention]

本発明は、アドレス回路の故障及び記憶装置の故障を検
出するために、あらかじめ記憶装置に番地の値に対応す
る符号語を格納しておく。アドレス回路の出力を符号化
回路により符号化し、その値と記憶装置からの出力され
る符号語を比較するととくよりアドレス回路故障と記憶
装置の誤選択の検出を行うことができる。
In the present invention, code words corresponding to address values are stored in advance in a storage device in order to detect failures in the address circuit and storage device. If the output of the address circuit is encoded by an encoding circuit and the value is compared with the code word output from the storage device, address circuit failures and incorrect selection of the storage device can be particularly detected.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

プログラム及び故障検出に利用する符号語を記憶する記
憶装置4、記憶装置に出力するアドレスを記憶している
アドレス記憶回路3、アドレス記憶回路の出力A1に+
1する演算回路1、演算回路1の出力とアドレスが不連
続く変化した場合の新しいアドレスA2とを選択してア
ドレス記憶回路3に伝える選択口@2.アドレスA2を
−1する演算回路5.連続にアドレスが変化した場合と
不連続にアドレスが変化した場合、アドレス記憶回路3
の出力A1と演算回路5の出力を選択して符号化回路に
伝える選択回路6、選択回路6の出力を符号化する符号
化回路7、符号化回路7の出力を記憶する符号記憶回路
8.符号記憶回路8の出力CD2と記憶装置4の符号出
力CDIを比較する符号比較回路9から構成される。
A storage device 4 that stores code words used for programs and failure detection, an address storage circuit 3 that stores addresses to be output to the storage device, and an output A1 of the address storage circuit.
1, a selection port @2 which selects the output of the arithmetic circuit 1 and a new address A2 when the address changes discontinuously and transmits it to the address storage circuit 3. Arithmetic circuit for decrementing address A2 by 5. When the address changes continuously and when the address changes discontinuously, the address storage circuit 3
A selection circuit 6 which selects the output A1 of the output A1 and the output of the arithmetic circuit 5 and transmits the same to the encoding circuit, an encoding circuit 7 which encodes the output of the selection circuit 6, and a code storage circuit 8 which stores the output of the encoding circuit 7. It is composed of a code comparison circuit 9 that compares the output CD2 of the code storage circuit 8 and the code output CDI of the storage device 4.

記憶装置4には、事前に番地の値に対応した符号語を格
納してお(。N番地には(N−1)番地の値を符号化し
格納する。ただし、記憶装置4の先頭番地には、記憶装
置の最終番地の値に対応する符号語を格納しておく。
The storage device 4 stores in advance a code word corresponding to the value of the address (. The value of the address (N-1) is encoded and stored at the address N. However, the code word corresponding to the value of the address is stored in advance. stores the code word corresponding to the value of the final address of the storage device.

アドレスが連続に変化する場合、アドレス記憶回路3の
出力A1は、演算回路1において+1されC1信号の制
御により選択回路2を通してアドレス記憶回路3に入力
されC2信号により記憶される。前記と並行してC1信
号の制御により選択回路6を通してアドレスA1は符号
化回路7に入力され、符号化回路7の出力はC2信号に
より符号記憶回路8に記憶される。アドレスが不連続に
変化する場合、新しいアドレスA2が、C1信号の制御
により選択回路2を通してアドレス記憶回路3に記憶さ
れる。演算回路5により新しいアドレスA2から−1さ
れた値がC1信号の制御により選択回路6を通して符号
化回路7に入力され、符号化回路7の出力がC2信号に
より符号記憶回路 路8に記憶される。
When the address changes continuously, the output A1 of the address storage circuit 3 is incremented by 1 in the arithmetic circuit 1, and is inputted to the address storage circuit 3 through the selection circuit 2 under the control of the C1 signal and stored by the C2 signal. In parallel with the above, the address A1 is input to the encoding circuit 7 through the selection circuit 6 under the control of the C1 signal, and the output of the encoding circuit 7 is stored in the code storage circuit 8 according to the C2 signal. When the address changes discontinuously, a new address A2 is stored in the address storage circuit 3 through the selection circuit 2 under the control of the C1 signal. The value subtracted by 1 from the new address A2 by the arithmetic circuit 5 is input to the encoding circuit 7 through the selection circuit 6 under the control of the C1 signal, and the output of the encoding circuit 7 is stored in the code storage circuit 8 by the C2 signal. .

アドレス記憶回路3の出力A1によって、記憶装置から
出力された符号語CDIと符号記憶回路8の出力CDI
を符号比較回路9において比較を行ない故障情報として
出力ERが得られる。
The code word CDI output from the storage device and the output CDI of the code storage circuit 8 are determined by the output A1 of the address storage circuit 3.
are compared in the code comparison circuit 9, and an output ER is obtained as failure information.

本実施例において、アドレス記憶回路3.符号化回路7
等に故障が発生した場合、記憶装置4からの符号出力C
DIと符号記憶回路8の出力CDIの値が一致しないた
め、故障が発生したことが検出できる。
In this embodiment, the address storage circuit 3. Encoding circuit 7
etc., the code output C from the storage device 4
Since the values of DI and the output CDI of the code storage circuit 8 do not match, it is possible to detect that a failure has occurred.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、プログラム実行中において、プログラ
ム実行を管理しているアドレス回W!r、プログラムを
格納している記憶装置の・故障が検出できるので、プロ
グラム実行順序の異常によるシステム障害防止の効果が
ある。
According to the present invention, during program execution, the address W! that is managing the program execution! r. Failures in the storage device that stores programs can be detected, which has the effect of preventing system failures due to abnormalities in the program execution order.

C2・・・記憶タイミング信号、 A1・・・アドレス、 第 II!1C2...memory timing signal, A1...address, Part II! 1

Claims (1)

【特許請求の範囲】[Claims] 1.プログラムの実行を管理するアドレスカウンタとプ
ログラムを記憶する記憶装置から成るシステムにおいて
、アドレスを符号化する回路とアドレスに対応した符号
語を記憶装置にあらかじめ格納しておくことを特徴とし
たアクセス異常検出回路。
1. In a system consisting of an address counter that manages program execution and a storage device that stores the program, access abnormality detection is characterized in that a circuit that encodes the address and a code word corresponding to the address are stored in the storage device in advance. circuit.
JP60128112A 1985-06-14 1985-06-14 Access abnormality detecting circuit Pending JPS61286932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60128112A JPS61286932A (en) 1985-06-14 1985-06-14 Access abnormality detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60128112A JPS61286932A (en) 1985-06-14 1985-06-14 Access abnormality detecting circuit

Publications (1)

Publication Number Publication Date
JPS61286932A true JPS61286932A (en) 1986-12-17

Family

ID=14976675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60128112A Pending JPS61286932A (en) 1985-06-14 1985-06-14 Access abnormality detecting circuit

Country Status (1)

Country Link
JP (1) JPS61286932A (en)

Similar Documents

Publication Publication Date Title
JPS5622143A (en) Error processing system
JP2606862B2 (en) Single error detection and correction method
JPS61286932A (en) Access abnormality detecting circuit
IE850824L (en) Arrangement for supervising a data processing system
SU754483A1 (en) Device for monitoring read-only memory unit
SU705901A1 (en) Storing device
JPH01194035A (en) Address parity checking system for information processor
JPS61128338A (en) Microprogram control device
JPS6166293A (en) Main memory
SU1005186A1 (en) Three-channel storage device
JPH0395653A (en) Address error detecting method for data storage device
JPS5578357A (en) Program overrun detection unit
SU528614A1 (en) Random Access Memory
JPH01211128A (en) Phenomenon detecting system in microprocessor
JPS5542343A (en) Control system for memory unit
JPH0120778B2 (en)
JPH08305636A (en) Memory device
JPH01251254A (en) Interruption request generating system
JPH0362146A (en) Data protection device to be used in computer system
KR910010310A (en) Dual circuit of digital system
JPH0229839A (en) Microprogram control device
JPH02126347A (en) Memory access system
JPH0371236A (en) Error detecting system
JPS61160146A (en) Control system of address stack pointer device
JPS60209851A (en) Program sequence stop system