JPH05274169A - Computer - Google Patents

Computer

Info

Publication number
JPH05274169A
JPH05274169A JP4068255A JP6825592A JPH05274169A JP H05274169 A JPH05274169 A JP H05274169A JP 4068255 A JP4068255 A JP 4068255A JP 6825592 A JP6825592 A JP 6825592A JP H05274169 A JPH05274169 A JP H05274169A
Authority
JP
Japan
Prior art keywords
memory
slave
data
diagnostic
diagnosis
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
JP4068255A
Other languages
Japanese (ja)
Inventor
Kumiko Murakami
久美子 村上
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 JP4068255A priority Critical patent/JPH05274169A/en
Publication of JPH05274169A publication Critical patent/JPH05274169A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a computer which diagnoses the fault of a memory without stopping the steady processing, never performs a down load operation even if a system memory part undergoes the read and write operations for diagnosis of the memory fault, and can automatically restore the contents of the faulty memory. CONSTITUTION:A computer consists of a CPU part 1, a primary memory part 5a and a secondary memory 5b which simultaneously write the data given from the part 1 and output these data through one of both memories, a diagnostic processor 6 which alternately diagnoses the troubles of both memory parts 5a and 5b, a selector 7 which selects one of parts 5a and 5b to which the part 1 or the processor 6 is connected, and an external interface part 3 which inputs a signal to point one of both parts 5a and 5b that should be diagnosed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、定常動作中の計算機
のCPU部を停止させずにシステムメモリの故障を検出
し、自動的に故障メモリを切離し、処理を続行できる計
算機に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer capable of detecting a system memory failure, automatically disconnecting the failure memory, and continuing processing without stopping the CPU unit of the computer which is operating steadily.

【0002】[0002]

【従来の技術】図18は従来の計算機の構成図である。
図において、1はCPU部、2はデータをダウンロード
し、格納するためのシステムメモリ部、3は外部インタ
フェース部、4はアドレスバスとデータバスと制御信号
から構成される内部バスである。
2. Description of the Related Art FIG. 18 is a block diagram of a conventional computer.
In the figure, 1 is a CPU unit, 2 is a system memory unit for downloading and storing data, 3 is an external interface unit, and 4 is an internal bus composed of an address bus, a data bus and control signals.

【0003】従来の計算機は以上のように構成され、デ
ータは外部インタフェース部3を通してシステムメモリ
部2にダウンロードされ動作している。メモリ故障診断
プログラムを実行するためには、定常時の処理プログラ
ムを停止させ、メモリ故障診断のためのプログラムを実
行させる。なお、この時、システムメモリ部2にメモリ
故障診断のためのリード及びライトが行われるため、定
常時の処理で格納されていたデータは書換えられる。こ
のため、メモリ故障診断終了後、改めてデータをシステ
ムメモリ部2に再度ダウンロードさせていた。また、故
障診断でエラーが起きた場合は、メモリの改修をしてか
ら計算機の動作を再開してなくてはならない。
The conventional computer is configured as described above, and data is downloaded to the system memory unit 2 through the external interface unit 3 and is operating. In order to execute the memory failure diagnosis program, the processing program in the steady state is stopped and the memory failure diagnosis program is executed. At this time, since the system memory unit 2 is read and written for memory failure diagnosis, the data stored in the steady-state processing is rewritten. For this reason, after the memory failure diagnosis is completed, the data is again downloaded to the system memory unit 2. If an error occurs in the failure diagnosis, the memory must be repaired and the operation of the computer must be restarted.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来の計
算機においては、メモリ故障診断プログラムを実行する
ために定常処理を一時停止させる必要があり、診断によ
ってメモリ内容が書換えられるため、メモリ故障診断後
に再びデータのダウンロードを実行しなければならな
い。また、故障診断でエラーが起きた場合に動作を再開
できないという課題があった。
In the conventional computer as described above, it is necessary to suspend the steady process in order to execute the memory failure diagnosis program, and the memory contents are rewritten by the diagnosis, so that the memory failure diagnosis is performed. You will have to perform the data download again later. Further, there is a problem that the operation cannot be restarted when an error occurs in the failure diagnosis.

【0005】この発明は、かかる課題を解決するために
なされたものであり、定常処理動作を停止させることな
くメモリ故障診断を実行し、システムメモリ部2にメモ
リ故障診断のためのリード及びライトが行われてもメモ
リ故障診断後、再びデータのダウンロードをせずに、故
障診断されたメモリの内容を自動的に復帰できる計算機
を得ることを目的としている。
The present invention has been made to solve the above problems, and executes memory failure diagnosis without stopping the steady processing operation, and the system memory unit 2 is provided with a read and a write for the memory failure diagnosis. The object of the present invention is to obtain a computer that can automatically restore the contents of the memory that has been subjected to the failure diagnosis without downloading the data again after the failure diagnosis of the memory.

【0006】またこの発明はメモリデータの異常時に処
理を停止させることなく故障検出及びメモリ故障診断を
実行し、システムメモリ部2にメモリ故障診断のための
リード及びライトが行われてもメモリ故障診断後、デー
タのダウンロードをせずに、故障診断されたメモリの内
容を自動的に復帰でき、故障診断でメモリに故障がある
ことが分った場合には故障のメモリを自動的に切離し、
処理を続行できる計算機を得ることを目的としている。
Further, according to the present invention, the failure detection and the memory failure diagnosis are executed without stopping the processing when the memory data is abnormal, and the memory failure diagnosis is performed even if the system memory unit 2 is read and written for the memory failure diagnosis. After that, the contents of the fault-diagnosed memory can be restored automatically without downloading data, and if the fault diagnosis shows that the memory has a fault, the faulty memory is automatically disconnected.
The purpose is to obtain a computer that can continue processing.

【0007】[0007]

【課題を解決するための手段】この発明に係る計算機は
CPU部からのデータ書き込み要求に対し、データを同
時に書き込み、いずれか一方からのみ出力する主系と従
系からなるメモリ部、上記主系及び従系のメモリの故障
を交互に診断する診断プロセッサ、上記CPU部または
上記診断プロセッサのいずれかを主系メモリまたは従系
メモリのいずれかに接続するかを選択するセレクタ、上
記主系メモリまたは従系メモリを診断するかを指示する
信号を上記診断プロセッサへ出力する診断制御信号発生
手段とを具備したものである。
A computer according to the present invention is a memory unit consisting of a master system and a slave system for simultaneously writing data in response to a data write request from a CPU unit and outputting from only one of them, the above-mentioned master system. And a diagnostic processor for alternately diagnosing a failure of a slave memory, a selector for selecting whether to connect either the CPU unit or the diagnostic processor to a master memory or a slave memory, the master memory, or And a diagnostic control signal generating means for outputting to the diagnostic processor a signal instructing whether to diagnose the slave memory.

