JPS60100230A - Real-time inspecting device for main storage part - Google Patents

Real-time inspecting device for main storage part

Info

Publication number
JPS60100230A
JPS60100230A JP58207042A JP20704283A JPS60100230A JP S60100230 A JPS60100230 A JP S60100230A JP 58207042 A JP58207042 A JP 58207042A JP 20704283 A JP20704283 A JP 20704283A JP S60100230 A JPS60100230 A JP S60100230A
Authority
JP
Japan
Prior art keywords
main
time
bus
storage part
section
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
JP58207042A
Other languages
Japanese (ja)
Other versions
JPS6336532B2 (en
Inventor
Shigeo Kusunoki
楠 繁雄
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58207042A priority Critical patent/JPS60100230A/en
Publication of JPS60100230A publication Critical patent/JPS60100230A/en
Publication of JPS6336532B2 publication Critical patent/JPS6336532B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Abstract

PURPOSE:To prevent a runaway and improve reliability by inspecting the contents of a main storage part at the timing when a main CPU to be inspected releases a bus. CONSTITUTION:A main computer system 13 and a real-time main storage part inspecting device 4 are connected together through a bus 3 which transfers a data signal 31, address signal 32 in a main storage part 1, and status signal 33. This inspecting device 4 consists of an inspecting CPU 7, etc., and inspects whether data stored in an inspection storage part 12 coincide with the contents of the main storage part 1 or not. When this inspection is performed, the main CPU 2 reads instructions out of the main storage part 1 at time t1-t2 and decodes those instructions at time t2-t3, but the main CPU 2 releases said bus 3 at this time and said inspecting device 4 occupies said bus 3 at time t5-t6 with an operation signal 8 detected by a bus monitor part 5 to store the data from a main storage part 1 in the inspection storage part 12 and perform the inspection.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、実時間主記憶部検査装置、特に、コンピュー
タの動作中にその命令の格納されている主記憶部を検査
するための実時間主記憶部検査装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field to which the Invention Pertains] The present invention relates to a real-time main memory inspection device, particularly a real-time main memory inspection device for inspecting a main memory in which instructions are stored while a computer is operating. This invention relates to a main storage inspection device.

〔共通的技術〕[Common technology]

一般に、命令が格納された主記憶部から命令を読み出し
て、解読、実行をくシ返す逐次処理型のデジタルコンビ
ーータにおいて、主記憶部に格納されている命令コード
が、外乱雑音等の何らかの原因によシ破壊された場合、
前記コンピータは暴走し、場合によっては、極めて危険
な結果を招く恐れがあるため、何らかの保護手段を備え
る必要が生じる。
In general, in a sequential processing type digital converter that reads instructions from the main memory where the instructions are stored, decodes and executes them, the instruction code stored in the main memory may be affected by disturbance noise, etc. If it is destroyed due to any cause,
Since the computer may run out of control and, in some cases, lead to extremely dangerous results, it is necessary to provide some kind of protection.

〔従来技術〕[Prior art]

従来の逐次処理型のディジタルコンピュータでは、ハー
ドタイマを、一定時間間隔でリセットするタスクを実行
させ、そのタスクが実行されないことによシ暴走を検出
するウオッチドツク方式や、検査用コンピュータシステ
ムを、主たるコンピュータシステムと別にiけ、両コン
ビーータ間を通信回線によシ結合して、検査用コンピュ
ータが、主たるコンピュータを、前記通信回線によυ監
視する方式等が実施されている。
In conventional sequential processing digital computers, the watchdog method, in which a hard timer is executed to reset a task at fixed time intervals, and a runaway is detected when the task is not executed, and the inspection computer system are Separately from the computer system, a method has been implemented in which both converters are connected via a communication line, and the inspection computer monitors the main computer via the communication line.

しかるに、これらの方式は、いずれも命令が格納されて
いる主記憶部を直接検査する方式ではなく、前記上たる
コンビーータの暴走を検出しようとするもので、暴走の
原因を事前に検出し、保護するものではない。
However, none of these methods directly inspects the main memory where instructions are stored, but instead attempts to detect runaway in the upper converter. It's not something you do.

さらに、これらの検査方式は、前記コンピ−タの、命令
実行時間の一部を割愛して検査を実施するため、コンビ
ーータの利用率が低下するとともに、より高速処理を必
要とするシステムにおいては、不刹去検査方式であると
いう問題が生じている。
Furthermore, these testing methods omit part of the instruction execution time of the computer to perform the testing, which reduces the utilization rate of the computer and, in systems that require higher-speed processing, A problem arises in that it is a non-destructive inspection method.