【0008】またこの発明に係る計算機はCPU部から
のデータ書き込み要求に対し、データを同時に書き込
み、いずれか一方からのみ出力する主系と従系からなる
メモリ部、上記主系及び従系のメモリの故障を交互に診
断する診断プロセッサ、上記CPU部または診断プロセ
ッサのいずれかを上記主系メモリまたは従系メモリのい
ずれかに接続するかを選択するセレクタ、上記主系及び
従系のメモリの出力データを比較する比較回路とを具備
し、上記比較回路においてデータが一致しない場合、メ
モリの故障診断を上記診断プロセッサによって交互に実
行し、故障メモリを自動的に切離すようにしたものであ
る。
Further, the computer according to the present invention, in response to a data write request from the CPU section, simultaneously writes data and outputs from only one of them, a memory section consisting of a main system and a slave system, the above-mentioned master system and slave system memories. , A selector for selecting whether to connect either the CPU unit or the diagnostic processor to the main memory or the sub memory, and outputs of the main and sub memories. A comparison circuit for comparing data is provided, and when the data does not match in the comparison circuit, the failure diagnosis of the memory is alternately executed by the diagnosis processor, and the failure memory is automatically separated.

【0009】[0009]

【作用】この発明においては、主系メモリ、従系メモリ
をCPU部1または診断プロセッサに交互に接続出来る
ようにしたことによって、故障診断時においても定常処
理を停止することなく、また、故障診断後に再びデータ
をダウンロードを行わなくても、故障診断後のメモリの
データが自動的に復帰するように作用する。
According to the present invention, the main system memory and the slave system memory can be alternately connected to the CPU section 1 or the diagnostic processor, so that the steady process is not stopped even during the fault diagnosis and the fault diagnosis is performed. Even if the data is not downloaded again later, the data in the memory after the failure diagnosis is automatically restored.

【0010】また、この発明は比較回路によって自動的
にメモリデータの故障を検出し、診断プロセッサに起動
をかけることによって、主系メモリ、従系メモリをCP
U部1または診断プロセッサに交互に接続出来るように
セレクタを切換える。これによって、メモリデータの故
障時に自動的にメモリ故障診断が実行でき、故障診断に
よってメモリに故障があることが分った場合には、故障
のメモリをセレクタによって切離すことによって、処理
を続行するように作用する。
Further, according to the present invention, the comparison circuit automatically detects a failure of the memory data and activates the diagnostic processor, so that the main memory and the slave memory are controlled by the CP.
The selector is switched so that it can be alternately connected to the U unit 1 or the diagnostic processor. As a result, the memory failure diagnosis can be automatically executed when the memory data fails, and if the failure diagnosis shows that the memory has a failure, the processing is continued by disconnecting the failed memory with the selector. Acts like.

【0011】[0011]

【実施例】【Example】

実施例1.図1はこの発明の一実施例を示す計算機の構
成図である。図において、1、3及び4は従来例と同じ
である。5a,5bはCPU部1から出力されるデータ
を同時に格納し、CPU部1からのリード要求時にはい
ずれか一方からのデータをCPU部1に出力する主系メ
モリ及び従系メモリ、6は主系メモリ5aまたは従系メ
モリ5b診断する診断プロセッサ、7a、7bはCPU
部1に主系メモリ5a、従系メモリ5bを接続するか否
かの切換をするセレクタ、8aは故障診断要求及び主系
メモリ5aまたは従系メモリ5bを診断するかを指示す
る診断制御信号である。定常処理時は、主系メモリ5a
のデータがCPU部1に出力される。セレクタ7a、7
bは外部インターフェース部3からの診断制御信号8に
基づいて切換動作を実行する。9は主系メモリ5a及び
従系メモリ5bと診断プロセッサ6との診断データ転送
バスである。なお、図1は主系メモリ5a、従系メモリ
5b共にCPU部1にセレクタ7a,7bによって接続
されている状態を示す。
Example 1. FIG. 1 is a block diagram of a computer showing an embodiment of the present invention. In the figure, 1, 3 and 4 are the same as in the conventional example. Reference numerals 5a and 5b are main memories and slave memories that simultaneously store data output from the CPU unit 1 and output data from either one to the CPU unit 1 when a read request is issued from the CPU unit 1, and 6 is a main system memory. Diagnostic processor for diagnosing the memory 5a or the subordinate memory 5b, and 7a and 7b are CPUs
A selector for switching whether or not to connect the main memory 5a and the slave memory 5b to the unit 1, 8a is a failure diagnosis request and a diagnostic control signal for instructing whether to diagnose the main memory 5a or the slave memory 5b. is there. During steady processing, main memory 5a
Data is output to the CPU unit 1. Selectors 7a, 7
The switch b executes the switching operation based on the diagnostic control signal 8 from the external interface unit 3. Reference numeral 9 is a diagnostic data transfer bus between the main memory 5a and the slave memory 5b and the diagnostic processor 6. Note that FIG. 1 shows a state in which both the main memory 5a and the slave memory 5b are connected to the CPU section 1 by selectors 7a and 7b.

【0012】図2は従系メモリ5bを診断中の計算機の
構成図、図3は主系メモリ5aを診断中の計算機の構成
図である。
FIG. 2 is a block diagram of the computer which is diagnosing the slave memory 5b, and FIG. 3 is a block diagram of the computer which is diagnosing the master memory 5a.

【0013】図4は、診断プロセッサ6の構成図であ
る。図において、10は演算制御回路、11は主系メモ
リ5a及び従系メモリ5bの診断データを入出力する入
出力回路、12はメモリ故障診断用のプログラム及びデ
ータを格納するメモリ回路である。
FIG. 4 is a block diagram of the diagnostic processor 6. In the figure, 10 is an operation control circuit, 11 is an input / output circuit for inputting / outputting diagnostic data of the main system memory 5a and the sub system memory 5b, and 12 is a memory circuit for storing a program and data for memory failure diagnosis.

【0014】以下、この発明の計算機の動作を図1、図
2、図3及び図4を参照しながら説明する。定常処理動
作時は、図1に示すように主系メモリ5aと従系メモリ
5bをセレクタ7a,7bを用いて内部バス4に接続す
る。この時、CPU部1から出力されるデータは、主系
メモリ5aと従系メモリ5bの両方に同時に格納され
る。よって主系メモリ5aと従系メモリ5bの内容は常
に同一データが保持されることになる。また、CPU部
1からのリード要求時には、主系メモリ5aからのデー
タのみCPU部1に出力するように動作する。
The operation of the computer of the present invention will be described below with reference to FIGS. 1, 2, 3 and 4. In the steady processing operation, the main memory 5a and the slave memory 5b are connected to the internal bus 4 by using the selectors 7a and 7b as shown in FIG. At this time, the data output from the CPU unit 1 is simultaneously stored in both the main memory 5a and the slave memory 5b. Therefore, the same data is always held in the contents of the master memory 5a and the slave memory 5b. Further, when a read request is issued from the CPU unit 1, only the data from the main system memory 5a is output to the CPU unit 1.

【0015】次に外部インタフェース部3より診断制御
信号8aが発生した場合について説明する。診断制御信
号8aを受けた診断プロセッサ6は、従系メモリ5bの
診断または主系メモリ5aの診断のいずれかの指示内容
により、図2もしくは図3のようにセレクタ7a、7b
を切換える。従系メモリ5bの診断の場合はCPU部1
が出力するデータは、主系メモリ5aにのみ出力され
る。診断プロセッサ6はメモリ回路12に格納されてい
る故障診断プログラムを実行し、CPU部1と主系メモ
リ5aの動作と並行して、従系メモリ5bのメモリ故障
診断を実行することが可能になる。
Next, the case where the diagnostic control signal 8a is generated from the external interface section 3 will be described. The diagnostic processor 6 which has received the diagnostic control signal 8a selects the selectors 7a and 7b as shown in FIG. 2 or 3 depending on the instruction content of either the diagnostic of the slave memory 5b or the diagnostic of the master memory 5a.
To switch. CPU unit 1 for diagnosis of the slave memory 5b
The data output by is output only to the main memory 5a. The diagnostic processor 6 executes the failure diagnosis program stored in the memory circuit 12, and in parallel with the operations of the CPU unit 1 and the main memory 5a, it becomes possible to execute the memory failure diagnosis of the slave memory 5b. ..

【0016】従系メモリ5bの診断が終了すると、診断
プロセッサ6は図2のセレクタ7bの状態を図1のよう
に切換える。この後、CPU部1からのデータは定常処
理時と同様に主系メモリ5a及び従系メモリ5bにライ
トされ、従来の様な外部からのダウンロードなしに、従
系メモリ5bの内容は自動的に復帰することになる。
When the diagnosis of the slave memory 5b is completed, the diagnosis processor 6 switches the state of the selector 7b of FIG. 2 as shown in FIG. After this, the data from the CPU unit 1 is written to the master memory 5a and the slave memory 5b in the same manner as during the regular processing, and the contents of the slave memory 5b are automatically updated without external download as in the conventional case. I will be back.

【0017】次に主系メモリ5aの診断要求時には、診
断プロセッサ6は図3のようにセレクタ7a、7bを切
換える。この時、CPU部1からの出力は従系メモリ5
bにのみライトされる。また、CPU部1からのリード
要求に対しては従系メモリ5bのデータが内部バス4に
出力されることになる。診断プロセッサ6により、従系
メモリ5bの診断と同様に、主系メモリ5aをCPU部
1の動作と並行して診断することが可能になる。
Next, when the diagnosis of the main system memory 5a is requested, the diagnosis processor 6 switches the selectors 7a and 7b as shown in FIG. At this time, the output from the CPU unit 1 is the slave memory 5
Only written to b. Further, in response to a read request from the CPU unit 1, the data in the slave memory 5b is output to the internal bus 4. The diagnostic processor 6 enables the main memory 5a to be diagnosed in parallel with the operation of the CPU unit 1, similarly to the diagnosis of the subordinate memory 5b.

【0018】主系メモリ5aの故障診断後、診断プロセ
ッサ6は、再びセレクタ7aを図1のように切換え、C
PU部1からの出力を主系メモリ5a及び従系メモリ5
bにライトする定常処理動作に戻る。
After the failure diagnosis of the main system memory 5a, the diagnostic processor 6 switches the selector 7a again as shown in FIG.
The output from the PU unit 1 is used as the main memory 5a and the slave memory 5
Return to the normal processing operation of writing in b.

【0019】実施例2 図5はこの発明の実施例2を示す計算機の構成図であ
る。図において、13は任意のタイミングで診断プロセ
ッサ6に起動をかけるプログラマブル診断要求信号発生
回路、8bは故障診断要求及び主系メモリ5aまたは従
系メモリ5bを診断するかを指示する診断制御信号であ
る。定常処理時は、主系メモリ5aのデータがCPU部
1に出力される。セレクタ7a、7bはプログラマブル
診断要求信号発生回路13からの診断制御信号8bに基
づいて切換動作を実行する。14は診断制御信号8bの
発生するタイミングを設定する診断要求タイミングデー
タである。なお、図5は主系メモリ5a、従系メモリ5
b共にCPU部1にセレクタ7a,7bによって接続さ
れている状態を示す。
Second Embodiment FIG. 5 is a configuration diagram of a computer showing a second embodiment of the present invention. In the figure, 13 is a programmable diagnosis request signal generation circuit for activating the diagnosis processor 6 at an arbitrary timing, and 8b is a failure control request and a diagnosis control signal for instructing whether to diagnose the main memory 5a or the slave memory 5b. .. During steady processing, the data in the main system memory 5a is output to the CPU unit 1. The selectors 7a and 7b execute the switching operation based on the diagnostic control signal 8b from the programmable diagnostic request signal generating circuit 13. Reference numeral 14 is diagnostic request timing data for setting the timing at which the diagnostic control signal 8b is generated. 5 shows the main memory 5a and the slave memory 5
Both b show a state in which they are connected to the CPU section 1 by selectors 7a and 7b.

【0020】図6は、プログラマブル診断要求信号発生
回路13の構成図である。図において、15は診断要求
タイミングデータ14を入力するためのリード制御回
路、16は診断制御信号8bを発生するカウンタであ
る。17はリード制御回路15の情報を格納し、カウン
タ16を制御するコントロールレジスタである。カウン
タ16は入力された診断要求タイミングデータ14に従
い、診断制御信号8bを発生する。
FIG. 6 is a block diagram of the programmable diagnosis request signal generation circuit 13. In the figure, 15 is a read control circuit for inputting the diagnostic request timing data 14, and 16 is a counter for generating the diagnostic control signal 8b. Reference numeral 17 is a control register that stores information of the read control circuit 15 and controls the counter 16. The counter 16 generates a diagnosis control signal 8b according to the input diagnosis request timing data 14.

【0021】図7は従系メモリ5bを診断中の計算機の
構成図、図8は主系メモリ5aを診断中の計算機の構成
図である。
FIG. 7 is a block diagram of the computer during diagnosis of the slave memory 5b, and FIG. 8 is a block diagram of the computer during diagnosis of the master memory 5a.