また、前記主記憶部内に、特定の領域を設け、例えば、
パリティビットなどを設ける方式も実施されているが、
前記主記憶部内に、冗長な領域を設けるため、主記憶部
の利用率が低下すると共に、経済性の面から不利になる
という問題が生じている。
Further, a specific area may be provided in the main memory, for example,
Although methods such as providing parity bits have been implemented,
Since a redundant area is provided in the main memory, the usage rate of the main memory decreases and there are problems in terms of economy.

すなわち、従来の主記憶部を検査する方式では、暴走を
防止できず、信頼性が低いという欠点がありた。
In other words, the conventional method of testing the main memory section has the disadvantage that runaway cannot be prevented and reliability is low.

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

〔発明の構成〕 本発明の実時間主記憶部検査装置は命令の読み出し、解
読、実行を1ザイクルとする逐次処理型デジタル式の主
コンピユータとOIJ記命令の格納されている主記憶部
とが互いにパスを介して接続されているコンピユークン
ステムに対する前記バスに接続された実時間主記憶部検
査装置において、前記主コンピユータの命令解読時間を
検出するバスモニタ部と、前記バスモニタ部によυ・1
*出された前記命令解読時間に前記バスを占有し前記主
コンピータと独立に前記主記憶部よシ内容をデータとし
て読み出すコントロール部と、読み出されたデータが一
時的に蓄積される検査記憶部と、蓄積された前記検査記
憶部の内容と予め貯えられた主記憶部の内容とが同一の
データであるとの一致を確認する検査CPU部とを含ん
で構成される。
[Structure of the Invention] The real-time main memory inspection device of the present invention includes a sequential processing type digital main computer that reads, decodes, and executes instructions in one cycle, and a main memory that stores OIJ instructions. In a real-time main memory inspection device connected to the bus for computer systems connected to each other via a path, a bus monitor unit detects the instruction decoding time of the main computer;・1
*A control unit that occupies the bus during the time of decoding the issued command and reads out the contents of the main memory as data independently of the main computer, and a test storage unit that temporarily stores the read data. and a test CPU unit that confirms that the stored content of the test storage unit and the pre-stored content of the main storage unit are the same data.

〔実施例の説明〕[Explanation of Examples]

次に、本発明の実施例について、図面を参照して詳細に
説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を含むブロック図で主記憶部
1は詩令を格納するもので、主CTJ U2はこの怜雀
を実行する逐次処理型の主中央処理装置である。
FIG. 1 is a block diagram including an embodiment of the present invention. A main memory section 1 stores poem commands, and a main CTJ U2 is a sequential processing type main central processing unit that executes this command.

データ信号31と主記憶部1内の特定のアドレスを指定
するアドレス信号32および主C)’U2の動作状軸を
表わすステータス信号33を転送するどくス3を介して
接続された主コンピュータシス査装置4と接続されてい
る。
A main computer system controller connected via a dox 3 that transfers a data signal 31, an address signal 32 specifying a specific address in the main memory 1, and a status signal 33 representing the operational axis of the main C)'U2. 4 is connected.