【0022】図9は計算機のタイミングチャートであ
る。図において、T1はCPU部1が定常処理の状態で
ある。T2は診断プロセッサ6が従系メモリ5bを診断
中の状態、T3は主系メモリ5aを診断中の状態であ
る。T4、T5、T6の期間でセレクタ7a、7bの状
態は図1のような設定になっている。T2の期間でセレ
クタ7a、7bの状態は図4、T3の期間でセレクタ7
a、7bの状態は図5のような設定になっている。
FIG. 9 is a timing chart of the computer. In the figure, T1 is a state in which the CPU unit 1 is in a steady process. T2 is a state in which the diagnostic processor 6 is diagnosing the slave memory 5b, and T3 is a state in which the master memory 5a is being diagnosed. The states of the selectors 7a and 7b are set as shown in FIG. 1 during the periods T4, T5, and T6. The state of the selectors 7a and 7b during the period of T2 is as shown in FIG.
The states of a and 7b are set as shown in FIG.

【0023】以下、この発明の計算機の動作を図4〜図
9を参照しながら説明する。定常処理動作時は、図5に
示すように主系メモリ5aと従系メモリ5bをセレクタ
7a,7bを用いて内部バス4に接続する。この時、C
PU部1から出力されるデータは、主系メモリ5aと従
系メモリ5bの両方に同時に格納される。よって主系メ
モリ5aと従系メモリ5bの内容は常に同一データが保
持されることになる。また、CPU部1からのリード要
求時には、主系メモリ5aからのデータのみCPU部1
に出力するように動作する。この動作状態は、図9にお
けるT4、T5、T6期間に対応している。
The operation of the computer of the present invention will be described below with reference to FIGS. During the steady processing operation, as shown in FIG. 5, the main memory 5a and the slave memory 5b are connected to the internal bus 4 by using the selectors 7a and 7b. At this time, C
The data output from the PU unit 1 is simultaneously stored in both the main memory 5a and the slave memory 5b. Therefore, the same data is always held in the contents of the master memory 5a and the slave memory 5b. Further, when a read request is issued from the CPU unit 1, only the data from the main system memory 5a is sent to the CPU unit 1
Works to output to. This operating state corresponds to the T4, T5, and T6 periods in FIG.

【0024】診断要求のタイミングは、診断要求タイミ
ングデータ14からプログラマブル診断要求信号発生回
路13内のリード制御回路15を通してコントロールレ
ジスタ17とカウンタ16に設定される。これによって
CPU部1の診断は任意のタイミングで実行することが
できる。
The timing of the diagnostic request is set in the control register 17 and the counter 16 from the diagnostic request timing data 14 through the read control circuit 15 in the programmable diagnostic request signal generation circuit 13. Thereby, the diagnosis of the CPU unit 1 can be executed at any timing.

【0025】次にプログラマブル診断要求信号発生回路
13より診断制御信号8bが発生した場合について説明
する。診断制御信号8bを受けた診断プロセッサ6は、
従系メモリ5bの診断または主系メモリ5aの診断のい
ずれかの指示内容により、図4もしくは図5のようにセ
レクタ7a、7bを切換える。
Next, the case where the diagnostic control signal 8b is generated from the programmable diagnostic request signal generating circuit 13 will be described. The diagnostic processor 6 receiving the diagnostic control signal 8b
The selectors 7a and 7b are switched as shown in FIG. 4 or 5 depending on the instruction content of either the diagnosis of the slave memory 5b or the diagnosis of the master memory 5a.

【0026】従系メモリ5bの診断の場合は図7のよう
にセレクタ7a、7bを切り換え、CPU部1が出力す
るデータは、主系メモリ5aにのみ出力される。診断プ
ロセッサ6は図4のメモリ回路12に格納されている故
障診断プログラムを実行し、CPU部1と主系メモリ5
aの動作と並行して、従系メモリ5bのメモリ故障診断
を実行することが可能になる。この動作状態は、図9に
おけるT2期間に対応している。
In the case of diagnosing the slave memory 5b, the selectors 7a and 7b are switched as shown in FIG. 7, and the data output by the CPU section 1 is output only to the master memory 5a. The diagnostic processor 6 executes the failure diagnostic program stored in the memory circuit 12 of FIG. 4, and the CPU unit 1 and the main system memory 5
In parallel with the operation of a, it becomes possible to execute the memory failure diagnosis of the slave memory 5b. This operating state corresponds to the T2 period in FIG.

【0027】従系メモリ5bの診断が終了すると、診断
プロセッサ6は図7のセレクタ7bの状態を図5のよう
に切換える。この後、CPU部1からのデータは定常処
理時と同様に主系メモリ5a及び従系メモリ5bにライ
トされ、従来の様な外部からのダウンロードなしに、従
系メモリ5bの内容は自動的に復帰することになる。
When the diagnosis of the slave memory 5b is completed, the diagnosis processor 6 switches the state of the selector 7b of FIG. 7 as shown in FIG. After this, the data from the CPU unit 1 is written to the master memory 5a and the slave memory 5b in the same manner as during the regular processing, and the contents of the slave memory 5b are automatically updated without external download as in the conventional case. I will be back.

【0028】次にプログラマブル診断要求信号発生回路
13より診断制御信号8bが発生した場合には、主系メ
モリ5aの診断要求になり、診断プロセッサ6は図8の
ようにセレクタ7a、7bを切換える。この時、CPU
部1からの出力は従系メモリ5bにのみライトされる。
また、CPU部1からのリード要求に対しては従系メモ
リ5bのデータが内部バス4に出力されることになる。
診断プロセッサ6により、従系メモリ5bの診断と同様
に、主系メモリ5aをCPU部1の動作と並行して診断
することが可能になる。この動作状態は、図6における
T3期間に対応している。
Next, when the diagnostic control signal 8b is generated from the programmable diagnostic request signal generating circuit 13, the diagnostic request of the main system memory 5a is issued, and the diagnostic processor 6 switches the selectors 7a and 7b as shown in FIG. At this time, CPU
The output from the section 1 is written only in the slave memory 5b.
Further, in response to a read request from the CPU unit 1, the data in the slave memory 5b is output to the internal bus 4.
The diagnostic processor 6 enables the main memory 5a to be diagnosed in parallel with the operation of the CPU unit 1, similarly to the diagnosis of the subordinate memory 5b. This operating state corresponds to the T3 period in FIG.

【0029】主系メモリ5aの故障診断後、診断プロセ
ッサ6は、再びセレクタ7aを図5のように切換え、C
PU部1からの出力を主系メモリ5a及び従系メモリ5
bにライトする定常処理動作に戻る。
After the failure diagnosis of the main system memory 5a, the diagnostic processor 6 switches the selector 7a again as shown in FIG.
The output from the PU unit 1 is used as the main memory 5a and the slave memory 5
Return to the normal processing operation of writing in b.