この実時間主記憶部検査装置4は、バスモニタ部5とコ
ントロール部6と、検査CPU部7と、検査記憶部12
とを含んでいる。バスモニタ部5は、前記パス3のステ
ータス信号33をデコードし、前記上CPU2の命令解
読時間の開始と終了を検出し、前記上CT’ U 2が
命令解読中であることをコントロール部6および検査C
PU部7へ、動作信号8および動作信号9によシ知らせ
る。コントロール部6はバスモニタ部5からの1動作信
号8により前記上CPU2が主記憶部1内の命令を解読
中であることを知ると前記主記憶部1の検査対象部分を
示すアドレス信号32を送出しそのアドレスに対応する
主記憶部1の内容をデータと1゜てデータ信号31によ
り読み込み検査記憶部12に一時的に蓄積すると共に動
作信号lOにより、検査CPU部7に対して、前述の′
i8:積作業が終了したことを報告する。検査記憶部1
2は前記コントロール部6によシ主記憶部1から読み出
されたバス3上のデータ信号31をデータとして蓄積さ
れるところであり、かつ検査CT’ U部7によシアク
セスされ内部バス11を介して、蓄積された前記データ
を検査CPU部7に対して送出する。検査CPU部7は
前記動作信号10により必要なデータが前記検査記憶部
12に蓄積されたことを知ると内部バス11を介して前
記検査記憶部12に格納されたデータを読み出し、その
データと予め貯えられた主記憶部1の前記アドレスの内
容と同一であるか否かを検査する。この検査結果が同−
一タス(8号33を送出するものである。
This real-time main memory inspection device 4 includes a bus monitor section 5, a control section 6, a test CPU section 7, and a test storage section 12.
Contains. The bus monitor section 5 decodes the status signal 33 of the path 3, detects the start and end of the instruction decoding time of the upper CPU 2, and informs the control section 6 and the controller 5 that the upper CT' U 2 is decoding the instruction. Inspection C
The PU unit 7 is notified by the operation signal 8 and the operation signal 9. When the control unit 6 learns from the 1 operation signal 8 from the bus monitor unit 5 that the upper CPU 2 is decoding an instruction in the main memory unit 1, it sends an address signal 32 indicating the portion of the main memory unit 1 to be inspected. The content of the main memory section 1 corresponding to the address is read as data by the data signal 31 and is temporarily stored in the test memory section 12, and at the same time, the above-mentioned data is sent to the test CPU section 7 by the operation signal lO. ′
i8: Report that the loading work has been completed. Test storage section 1
2 is where the data signal 31 on the bus 3 read from the main storage section 1 is stored as data by the control section 6, and accessed by the inspection CT'U section 7 and stored on the internal bus 11. The accumulated data is sent to the inspection CPU section 7 via the inspection CPU section 7. When the test CPU section 7 learns from the operation signal 10 that the necessary data has been stored in the test storage section 12, it reads out the data stored in the test storage section 12 via the internal bus 11, and combines the data with the data stored in the test storage section 12 in advance. It is checked whether the contents are the same as the contents of the address stored in the main storage section 1. This test result is the same.
One task (No. 8 33) is sent.

次に、主CPU2と実時間主記憶部検査装置4の動作を
第2図に示すタイミング図を参照して時間関係を説明す
る。
Next, the time relationship between the operations of the main CPU 2 and the real-time main storage testing device 4 will be explained with reference to the timing diagram shown in FIG.

第2図に示す動作タイミングIll aは第1図におけ
る主CP[J2の動作タイムチャートで時刻1+。
The operation timing Illa shown in FIG. 2 is at time 1+ in the operation time chart of main CP [J2 in FIG. 1.

t2の間は主CPU2の命令読出時間、時刻tz。The period t2 is the instruction reading time of the main CPU 2, time tz.

t3の間は命令解読時間、時刻t3.t4 の間は命令
の実行時間であシ、バスタイミングTbは実に前記主記
憶部1よシ検査すべき1個の命令コードを読み出す。
t3 is the instruction decoding time, time t3. The period t4 is the instruction execution time, and the bus timing Tb actually reads one instruction code to be checked from the main memory 1.

次に、動作について説明する。Next, the operation will be explained.

検査を開始する前に前記主記憶部1に格納されている正
しい命令コードすべてを検査記憶部12に移す。主CT
’[J2は主記憶部1がら時刻t1がらt2までの間に
命令を読み出し、時刻t2からt3の間に読み出した命
令を解読するが、このとき主CP[J2はバス3を解放
するので実時間主記憶部検査装置4は前記バスモニタ部
5にょシ検出された動作信号8で時刻t6がらt6の間
に前記バス3を占有し主記憶部1から1つの命令コード
を時刻tsから16の間に読み込み検査記憶部12に一
時的に蓄積する。その後検査CP[J部7は占有したバ
ス3を解放しこの蓄積したデータと予め蓄積した主記憶
部lの同一データ中の同一アドレスのデータを内部バス
11にょシ読み込み一致するか否かを比較し一致した場
合はコントロール部CPU2へ送出する。
Before starting the test, all correct instruction codes stored in the main storage section 1 are transferred to the test storage section 12. Main CT
'[J2 reads instructions from main memory 1 between time t1 and t2, and decodes the instructions read between time t2 and t3. At this time, main CP[J2 releases bus 3, so The time main memory inspection device 4 occupies the bus 3 from time t6 to t6 based on the operation signal 8 detected by the bus monitor 5, and reads one instruction code from the main memory 1 from time ts to 16. In the meantime, the data is read and temporarily stored in the test storage unit 12. After that, the inspection CP [J part 7 releases the occupied bus 3, reads this stored data and the data at the same address in the same data stored in the main memory part 1 stored in advance, and compares it to the internal bus 11 to see if they match. If they match, it is sent to the control unit CPU2.

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

本発明の実時間主記憶部検査装置は、検査対象となる主
CPUがバスを解放するタイミングをとらえて、主記憶
部の内容を、主CPUの動作中に検査できるため、主記
憶部の内容雑音等による変化に起因する暴走を未然に防
げるので、コンピ−タシステムの信頼性を向上できると
いう大きな効果がある。
The real-time main memory inspection device of the present invention can inspect the contents of the main memory while the main CPU is operating by capturing the timing when the main CPU to be inspected releases the bus. Since runaway caused by changes due to noise or the like can be prevented, this has the great effect of improving the reliability of the computer system.

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

第1図は本発明の一実施例を含むブロック図、第2図は
第1図に示す実施例におけるタイミングを示すタイミン
グ図である。 1・・・・・・主記憶部、2・川・・主CPU、 3・
川・・バス、A 、、、、、、中畔間十勲播加榛太壮悪
 リ1 ゴ h信号、32・・・・・・アドレス信号、
33・・・・・・ステータス信号、13・・・・・・+
コンピュータシステム、訃・・・・・バスモニタ部、6
・・・・・・コントロール部、7・・印・検査CPU部
、8. 9. 10・・・・・・動作、11・・・・・
・内部バス、12・・・・・・検査記憶部、Ta・・・
・・・動作タイミング、Tb・・・・・・バス占有り3
J′y7 図 箭 ? 図
FIG. 1 is a block diagram including an embodiment of the present invention, and FIG. 2 is a timing diagram showing the timing in the embodiment shown in FIG. 1... Main memory section, 2... Main CPU, 3.
River...bus, A,,,,,, Nakanakama Juukon Haruka Haruta Soakuri 1 Go h signal, 32...address signal,
33...Status signal, 13...+
Computer system, death... bus monitor department, 6
...Control section, 7... mark/inspection CPU section, 8. 9. 10...Movement, 11...
・Internal bus, 12...Test storage section, Ta...
...Operation timing, Tb...Bus occupancy 3
J'y7 Zuken? figure

Claims (1)

【特許請求の範囲】[Claims] 命令の読み出し、解読、実行を1サイクルとする逐次処
理型デジタル式の主コンピータと前記命令の格納されて
いる主記憶部とが、互いにバスを介して接続されている
コンピュータシステムに対する前記バス接続された実時
間主記憶部検査装置において、前記主コンピユータの命
令解読時間を検出するバスモニタ部と、前記バスモニタ
部によシ検出された前記命令解読時間に前記バスを占有
し前記主コンピユータと独立に前記主記憶部より内容を
データとして読み出すコントロール部と、読み出された
データが一時的に蓄積される検査記憶部と、蓄積された
前記検査記憶部の内容と予め貯えられた主記憶部の内容
とが同一のデータであるとの一致を確認する検査CPU
部とを含むことを特徴とする実時間主記憶部検査装置。
A serial processing type digital main computer in which reading, decoding, and executing an instruction constitutes one cycle and a main memory section in which the instruction is stored are connected to each other via a bus. The real-time main memory inspection device includes a bus monitor section that detects the instruction decoding time of the main computer, and a bus monitor section that occupies the bus during the instruction decoding time detected by the bus monitor section and is independent of the main computer. a control section that reads out the contents as data from the main storage section; a test storage section that temporarily stores the read data; and a control section that reads out the contents as data from the main storage section; a test storage section that temporarily stores the read data; Inspection CPU that confirms that the content is the same data.
1. A real-time main memory inspection device comprising:
JP58207042A 1983-11-04 1983-11-04 Real-time inspecting device for main storage part Granted JPS60100230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58207042A JPS60100230A (en) 1983-11-04 1983-11-04 Real-time inspecting device for main storage part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58207042A JPS60100230A (en) 1983-11-04 1983-11-04 Real-time inspecting device for main storage part

Publications (2)

Publication Number Publication Date
JPS60100230A true JPS60100230A (en) 1985-06-04
JPS6336532B2 JPS6336532B2 (en) 1988-07-20

Family

ID=16533241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58207042A Granted JPS60100230A (en) 1983-11-04 1983-11-04 Real-time inspecting device for main storage part

Country Status (1)

Country Link
JP (1) JPS60100230A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01151342U (en) * 1988-04-04 1989-10-19

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01151342U (en) * 1988-04-04 1989-10-19

Also Published As

Publication number Publication date
JPS6336532B2 (en) 1988-07-20

Similar Documents

Publication Publication Date Title
JPH02156357A (en) Program destruction preventing method
JPS60100230A (en) Real-time inspecting device for main storage part
EP0655686B1 (en) Retry control method and device for control processor
JPS62164140A (en) Testing of data processing system
JPH0230060B2 (en)
JPS59183443A (en) Debug device
JPH02297235A (en) Memory data protecting circuit
JPH01315840A (en) Information processor
JPS605361A (en) Check system for operation of program rom
JPH0341528A (en) Diagnostic device in computer
JPH04365145A (en) Memory fault processing method
JPH03126147A (en) Test system for external storage device
JPH0480860A (en) Program loading system
JPS63193235A (en) Inspecting method for condition code
JPS6073756A (en) Program tracer
JPS60251438A (en) Self-diagnosis method of control memory
JPS62127944A (en) Information processor
JPH01233532A (en) Trace control system in multi-processor system
JPH036618A (en) Abnormality detecting circuit for stack pointer
JPH0628329A (en) Input data check system for computer system
JPS60225941A (en) Microprogram control device
JPS6072036A (en) Error detecting system of control storage device
JPH01106238A (en) Error data collector
JPH0628302A (en) Microprocessor device
JPH02122335A (en) Test method for ras circuit