【0030】以上のようにこの発明の実施例2ではCP
U部1の定常処理動作と同時に主系メモリ5a及び従系
メモリ5bの故障診断が外部からの指示で任意のタイミ
ングで実行できる。また、メモリ故障診断のリードライ
トによって書換えられた主系メモリ5aまたは従系メモ
リ5bが定常処理動作に再移行する時も、外部からのダ
ウンロードなしに自動的に定常データに書換えられてい
く効果を有する。
As described above, in the second embodiment of the present invention, the CP
Simultaneous with the regular processing operation of the U unit 1, the failure diagnosis of the master memory 5a and the slave memory 5b can be executed at an arbitrary timing by an instruction from the outside. Further, even when the master memory 5a or the slave memory 5b rewritten by the read / write of the memory failure diagnosis is re-migrated to the steady processing operation, it is automatically rewritten to the steady data without downloading from the outside. Have.

【0031】実施例3 図10はこの発明の実施例3を示す計算機の構成図であ
る。図において、18は周期的に診断プロセッサに起動
をかける診断制御タイマ、8cは故障診断要求及び主系
メモリ5aまたは従系メモリ5bを診断するかを指示す
る診断制御信号である。定常処理時は、主系メモリ5a
のデータがCPU部1に出力される。セレクタ7a、7
bは診断制御タイマ8からの診断制御信号9に基づいて
切換動作を実行する。
Third Embodiment FIG. 10 is a configuration diagram of a computer showing a third embodiment of the present invention. In the figure, 18 is a diagnostic control timer for periodically activating the diagnostic processor, and 8c is a diagnostic control signal and a diagnostic control signal for instructing whether to diagnose the main memory 5a or the slave memory 5b. During steady processing, main memory 5a
Data is output to the CPU unit 1. Selectors 7a, 7
The switch b executes the switching operation based on the diagnostic control signal 9 from the diagnostic control timer 8.

【0032】なお、図10は主系メモリ5a、従系メモ
リ5b共にCPU部1にセレクタ7a,7bによって接
続されいる状態を示す。図11は従系メモリ5bを診断
中の計算機の構成図であり、図12は主系メモリ5aを
診断中の計算機の構成図である。
FIG. 10 shows a state in which both the main memory 5a and the slave memory 5b are connected to the CPU section 1 by the selectors 7a and 7b. FIG. 11 is a block diagram of the computer during diagnosis of the slave memory 5b, and FIG. 12 is a block diagram of the computer during diagnosis of the main memory 5a.

【0033】図13は計算機のタイミングチャートであ
る。図において、T1はCPU部1が定常処理の状態で
ある。T2は診断プロセッサ6が従系メモリ5bを診断
中の状態、T3は主系メモリ5aを診断中の状態であ
る。T4、T5、T6の期間でセレクタ7a、7bの状
態が図10のような設定になっている。T2の期間でセ
レクタ7a、7bの状態が図11、T3の期間でセレク
タ7a、7bの状態が図12のような設定になっている
ことを示す。
FIG. 13 is a timing chart of the computer. In the figure, T1 is a state in which the CPU unit 1 is in a steady process. T2 is a state in which the diagnostic processor 6 is diagnosing the slave memory 5b, and T3 is a state in which the master memory 5a is being diagnosed. The states of the selectors 7a and 7b are set as shown in FIG. 10 during the periods T4, T5, and T6. It is shown that the states of the selectors 7a and 7b are set as shown in FIG. 11 during the period of T2, and the states of the selectors 7a and 7b are set as shown in FIG. 12 during the period of T3.

【0034】以下、この発明の計算機の動作を図4、図
10〜図13を参照しながら説明する。定常処理動作時
は、図10に示すように主系メモリ5aと従系メモリ5
bをセレクタ7a,7bを用いて内部バス4に接続す
る。この時、CPU部1から出力されるデータは、主系
メモリ5aと従系メモリ5bの両方に同時に格納され
る。よって主系メモリ5aと従系メモリ5bの内容は常
に同一データが保持されることになる。また、CPU部
1からのリード要求時には、主系メモリ5aからのデー
タのみCPU部1に出力するように動作する。この動作
状態は、図13におけるT4、T5、T6期間に対応し
ている。
The operation of the computer of the present invention will be described below with reference to FIGS. 4 and 10 to 13. During the steady processing operation, as shown in FIG. 10, the main memory 5a and the slave memory 5 are
b is connected to the internal bus 4 by using the selectors 7a and 7b. At this time, the data output from the CPU unit 1 is simultaneously stored in both the main memory 5a and the slave memory 5b. Therefore, the same data is always held in the contents of the master memory 5a and the slave memory 5b. Further, when a read request is issued from the CPU unit 1, only the data from the main system memory 5a is output to the CPU unit 1. This operating state corresponds to the T4, T5, and T6 periods in FIG.

【0035】次に診断制御タイマ18より診断制御信号
8cが発生した場合について説明する。診断制御信号8
cを受けた診断プロセッサ6は、従系メモリ5bの診断
または主系メモリ5aの診断のいずれかの指示内容によ
り、図11もしくは図12のようにセレクタ7a、7b
を切換える。従系メモリ5bの診断の場合はCPU部1
が出力するデータは、主系メモリ5aにのみ出力され
る。診断プロセッサ6はメモリ回路12に格納されてい
る故障診断プログラムを実行し、CPU部1と主系メモ
リ5aの動作と並行して、従系メモリ5bのメモリ故障
診断を実行することが可能になる。この動作状態は、図
13におけるT2期間に対応している。
Next, the case where the diagnostic control signal 8c is generated from the diagnostic control timer 18 will be described. Diagnostic control signal 8
The diagnostic processor 6 which has received the command c, as shown in FIG. 11 or 12, selects the selectors 7a and 7b according to the instruction content of either the diagnosis of the slave memory 5b or the diagnosis of the master memory 5a.
To switch. CPU unit 1 for diagnosis of the slave memory 5b
The data output by is output only to the main memory 5a. The diagnostic processor 6 executes the failure diagnosis program stored in the memory circuit 12, and in parallel with the operations of the CPU unit 1 and the main memory 5a, it becomes possible to execute the memory failure diagnosis of the slave memory 5b. .. This operation state corresponds to the T2 period in FIG.

【0036】従系メモリ5bの診断が終了すると、診断
プロセッサ6は図11のセレクタ7bの状態を図10の
ように切換える。この後、CPU部1からのデータは定
常処理時と同様に主系メモリ5a及び従系メモリ5bに
ライトされ、従来の様な外部からのダウンロードなし
に、従系メモリ5bの内容は自動的に復帰することにな
る。
When the diagnosis of the slave memory 5b is completed, the diagnosis processor 6 switches the state of the selector 7b of FIG. 11 as shown in FIG. After this, the data from the CPU unit 1 is written to the master memory 5a and the slave memory 5b in the same manner as during the regular processing, and the contents of the slave memory 5b are automatically updated without external download as in the conventional case. I will be back.

【0037】次に診断制御タイマ18より診断制御信号
8cが発生した場合には、主系メモリ5aの診断要求に
なり、診断プロセッサ6は図12のようにセレクタ7
a、7bを切換える。この時、CPU部1からの出力は
従系メモリ5bにのみライトされる。また、CPU部1
からのリード要求に対しては従系メモリ5bのデータが
内部バス4に出力されることになる。診断プロセッサ6
により、従系メモリ5bの診断と同様に、主系メモリ5
aをCPU部1の動作と並行して診断することが可能に
なる。この動作状態は、図13におけるT3期間に対応
している。
Next, when the diagnostic control signal 8c is generated from the diagnostic control timer 18, a diagnostic request for the main system memory 5a is made, and the diagnostic processor 6 causes the selector 7 to operate as shown in FIG.
Switch a and 7b. At this time, the output from the CPU unit 1 is written only in the slave memory 5b. Also, the CPU unit 1
The data of the slave memory 5b is output to the internal bus 4 in response to the read request from the. Diagnostic processor 6
As a result, similarly to the diagnosis of the slave memory 5b,
It is possible to diagnose a in parallel with the operation of the CPU unit 1. This operating state corresponds to the T3 period in FIG.

【0038】主系メモリ5aの故障診断後、診断プロセ
ッサ6は、再びセレクタ7aを図10のように切換え、
CPU部1からの出力を主系メモリ5a及び従系メモリ
5bにライトする定常処理動作に戻る。
After the failure diagnosis of the main system memory 5a, the diagnostic processor 6 switches the selector 7a again as shown in FIG.
The process returns to the regular processing operation of writing the output from the CPU unit 1 in the main memory 5a and the slave memory 5b.

【0039】実施例4 図14はこの発明の実施例4を示す計算機の構成図であ
る。図において、1、3、4、5a、5b、6、7a、
7b、9は上記実施例と同じである。19は主系メモリ
5aと従系メモリ5bのCPU部1への出力データの比
較を行う比較回路、8dは故障診断要求及び主系メモリ
5aまたは従系メモリ5b診断するかを指示する診断制
御信号である。比較回路19で主系メモリ5aと従系メ
モリ5bのデータが一致する場合は、主系メモリ5aの
データがCPU部1に出力される。セレクタ7a、7b
はCPU部1からの診断制御信号8dに基づいて切換動
作を実行する。
Fourth Embodiment FIG. 14 is a configuration diagram of a computer showing a fourth embodiment of the present invention. In the figure, 1, 3, 4, 5a, 5b, 6, 7a,
7b and 9 are the same as in the above embodiment. Reference numeral 19 is a comparison circuit for comparing the output data to the CPU 1 of the main memory 5a and the sub memory 5b, and 8d is a failure control request and a diagnostic control signal for instructing whether to diagnose the main memory 5a or the sub memory 5b. Is. When the data in the master memory 5a and the data in the slave memory 5b match in the comparison circuit 19, the data in the master memory 5a is output to the CPU unit 1. Selectors 7a, 7b
Performs the switching operation based on the diagnostic control signal 8d from the CPU section 1.

【0040】なお、図14は通常時の動作で主系メモリ
5a、従系メモリ5b共にCPU部1にセレクタ7a,
7bによって接続されている状態を示す。また、図15
は従系メモリ5bを診断中の計算機の構成図、図16は
主系メモリ5aを診断中の計算機の構成図である。
Incidentally, FIG. 14 shows the operation in the normal state, in which both the main system memory 5a and the sub system memory 5b are provided in the CPU section 1 by the selector 7a,
7b shows a state of being connected by 7b. In addition, FIG.
Is a block diagram of a computer that is diagnosing the slave memory 5b, and FIG. 16 is a block diagram of a computer that is diagnosing the primary memory 5a.

【0041】図17はこの計算機によるメモリデータ異
常時に於けるフローチャートである。以下、この発明の
計算機の動作を図4、図14〜図17を参照しながら説
明する。定常処理動作時は、図14に示すように主系メ
モリ5aと従系メモリ5bをセレクタ7a,7bを用い
て内部バス4に接続する。この時、CPU部1から出力
されるデータは、主系メモリ5aと従系メモリ5bの両
方に同時に格納される。よって主系メモリ5aと従系メ
モリ5bの内容は常に同一データが保持されることにな
る。また、CPU部1からのリード要求時には、ステッ
プ20で主系メモリ5aと従系メモリ5bのデータを比
較回路19によって比較し、データが一致した場合主系
メモリ5aのデータのみCPU部1に出力するように動
作する。データが一致する場合にはメモリ故障診断は行
わない。
FIG. 17 is a flow chart when the memory data of this computer is abnormal. Hereinafter, the operation of the computer of the present invention will be described with reference to FIGS. 4 and 14 to 17. During the steady processing operation, as shown in FIG. 14, the main memory 5a and the slave memory 5b are connected to the internal bus 4 by using the selectors 7a and 7b. At this time, the data output from the CPU unit 1 is simultaneously stored in both the main memory 5a and the slave memory 5b. Therefore, the same data is always held in the contents of the master memory 5a and the slave memory 5b. When a read request is issued from the CPU unit 1, the data of the main memory 5a and the slave memory 5b are compared by the comparison circuit 19 in step 20, and if the data match, only the data of the main memory 5a is output to the CPU unit 1. To work. If the data match, the memory failure diagnosis is not performed.

【0042】主系メモリ5aと従系メモリ5bのデータ
の不一致が生じた場合について説明する。ステップ20
でデータが一致しない場合には、CPU部1は、診断プ
ロセッサ6に診断制御信号8dを出力する。ステップ2
2において診断制御信号8dを受けた診断プロセッサ6
は、まず図15のようにセレクタ7a、7bを切換え、
従系メモリ5bの診断をする(ステップ23)。この状
態では、CPU部1が出力するデータは、主系メモリ5
aにのみ出力される。診断プロセッサ6はメモリ回路1
3に格納されている故障診断プログラムを実行し、CP
U部1と主系メモリ5aの動作と並行して、従系メモリ
5bのメモリ故障診断を実行することが可能になる。
A case where the data in the master memory 5a and the data in the slave memory 5b do not match will be described. Step 20
If the data do not match, the CPU unit 1 outputs the diagnostic control signal 8d to the diagnostic processor 6. Step two
2 receives the diagnostic control signal 8d
First switches the selectors 7a and 7b as shown in FIG.
The slave memory 5b is diagnosed (step 23). In this state, the data output by the CPU unit 1 is the main memory 5
Only output to a. The diagnostic processor 6 is a memory circuit 1
Execute the failure diagnosis program stored in
In parallel with the operations of the U unit 1 and the master memory 5a, it becomes possible to execute the memory failure diagnosis of the slave memory 5b.

【0043】ステップ24で従系メモリ5bの診断にお
いて、故障があることが分った場合にはセレクタの状態
を図15のように切換えたまま処理を続行することによ
って従系メモリ5bを切離す(ステップ25)。従系メ
モリ5b切離し後は主系メモリ5aのみにCPU部1か
らのデータをリードライトする。
If it is found in step 24 that the slave memory 5b has a failure, the slave memory 5b is disconnected by continuing the processing while switching the selector state as shown in FIG. (Step 25). After disconnecting the slave memory 5b, the data from the CPU unit 1 is read / written only to the master memory 5a.

【0044】ステップ24の従系メモリ5bの診断で従
系メモリ5bに故障がないことが分った場合には、次に
診断プロセッサ6は図15のセレクタ7bの状態を図1
4のように切換える。この後、CPU部1からのデータ
は定常処理時と同様に主系メモリ5a及び従系メモリ5
bにライトされ、従来の様な外部からのダウンロードな
しに、従系メモリ5bの内容は自動的に復帰することに
なる。
When the diagnosis of the slave memory 5b in step 24 reveals that the slave memory 5b has no failure, the diagnostic processor 6 next determines the state of the selector 7b of FIG.
Switch like 4. After that, the data from the CPU unit 1 is transferred to the main memory 5a and the slave memory 5 as in the steady processing.
The contents of the slave memory 5b are automatically restored without being downloaded from the outside as in the conventional case.

【0045】次に診断CPU部1は診断制御信号8dを
出力し、主系メモリ5aの診断要求をする(ステップ2
7)。診断プロセッサ6は図16のようにセレクタ7
a、7bを切換える(ステップ26)。この時、CPU
部1からの出力は従系メモリ5bにのみライトされる。
また、CPU部1からのリード要求に対しては従系メモ
リ5bのデータが内部バス4に出力されることになる。
診断プロセッサ6により、従系メモリ5bの診断と同様
に、主系メモリ5aをCPU部1の動作と並行して診断
することが可能になる。
Next, the diagnostic CPU section 1 outputs the diagnostic control signal 8d to request the diagnostic of the main system memory 5a (step 2).
7). The diagnostic processor 6 has a selector 7 as shown in FIG.
Switching between a and 7b (step 26). At this time, CPU
The output from the section 1 is written only in the slave memory 5b.
Further, in response to a read request from the CPU unit 1, the data in the slave memory 5b is output to the internal bus 4.
The diagnostic processor 6 enables the main memory 5a to be diagnosed in parallel with the operation of the CPU unit 1, similarly to the diagnosis of the subordinate memory 5b.

【0046】ステップ28で主系メモリ5aの故障診断
後、主系メモリ5aに故障があることが分った場合に
は、セレクタの状態を図16のように切換えたまま処理
を続行することによって主系メモリ5aを切離す(ステ
ップ29)。主系メモリ5a切離し後は従系メモリ5b
のみにCPU部1からのデータをリードライトする。
After the failure diagnosis of the main memory 5a in step 28, when it is found that the main memory 5a has a failure, the processing is continued with the selector state switched as shown in FIG. The main system memory 5a is separated (step 29). After disconnecting the main memory 5a, the slave memory 5b
Only the data from the CPU unit 1 is read and written.

【0047】主系メモリ5aの故障診断後、主系メモリ
5aに故障がないことが分った場合には、メモリ以外の
故障と思われるので計算機の動作を停止する(ステップ
30)。
After the failure diagnosis of the main system memory 5a, if it is found that the main system memory 5a has no failure, the operation of the computer is stopped because it is considered to be a failure other than the memory (step 30).

【0048】[0048]

【発明の効果】以上のように、この発明によれば、CP
U部1の定常処理動作と同時に主系メモリ5a及び従系
メモリ5bの故障診断が実行できる。また、メモリ故障
診断のリードライトによって書換えられた主系メモリ5
aまたは従系メモリ5bが定常処理動作に再移行する時
も、外部からのダウンロードなしに自動的に定常データ
に書換えられていく効果を有する。
As described above, according to the present invention, CP
The failure diagnosis of the master memory 5a and the slave memory 5b can be executed at the same time as the steady processing operation of the U unit 1. In addition, the main system memory 5 rewritten by the read / write of the memory failure diagnosis
Even when "a" or the slave memory 5b is re-shifted to the steady processing operation, it has an effect of being automatically rewritten to the steady data without downloading from the outside.

【0049】またこの発明によれば、メモリデータに異
常が起きた場合に、CPU部1の定常処理動作と同時に
主系メモリ5a及び従系メモリ5bの故障診断が実行で
き、自動的に故障メモリを切離す。また、メモリ故障診
断のリードライトによって書換えられた主系メモリ5a
または従系メモリ5bが定常処理動作に再移行する時
も、外部からのダウンロードなしに自動的に定常データ
に書換えられていく効果を有する。
Further, according to the present invention, when abnormality occurs in the memory data, the failure diagnosis of the main system memory 5a and the slave system memory 5b can be executed at the same time as the steady processing operation of the CPU section 1, and the failure memory is automatically executed. Disconnect. Further, the main system memory 5a rewritten by the read / write of the memory failure diagnosis
Alternatively, even when the slave memory 5b shifts to the steady processing operation again, it has an effect of being automatically rewritten to the steady data without downloading from the outside.

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

【図1】この発明の実施例1による計算機の定常処理動
作時の構成図である。
FIG. 1 is a configuration diagram of a computer according to a first embodiment of the present invention during a steady processing operation.

【図2】この発明の実施例1による計算機の従系メモリ
故障診断時の構成図である。
FIG. 2 is a configuration diagram of the computer according to the first embodiment of the present invention when diagnosing a slave memory failure.

【図3】この発明の実施例1による計算機の主系メモリ
故障診断時の構成図である。
FIG. 3 is a configuration diagram at the time of main system memory failure diagnosis of the computer according to the first embodiment of the present invention.

【図4】この発明による計算機の診断プロセッサの構成
図である。
FIG. 4 is a configuration diagram of a diagnostic processor of a computer according to the present invention.

【図5】この発明の実施例2による計算機の定常処理動
作時の構成図である。
FIG. 5 is a configuration diagram of a computer according to a second embodiment of the present invention during a steady processing operation.

【図6】この発明の実施例2による計算機のプログラマ
ブル診断要求信号発生回路の構成図である。
FIG. 6 is a configuration diagram of a programmable diagnostic request signal generating circuit of a computer according to a second embodiment of the present invention.

【図7】この発明の実施例2による計算機の従系メモリ
故障診断時の構成図である。
FIG. 7 is a configuration diagram of a computer according to a second embodiment of the present invention when diagnosing a slave memory fault.

【図8】この発明の実施例2による計算機の主系メモリ
故障診断時の構成図である。
FIG. 8 is a configuration diagram at the time of main system memory failure diagnosis of a computer according to a second embodiment of the present invention.

【図9】この発明の実施例2による計算機のタイミング
チャートである。
FIG. 9 is a timing chart of the computer according to the second embodiment of the present invention.

【図10】この発明の実施例3による計算機の定常処理
動作時の構成図である。
FIG. 10 is a configuration diagram of a computer according to a third embodiment of the present invention during a steady processing operation.

【図11】この発明の実施例3による計算機の従系メモ
リ故障診断時の構成図である。
FIG. 11 is a configuration diagram of a computer according to a third embodiment of the present invention when diagnosing a slave memory fault.

【図12】この発明の実施例3による計算機の主系メモ
リ故障診断時の構成図である。
FIG. 12 is a configuration diagram at the time of main system memory failure diagnosis of a computer according to a third embodiment of the present invention.

【図13】この発明の実施例3による計算機のタイミン
グチャートである。
FIG. 13 is a timing chart of the computer according to the third embodiment of the present invention.

【図14】この発明の実施例4による計算機の定常処理
動作時の構成図である。
FIG. 14 is a configuration diagram of a computer according to a fourth embodiment of the present invention during a steady processing operation.

【図15】この発明の実施例4による計算機の従系メモ
リ故障診断時の構成図である。
FIG. 15 is a configuration diagram of a computer according to a fourth embodiment of the present invention when diagnosing a slave memory failure.

【図16】この発明の実施例4による計算機の主系メモ
リ故障診断時の構成図である。
FIG. 16 is a configuration diagram at the time of main system memory failure diagnosis of a computer according to a fourth embodiment of the present invention.

【図17】この発明の実施例4による計算機の診断のフ
ローチャートである。
FIG. 17 is a flowchart of a computer diagnosis according to the fourth embodiment of the present invention.

【図18】従来の計算機の構成図である。FIG. 18 is a block diagram of a conventional computer.

【符号の説明】[Explanation of symbols]

1 CPU部 2 システムメモリ部 3 外部インターフェース部 5a 主系メモリ 5b 従系メモリ 6 診断プロセッサ 7a セレクタ 7b セレクタ 8 診断制御信号 9 診断データ転送バス 10 演算制御回路 11 入出力回路 12 メモリ回路 13 プログラマブル診断要求信号発生回路 15 リード制御回路 16 カウンタ 17 コントロールレジスタ 18 診断制御タイマ 19 比較回路 1 CPU part 2 System memory part 3 External interface part 5a Main memory 5b Slave memory 6 Diagnostic processor 7a Selector 7b Selector 8 Diagnostic control signal 9 Diagnostic data transfer bus 10 Arithmetic control circuit 11 Input / output circuit 12 Memory circuit 13 Programmable diagnostic request Signal generation circuit 15 Read control circuit 16 Counter 17 Control register 18 Diagnostic control timer 19 Comparison circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPU部、このCPU部からのデータ書
き込み要求に対し、データを同時に書き込み、いずれか
一方からのみ出力する主系と従系からなるメモリ部、上
記主系及び従系のメモリの故障を交互に診断する診断プ
ロセッサ、上記CPU部または上記診断プロセッサのい
ずれかを主系メモリまたは従系メモリのいずれかに接続
するかを選択するセレクタ、上記主系メモリまたは従系
メモリを診断するかを指示する信号を上記診断プロセッ
サへ出力する診断制御信号発生手段とを具備したことを
特徴とする計算機。
1. A CPU unit, a memory unit consisting of a main system and a slave system which simultaneously write data in response to a data write request from this CPU unit and output from only one of them; A diagnostic processor for alternately diagnosing a failure, a selector for selecting whether to connect either the CPU unit or the diagnostic processor to the master memory or the slave memory, and to diagnose the master memory or the slave memory And a diagnostic control signal generating means for outputting a signal indicating that to the diagnostic processor.
【請求項2】 CPU部、このCPU部からのデータ書
き込み要求に対し、データを同時に書き込み、いずれか
一方からのみ出力する主系と従系からなるメモリ部、上
記主系及び従系のメモリの故障を交互に診断する診断プ
ロセッサ、上記CPU部または診断プロセッサのいずれ
かを上記主系メモリまたは従系メモリのいずれかに接続
するかを選択するセレクタ、上記主系及び従系のメモリ
の出力データを比較する比較回路とを具備し、上記比較
回路においてデータが一致しない場合、メモリの故障診
断を上記診断プロセッサによって交互に実行し、故障メ
モリを自動的に切離すようにしたことを特徴とする計算
機。
2. A CPU section, a memory section consisting of a main system and a slave system which simultaneously write data in response to a data write request from this CPU section, and output from only one of them, and a memory of the main system and a slave system. Diagnostic processor for alternately diagnosing a failure, selector for selecting whether to connect either the CPU unit or the diagnostic processor to the master memory or the slave memory, output data of the master and slave memories When the data in the comparison circuit does not match, the memory fault diagnosis is alternately executed by the diagnostic processor to automatically disconnect the faulty memory. calculator.
JP4068255A 1992-03-26 1992-03-26 Computer Pending JPH05274169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4068255A JPH05274169A (en) 1992-03-26 1992-03-26 Computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4068255A JPH05274169A (en) 1992-03-26 1992-03-26 Computer

Publications (1)

Publication Number Publication Date
JPH05274169A true JPH05274169A (en) 1993-10-22

Family

ID=13368468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4068255A Pending JPH05274169A (en) 1992-03-26 1992-03-26 Computer

Country Status (1)

Country Link
JP (1) JPH05274169A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08220198A (en) * 1995-02-13 1996-08-30 Nec Corp Battery backup memory unit and backup function testing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08220198A (en) * 1995-02-13 1996-08-30 Nec Corp Battery backup memory unit and backup function testing method

Similar Documents

Publication Publication Date Title
US4941087A (en) System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations
US6327670B1 (en) Duplex processor with an update bus and method for operating the update bus
JPS59106056A (en) Failsafe type data processing system
JPH05274169A (en) Computer
JPH07121395A (en) Method for preferentially selecting auxiliary device
JP2774675B2 (en) Bus controller
JPS6113626B2 (en)
JPH0652130A (en) Multiprocessor system
JP2693627B2 (en) Redundant system of programmable controller
JPS5917467B2 (en) Control computer backup method
JP2001216207A (en) Dma diagnostic device, and dma diagnostic method used for the same
JPS6218060B2 (en)
JPH07114521A (en) Multimicrocomputer system
JP2002007220A (en) Multiple memory system
JPH079636B2 (en) Bus diagnostic device
JPS59123056A (en) Automatic switching system of redundant system
JPH05342076A (en) Dual writing filing device
JPH09231141A (en) Memory device
JPH05143467A (en) Method and device for switching redundant constitution
JPH08221334A (en) Device and method for setting device address
JPH06161800A (en) Dual electronic computer
JPH04268929A (en) Duplicated processor system
JP2000253028A (en) Transmitter
JPH01217655A (en) Diagnostic system for memory
JPH08305594A (en) Control memory redundancy system for duplex device