JPH06259269A - Diagnostic circuit for multiprocessor - Google Patents

Diagnostic circuit for multiprocessor

Info

Publication number
JPH06259269A
JPH06259269A JP5047048A JP4704893A JPH06259269A JP H06259269 A JPH06259269 A JP H06259269A JP 5047048 A JP5047048 A JP 5047048A JP 4704893 A JP4704893 A JP 4704893A JP H06259269 A JPH06259269 A JP H06259269A
Authority
JP
Japan
Prior art keywords
data
multiprocessor
mpu
circuit
address
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.)
Withdrawn
Application number
JP5047048A
Other languages
Japanese (ja)
Inventor
Takashi Fujita
隆司 藤田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5047048A priority Critical patent/JPH06259269A/en
Publication of JPH06259269A publication Critical patent/JPH06259269A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To specify a fault multiprocessor (MPU) in the case of error generation with a diagnostic method for detecting the fault of the MPU by duplexing the MPU and comparing the addresses and data. CONSTITUTION:This circuit is provided with a mechanism equipped with a built-in cache 10 so as to make invalid a comparator circuit for the address and data outputted from a duplex MPU 1 and to enable operations with only one MPU and a means for reading the data of an LSU 3 at the address shown by a comparative address, setting them to an LSU-Data 24 and comparing them with the contents of comparative data 21 corresponding to the instruction of the LSU 3 at the address shown by the comparative address register 20 according to data in the built-in cache, data 24 in a local strage unit 23 and an instruction from the MPU 1. Then, the data in the cache storage circuit built in the MPU 1 are compared with the data of the LSU at each MPU, and the fault MPU is specified.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチプロセッサ(MP
U) を2重化し、2重化されたマルチプロセッサ(MPU)
のアドレス, データを比較することによって、マルチプ
ロセッサの故障を検出する計算機システムにおける診断
回路に関する。
This invention relates to a multiprocessor (MP
U) is duplicated and the duplicated multiprocessor (MPU)
The present invention relates to a diagnostic circuit in a computer system that detects a failure of a multiprocessor by comparing the addresses and data of each.

【0002】最近のデータ処理の多様化に伴い、複数個
のプロセッサ(MPU) を、例えば、バスコントローラ(BC)
を介して接続し、相互に通信を行いながら、上記多様な
データ処理を、複数個のマルチプロセッサ(MPU) で行う
マルチプロセッサシステムが構築されている。
With the recent diversification of data processing, a plurality of processors (MPUs), for example, bus controllers (BC)
A multiprocessor system has been constructed in which a plurality of multiprocessors (MPUs) perform the various data processes described above while being connected to each other and communicating with each other.

【0003】又、最近の半導体の集積度の向上に伴い、
かかるマルチプロセッサシステムの処理能力を向上させ
る為に、各マルチプロセッサ(MPU) に、大容量のキャッ
シュ記憶回路を内蔵させることが行われている。
Further, with the recent improvement in the degree of integration of semiconductors,
In order to improve the processing capacity of such a multiprocessor system, each multiprocessor (MPU) has a built-in large capacity cache memory circuit.

【0004】この為、各マルチプロセッサ(MPU) が故障
する可能性が高くなっており、マルチプロセッサ(MPU)
を2重化して、同一のプログラムを走行させ、アドレ
ス, データを比較することにより、マルチプロセッサ(M
PU) の故障を検出する高信頼度のマルチプロセッサシス
テムが構築されているが、比較エラーが発生したとき、
故障したマルチプロセッサ(MPU) を特定することが困難
であり、最悪の場合、2重化されている2つのマルチプ
ロセッサ(MPU) を交換する必要があった。
Therefore, there is a high possibility that each multiprocessor (MPU) will fail, and the multiprocessor (MPU)
Are duplicated, run the same program, and compare the address and data.
A high-reliability multiprocessor system that detects a failure of (PU) is built, but when a comparison error occurs,
It was difficult to identify the failed multiprocessor (MPU), and in the worst case, it was necessary to replace two duplicated multiprocessors (MPU).

【0005】このような事情から、2重化されたマルチ
プロセッサ(MPU) の故障側を、効果的に検出することが
できるマルチプロセッサの診断回路が必要とされる。
Under these circumstances, there is a need for a multiprocessor diagnostic circuit capable of effectively detecting the fault side of a dual multiprocessor (MPU).

【0006】[0006]

【従来の技術】図4は、従来の2重化されたMPUの診
断回路を説明する図である。図4に示した、マルチプロ
セッサシステムは、バスコントローラ(BC) 5を介して、
複数個のマルチプロセッサ(MPU) 1 が、相互に通信をし
ながら、それぞれのマルチプロセッサ(MPU) 1 におい
て、例えば、ローカルストレージユニット(LSU) 3 に格
納されている異なるプログラム, データを実行する。
2. Description of the Related Art FIG. 4 is a diagram for explaining a conventional diagnostic circuit for a dual MPU. The multiprocessor system shown in FIG. 4 has a bus controller (BC) 5
A plurality of multiprocessors (MPU) 1 execute different programs and data stored in, for example, a local storage unit (LSU) 3 in each of the multiprocessors (MPU) 1 while communicating with each other.

【0007】前述のように、最近の半導体の集積度の向
上に伴い、かかるマルチプロセッサシステムの処理能力
を向上させる為に、各マルチプロセッサ(MPU) 1 に、大
容量のキャッシュ記憶回路 10 を内蔵させることが行わ
れている。
As described above, in order to improve the processing capacity of such a multiprocessor system with the recent increase in the degree of integration of semiconductors, each multiprocessor (MPU) 1 is provided with a large capacity cache memory circuit 10. Is being done.

【0008】この為、各マルチプロセッサ(MPU) 1 が故
障する可能性が高くなっており、本図に示されいるよう
に、マルチプロセッサ(MPU) 1 を2重化して、同一のプ
ログラムを走行させ、アドレス, データを、アドレス,
データ比較回路 26 で比較することにより、マルチプロ
セッサ(MPU) 1 の故障を検出する高信頼度のマルチプロ
セッサシステムが構築されている。
Therefore, there is a high possibility that each multiprocessor (MPU) 1 will fail, and as shown in this figure, the multiprocessor (MPU) 1 is duplicated and the same program is run. Address, data, address,
A highly reliable multiprocessor system for detecting a failure of the multiprocessor (MPU) 1 is constructed by performing comparison by the data comparison circuit 26.

【0009】[0009]

【発明が解決しようとする課題】然しながら、かかる2
重化システムにおいて、比較エラーが発生したとき、故
障したマルチプロセッサ(MPU) 1 を特定することが困難
であり、最悪の場合、2重化されている2つのマルチプ
ロセッサ(MPU) を交換する必要があった。
[Problems to be Solved by the Invention]
In a duplicated system, it is difficult to identify the failed multiprocessor (MPU) 1 when a comparison error occurs, and in the worst case, it is necessary to replace two duplicated multiprocessors (MPU) was there.

【0010】又、マルチプロセッサ(MPU) 1 がソケット
に実装されていない場合、故障したマルチプロセッサ(M
PU) 1 を特定する手段がないと、かかるマルチプロセッ
サ(MPU) 1 が搭載されているボードを2個とも破棄する
ことになる。
If the multiprocessor (MPU) 1 is not mounted in the socket, the failed multiprocessor (MPU)
If there is no means to identify PU) 1, both boards equipped with such multiprocessor (MPU) 1 will be discarded.

【0011】本発明は上記従来の欠点に鑑み、マルチプ
ロセッサ(MPU) を2重化して、アドレス, データを比較
することにより、マルチプロセッサ(MPU) の故障を検出
するマルチプロセッサシステムにおいて、比較エラーが
発生した場合の、故障のマルチプロセッサ(MPU) を特定
することができる診断回路を提供することを目的とする
ものである。
In view of the above-mentioned conventional drawbacks, the present invention provides a comparison error in a multiprocessor system which detects a failure of the multiprocessor (MPU) by duplicating the multiprocessor (MPU) and comparing addresses and data. It is an object of the present invention to provide a diagnostic circuit capable of identifying a faulty multiprocessor (MPU) in the case of occurrence of a fault.

【0012】[0012]

【課題を解決するための手段】図1は、本発明の原理構
成図である。上記の問題点は下記のように構成したマル
チプロセッサの診断回路によって解決される。
FIG. 1 is a block diagram showing the principle of the present invention. The above problem is solved by a multiprocessor diagnostic circuit configured as follows.

【0013】(1) プログラム,処理データが格納されて
おり、読み書きできる主記憶回路 3と、該主記憶回路 3
に格納されているデータの写しを持つキャッシュ記憶回
路 10 を内蔵しているマルチプロセッサ 1と、該マルチ
プロセッサ 1を複数個接続し、同一プログラムを走行さ
せて出力されたアドレス/データを比較する比較回路26
と、該マルチプロセッサ 1からの主記憶アクセス要求
により、主記憶制御を行う主記憶制御部 23 と、上記
マルチプロセッサ 1が、上記主記憶回路 3にデータの書
き込みを行った場合、マルチプロセッサ 1の内蔵キャッ
シュ記憶回路 10 の所定のブロックを無効化する機能を
備えたメモリ制御回路 2を具備したプロセッサモジュー
ルにおいて、上記マルチプロセッサ 1の内蔵キャッシュ
記憶回路 10 と、上記主記憶回路 3のデータを比較する
アドレスを格納する比較アドレスレジスタ 20 と、マル
チプロセッサ 1のリードデータを格納する比較データレ
ジスタ 21 と、マルチプロセッサ 1からの指示により、
上記比較アドレスレジスタ 20 で示すアドレスの、上記
主記憶回路 3のデータを読み出し、主記憶データレジス
タ 24 に設定し、上記比較データレジスタ 21 の内容と
比較する比較回路 22 を、上記メモリ制御回路2に持た
せて、上記マルチプロセッサ 1の内蔵キャッシュ記憶回
路 10 と、主記憶回路 3とのデータ比較を、上記比較回
路 22 で行うことによって、マルチプロセッサ 1の故障
を検出するように構成する。
(1) A main memory circuit 3 in which programs and processing data are stored and which can be read and written, and the main memory circuit 3
A multiprocessor 1 incorporating a cache memory circuit 10 having a copy of the data stored in the multiprocessor 1 and a plurality of the multiprocessor 1 are connected to each other, and the same program is run to compare the output address / data. Circuit 26
And a main memory control unit 23 that controls main memory in response to a main memory access request from the multiprocessor 1 and the multiprocessor 1 writes data to the main memory circuit 3, In a processor module having a memory control circuit 2 having a function of invalidating a predetermined block of the internal cache memory circuit 10, the data of the internal cache memory circuit 10 of the multiprocessor 1 and the data of the main memory circuit 3 are compared. By the comparison address register 20 that stores the address, the comparison data register 21 that stores the read data of the multiprocessor 1, and the instruction from the multiprocessor 1,
Read the data in the main memory circuit 3 at the address indicated by the comparison address register 20, set it in the main memory data register 24, and compare the content of the comparison data register 21 with the comparison circuit 22 in the memory control circuit 2. In addition, the internal cache memory circuit 10 of the multiprocessor 1 and the main memory circuit 3 are compared with each other by the comparison circuit 22 to detect a failure of the multiprocessor 1.

【0014】(2) 上記プロセッサモジュールにおいて、
多重化された複数個のマルチプロセッサ 1から出力され
たアドレス, データをの比較する比較回路 26 を無効化
し、アドレス, データを、一方のマルチプロセッサ 1の
アドレス, データに切り替えることにより1つのマルチ
プロセッサ 1のみで動作する切り換え手段 25 を備え
て、上記切り換えた一方のマルチプロセッサ 1上で、所
定の診断プログラムを走行させることにより、故障の
マルチプロセッサ 1を決定するように構成する。
(2) In the above processor module,
By disabling the comparison circuit 26 that compares the address and data output from multiple multiplexed multiprocessors 1 and switching the address and data to the address and data of one of the multiprocessors 1, one multiprocessor A switching means 25 that operates only by 1 is provided, and a faulty multiprocessor 1 is determined by running a predetermined diagnostic program on one of the switched multiprocessors 1 described above.

【0015】[0015]

【作用】図1は、本発明の原理構成図である。例えば、
2重化された2つのマルチプロセッサ (以下、MPUと
いうことがある) から出力されたアドレス, データを比
較するアドレス,データ比較回路を無効化し、どちらか
片方のMPUのみで動作する切り換え回路と、MPU内
蔵のキャッシュ記憶回路のデータと、ローカルストレー
ジユニット (主記憶回路)(以下、LSUということがあ
る) のデータを比較するアドレスを格納する比較アドレ
スレジスタ(Comp−Address)と、MPUリ
ードデータ(上記内蔵キャッシュ記憶回路にヒットした
場合には、内蔵キャッシュ記憶回路のデータとなる)を
格納する比較データレジスタ(Comp−Data)
と、上記MPUからの指示により、上記比較アドレスレ
ジスタ(Comp−Address) で示すアドレスの
LSUデータを読み出し、主記憶データレジスタ(LS
U−Data)に設定して、上記比較データレジスタ
(Comp−Data)と比較する比較回路を、メモリ
制御回路(以下、MCMということがある)に持たせ
て、一方のMPUに所定の診断プログラムを走行させ
て、例えば、MPU内蔵キャッシュとLSUとのデータ
比較を、各々のMPUに対して行い、故障MPUを特定
するようにしたものである。
FIG. 1 is a block diagram showing the principle of the present invention. For example,
A switch circuit that disables the address output from two duplexed multiprocessors (hereinafter sometimes referred to as MPU), the address that compares data, and the data comparison circuit, and that operates only on one of the MPUs, A comparison address register (Comp-Address) that stores an address for comparing the data in the cache memory circuit built into the MPU with the data in the local storage unit (main memory circuit) (hereinafter, also referred to as LSU), and the MPU read data ( A comparison data register (Comp-Data) for storing the data of the internal cache storage circuit when the internal cache storage circuit is hit.
Then, in response to an instruction from the MPU, the LSU data at the address indicated by the comparison address register (Comp-Address) is read out, and the main memory data register (LS
U-Data), a memory control circuit (hereinafter, sometimes referred to as MCM) has a comparison circuit for comparing with the comparison data register (Comp-Data), and one MPU has a predetermined diagnostic program. The MPU built-in cache and the LSU are compared with each other, and the failed MPU is specified.

【0016】上記の2重化されたマルチプロセッサ(M
PU)に、同じプログラムを走行させているときに比較
エラーが発生した場合、上記アドレス,データ比較回路
を無効化すると共に、アドレス,データ,制御線を、一
方のMPUのみに切り換えて、上記MPU内蔵キャッシ
ュとLSUとのデータ比較を行う診断プログラムを走
行させて、不一致を検出したとき、今走行したMPUを
故障MPUを特定できるため、修理コストを低減できる
効果が得られる。
The duplicated multiprocessor (M
PU) when a comparison error occurs while running the same program, the address / data comparison circuit is invalidated, and the address / data / control lines are switched to only one of the MPUs. When a diagnostic program for comparing data between the internal cache and the LSU is run and a mismatch is detected, the MPU that has just run can be identified as the failed MPU, so that the repair cost can be reduced.

【0017】[0017]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の原理構成図であり、図2〜
図3は、本発明の一実施例を示した図であって、図2
は、キャッシュ記憶回路の制御方法を示しており、図3
は、本発明による診断プログラムの動作を流れ図で示し
ている。
Embodiments of the present invention will be described in detail below with reference to the drawings. The above-mentioned FIG. 1 is a principle configuration diagram of the present invention, and FIG.
FIG. 3 is a diagram showing an embodiment of the present invention.
3 shows a control method of the cache memory circuit, and FIG.
FIG. 4 is a flowchart showing the operation of the diagnostic program according to the present invention.

【0018】本発明においては、キャッシュ記憶回路 1
0 を備え、2重化されたマルチプロセッサ(MPU) 1 から
出力されるアドレス, データをアドレス, データ比較回
路 26 で比較して、上記マルチプロセッサ(MPU) 1 の正
常性を比較しているマルチプロセッサモジュールにおい
て、上記アドレス, データ比較回路 26 を無効化し、ど
ちらか片方のMPU のみで動作させる切り換え回路 25
と、MPU 内蔵のキャッシュ記憶回路 10 のデータと、ロ
ーカルストレージユニット、例えば、主記憶回路(LSU)
3 のデータを比較するアドレスを格納する比較アドレス
レジスタ(Comp-Address) 20 と、MPU のリードデータを
格納する比較データレジスタ(Comp-Data)21と、マルチ
プロセッサ(MPU) 1 からの指示により、上記比較アドレ
スレジスタ(Comp-Address) 20 で示すアドレスの主記憶
回路(LSU) 3 のデータを読み出して、主記憶データレジ
スタ(LSU-Data) 24 に設定し、上記比較データレジスタ
(Comp-Data) 21とを比較する比較回路 22 とを設けて、
MPU 内蔵のキャッシュ記憶回路 10 のデータと、主記憶
回路(LSU) 3 のデータ比較を、各マルチプロセッサ(MP
U) 1 で行い、故障MPU を特定する手段が、本発明を実
施するのに必要な手段である。尚、全図を通して同じ符
号は同じ対象物を示している。
In the present invention, the cache memory circuit 1
A multiprocessor that has 0 and compares the address and data output from the duplicated multiprocessor (MPU) 1 with the address and data comparison circuit 26 to compare the normality of the multiprocessor (MPU) 1. In the processor module, the switching circuit that disables the address / data comparison circuit 26 and operates with only one of the MPUs 25
And the data of the cache memory circuit 10 with built-in MPU and the local storage unit, for example, the main memory circuit (LSU).
According to the instructions from the comparison address register (Comp-Address) 20 that stores the address to compare the data of 3, the comparison data register (Comp-Data) 21 that stores the read data of MPU, and the instruction from the multiprocessor (MPU) 1. The data in the main memory circuit (LSU) 3 at the address indicated by the comparison address register (Comp-Address) 20 above is read and set in the main memory data register (LSU-Data) 24.
(Comp-Data) 21 and a comparison circuit 22 for comparing
The data in the cache memory circuit 10 with built-in MPU and the data in the main memory circuit (LSU) 3 are compared to each multiprocessor (MP
The means for identifying the failed MPU performed in U) 1 is the means necessary for implementing the present invention. The same reference numerals indicate the same objects throughout the drawings.

【0019】以下、図1を参照しながら、図2〜図3に
よって、本発明のマルチプロセッサの診断回路の構成と
動作を説明する。前述のように、MPU 1は二重化され
{MPU(#0), MPU(#1)}、通常、同一プログラムを
走行している。メモリ制御回路 (MCM) 2 は、MPU
(#0)/MPU(#1) 1/バスコントローラ(BC) 5からのL
SUアクセス要求に従い、LSU 3に対するリード/
ライトアクセスを行う。
The configuration and operation of the diagnostic circuit of the multiprocessor according to the present invention will be described below with reference to FIGS. As described above, MPU 1 is duplicated {MPU (# 0), MPU (# 1)} and normally runs the same program. Memory control circuit (MCM) 2 is MPU
(# 0) / MPU (# 1) 1 / L from the bus controller (BC) 5
Read / write to LSU 3 according to SU access request
Perform write access.

【0020】又、MPU(#0) 1とMPU(#1) 1のアドレ
ス/データをアドレス,データ比較回路 26 で比較し、
MPU 1の正常性を常にチェックしている。{図4参
照} 又、MPU 1は、前述のように、性能向上のため内蔵キ
ャッシュ記憶回路(内蔵キャッシュ) 10 を具備してお
り、図2に、そのキャッシュ記憶回路 10 の制御方法を
示す。
The address / data of the MPU (# 0) 1 and MPU (# 1) 1 are compared by the address / data comparison circuit 26,
The health of MPU 1 is constantly checked. {Refer to FIG. 4} Further, as described above, the MPU 1 includes the built-in cache memory circuit (built-in cache) 10 for improving the performance, and FIG. 2 shows a control method of the cache memory circuit 10.

【0021】即ち、MPU 1がアドレスH“80000
00”をリードした場合、内蔵キャッシュ記憶回路 10
のTAGを調べ、登録されていれば、該内蔵キャッシュ
記憶回路 10 からデータ(データ“A”)を読み出す。
次にMPU 1がアドレスH“8000010’を読み出
した時、内蔵キャッシュ記憶回路 10 に登録されていな
い場合、LSU 3から該アドレスのデータ(データ’
E’)及びそのアドレスが属するブロック(データ’
F’,’G’,’H’)を読み出し、内蔵キャッシュ記
憶回路 10 に登録 (通常、リプレース動作となる) す
る。
That is, the MPU 1 receives the address H "80000.
When "00" is read, the internal cache memory circuit 10
Of the internal cache memory circuit 10 and read the data (data “A”) from the built-in cache memory circuit 10.
Next, when the MPU 1 reads the address H “8000010”, if it is not registered in the internal cache memory circuit 10, the data (data ') of the address is sent from the LSU 3.
E ') and the block to which the address belongs (data')
F ',' G ',' H ') are read and registered in the built-in cache memory circuit 10 (usually a replacement operation is performed).

【0022】次に、MPU 1がアドレスH“80000
14”をリードした時は、内蔵キャッシュ記憶回路 10
からデータを読み出す。若し、MPU 1/BC 5が内蔵
キャッシュ記憶回路 10 に登録されているデータのLS
U 3上での更新を行った場合、MCM 2は、該登録デー
タの無効化を行わなければならない。つまりMPU 1/
BC 5がLSU 3のアドレスH“80000A0”にラ
イトを行った場合、MCM 2内のBI制御部 27 は、M
PU内蔵キャッシュ記憶回路 10 に登録されているH
“80000A0”を無効化する。
Next, the MPU 1 sends the address H "80000.
When reading 14 ", the internal cache memory circuit 10
Read data from. If the MPU 1 / BC 5 is the LS of the data registered in the internal cache memory circuit 10.
When updating on U 3, MCM 2 must invalidate the registration data. That is, MPU 1 /
When BC 5 writes to address H “80000A0” of LSU 3, BI controller 27 in MCM 2
H registered in the PU built-in cache memory circuit 10
"80000A0" is invalidated.

【0023】前述のように、近年、MPUの性能向上の
ため、上記内蔵キャッシュ記憶回路10 の大容量化が行
われ、内蔵キャッシュ記憶回路 10 が故障、例えば、あ
るビットのデータ化け等を起こす可能性が高くなってき
ている。
As described above, in recent years, in order to improve the performance of the MPU, the capacity of the built-in cache memory circuit 10 has been increased, and the built-in cache memory circuit 10 may be damaged, for example, a certain bit of data may be corrupted. The nature is getting higher.

【0024】そこで、本発明においては、上記2重化さ
れているMPU 1が比較エラーを起こした場合、内蔵キ
ャッシュ記憶回路 10 を含めた試験を行い、故障MPU
1を特定するようにする。
Therefore, in the present invention, when the duplicated MPU 1 causes a comparison error, a test including the built-in cache memory circuit 10 is carried out, and a failure MPU is executed.
Try to identify 1.

【0025】上記、内蔵キャッシュ記憶回路 10 を含め
た試験方法を、図3の流れ図によって、詳細に説明す
る。上記通常の2重化MPU 1間のアドレス, データの
比較動作中で、比較エラーが発生した場合、例えば、図
1に示されているサービスプロセッサ(SVP) 4 の指示に
より、例えば、MPU(#0) 1のみで診断プログラムを
動作させる為に、MPU(#1) 1は停止させる。
The test method including the built-in cache memory circuit 10 will be described in detail with reference to the flow chart of FIG. When a comparison error occurs during the operation of comparing the address and data between the above-mentioned normal duplicated MPU 1, for example, the MPU (#) is instructed by the service processor (SVP) 4 shown in FIG. 0) Stop the MPU (# 1) 1 to operate the diagnostic program only with 1.

【0026】この場合、図4で示したアドレス,データ
比較回路 26 は無効化し、図1の切り替え回路 25 にお
いて、MPU(#1) 1側のアドレス, データを切り離した
後、該切り離したMPU(#1) 1は停止させ、MPU(#0)
1側に対して、診断プログラムが走行するようにす
る。{図3の処理ステップ 100参照} 診断プログラムがエラーとなる場合、故障MPUはMP
U(#0) 1と決定できる。{図3の処理ステップ 101参
照} 次に、MPU(#0) 1の内蔵キャッシュ記憶回路 10 の診
断を行うため、本発明の診断プログラムでは、先ず、
比較アドレスレジスタ (Comp−Address) 20
に、主記憶装置(LSU) 3 のアドレスをセットする。{図
3の処理ステップ 102参照} 上記比較アドレスレジスタ (Comp−Addres
s) 20にセットしたアドレスでリード動作を行うと、内
蔵キャッシュ記憶回路 10 に、該当のアドレスのデータ
が登録されている場合、内蔵キャッシュ記憶回路 10 の
データが読めるが、登録されていない場合には、主記憶
装置(LSU) 3 から該当のアドレスのデータを読み込み、
キャッシュ記憶回路 10 にも登録するが、このとき、読
み込んだデータを比較データレジスタ (Comp−Da
ta) 21にセットする。
In this case, the address / data comparison circuit 26 shown in FIG. 4 is invalidated, and the switching circuit 25 of FIG. 1 separates the address and data on the MPU (# 1) 1 side, and then the separated MPU ( # 1) 1 is stopped, MPU (# 0)
Allow the diagnostic program to run for side 1. {Refer to processing step 100 in FIG. 3} If the diagnostic program results in an error, the failed MPU is MP
It can be determined as U (# 0) 1. {Refer to processing step 101 in FIG. 3} Next, in order to diagnose the internal cache memory circuit 10 of the MPU (# 0) 1, the diagnostic program of the present invention first
Comparison address register (Comp-Address) 20
Set the address of the main storage unit (LSU) 3 to. {Refer to processing step 102 in FIG. 3} The comparison address register (Comp-Address
s) When the read operation is performed with the address set in 20, if the data of the corresponding address is registered in the internal cache memory circuit 10, the data of the internal cache memory circuit 10 can be read, but if it is not registered. Reads the data at the corresponding address from the main memory (LSU) 3,
Although it is also registered in the cache memory circuit 10, at this time, the read data is stored in the comparison data register (Comp-Da).
ta) Set to 21.

【0027】この時点で、コンペアStart指示を
行うと、メモリ制御回路 (MCM)2 は、上記比較アド
レスレジスタ (Comp−Address) 20にセット
されたアドレスにて、主記憶装置 (LSU) 3 からデー
タを読み出し、主記憶データレジスタ(LSU-Data) 24 に
設定した後、上記比較データレジスタ (Comp−Da
ta) 21と、比較回路(Compare) 22で比較する。前記コ
ンペア処理をLSU 3の全アドレスで行う。
At this point, when a compare start instruction is issued, the memory control circuit (MCM) 2 reads data from the main memory unit (LSU) 3 at the address set in the comparison address register (Comp-Address) 20. Is read out and set in the main memory data register (LSU-Data) 24, then the comparison data register (Comp-Da)
ta) 21 is compared with a comparison circuit (Compare) 22. The compare process is performed for all addresses of LSU 3.

【0028】上記キャッシュ記憶回路 10 の内容と、主
記憶装置(LSU) 3 の内容との比較を行う際に、主記憶装
置(LSU) 3 の全アドレスについて行うのは、前述の内蔵
キャッシュ記憶回路 10 は、MPU 1を構成している1
つの集積回路(1チップ化)内で集積されて内蔵されて
いる為、外部から、上記TAGの内容を参照することが
できないことによる。
When the contents of the cache memory circuit 10 and the contents of the main memory unit (LSU) 3 are compared, what is done for all the addresses of the main memory unit (LSU) 3 is the aforementioned internal cache memory circuit. 10 is a part of MPU 1
This is because the contents of the TAG cannot be referenced from the outside because they are integrated and built in one integrated circuit (one chip).

【0029】上記のキャッシュ記憶回路 10 のテストで
エラーが検出された場合には、MPU(#0) 1の障害とす
る。{図3の処理ステップ 103〜107 参照} 次に、サービスプロセッサ(SVP) 4 よりアドレス/デー
タ/制御線を切り替えて、MPU(#1) 1のみで、同じ診
断プログラムを動作させる為に、MPU(#0)1は停止
させる。{図3の処理ステップ 108参照} 上記と同様の診断プログラムを走行させることにより、
故障MPUを、MPU(#1) 1と特定することができる。
If an error is detected in the test of the cache memory circuit 10, the MPU (# 0) 1 is regarded as a failure. {Refer to the processing steps 103 to 107 in FIG. 3} Next, the address / data / control line is switched by the service processor (SVP) 4, and the MPU (# 1) 1 alone operates the same diagnostic program. (# 0) 1 is stopped. {Refer to processing step 108 of FIG. 3} By running the same diagnostic program as above,
The failed MPU can be identified as MPU (# 1) 1.

【0030】このように、本発明のマルチプロセッサの
診断回路は、キャッシュ記憶回路を備えた2重化された
マルチプロセッサ(MPU) から出力されるアドレス, デー
タの比較回路を無効化し、どちらか片方のMPU のみで動
作させる機構と、MPU 内蔵のキャッシュ記憶回路のデー
タと、主記憶装置(LSU) のデータを比較するアドレスを
格納する比較アドレスレジスタ(Comp-Address)と、MPU
リードデータを格納する比較データレジスタ(Comp-Dat
a) と、MPU からの指示により、上記比較アドレスレジ
スタ(Comp-Address)で示すアドレスのLSU のデータを読
み出して、主記憶データレジスタ(LSU-Data)に設定し、
上記比較データレジスタ(Comp-Data) とを比較する手段
とを設けて、MPU 内蔵のキャッシュ記憶回路のデータ
と、LSU のデータ比較を、各MPU で行い、故障MPU を特
定するようにしたところに特徴がある。
As described above, the multiprocessor diagnostic circuit of the present invention invalidates the address / data comparison circuit output from the duplicated multiprocessor (MPU) having the cache memory circuit, and either one of them is invalidated. , A comparison address register (Comp-Address) that stores the address that compares the data in the cache memory circuit built into the MPU with the data in the main memory (LSU), and the MPU.
Comparison data register (Comp-Dat) that stores read data
a) and the instruction from the MPU, read the LSU data at the address indicated by the comparison address register (Comp-Address) and set it in the main memory data register (LSU-Data).
By providing a means for comparing with the above comparison data register (Comp-Data), the data of the cache memory circuit built in the MPU and the data of the LSU are compared in each MPU to identify the failed MPU. There are features.

【0031】[0031]

【発明の効果】以上、詳細に説明したように、本発明の
マルチプロセッサの診断回路によれば、2重化されたマ
ルチプロセッサ(MPU)に、同じプログラムを走行さ
せているときに比較エラーが発生した場合、上記アドレ
ス,データ比較回路を無効化すると共に、アドレス,デ
ータ,制御線を、一方のMPUのみに切り換えて、上記
MPU内蔵キャッシュとLSUとのデータ比較を行う診
断プログラムを走行させて、不一致を検出したとき、
今走行したMPUを故障MPUを特定できるため、修理
コストを低減できる効果が得られる。
As described above in detail, according to the diagnostic circuit of the multiprocessor of the present invention, a comparison error occurs when the same program is run in the duplicated multiprocessor (MPU). If it occurs, the address / data comparison circuit is invalidated, the address / data / control line is switched to only one MPU, and a diagnostic program for comparing the data between the MPU built-in cache and the LSU is run. , When a mismatch is detected,
Since the failed MPU can be specified for the MPU that has just traveled, the effect of reducing the repair cost can be obtained.

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

【図1】本発明の原理構成図FIG. 1 is a block diagram of the principle of the present invention.

【図2】本発明の一実施例を示した図(その1)FIG. 2 is a diagram showing an embodiment of the present invention (No. 1).

【図3】本発明の一実施例を示した図(その2)FIG. 3 is a diagram showing an embodiment of the present invention (part 2).

【図4】従来の2重化されたMPUの診断回路を説明す
る図
FIG. 4 is a diagram for explaining a diagnostic circuit of a conventional duplexed MPU.

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

1 マルチプロセッサ{MPU(#0),(#1),MPU} 10 内蔵キャッシュ記憶回路 (内蔵キャッシュ) 2 メモリ制御回路(MCM) 20 比較アドレスレジスタ(Comp Address) 21 比較データレジスタ(Comp-Data) 22 比較回路(Compare) 24 主記憶デー
タレジスタ(LSU-Data) 25 切り替え回路 26 アドレス,
データ比較回路 3 主記憶装置(LSU),ローカルストレージユニット(L
SU) 4 サービスプロセッサ(SVP) 5 バスコントローラ(BC) アクセス要求 コンペアSTART 指示 診断プログラム 100 〜108 処理ステップ
1 Multiprocessor {MPU (# 0), (# 1), MPU} 10 Internal cache memory circuit (internal cache) 2 Memory control circuit (MCM) 20 Comparison address register (Comp Address) 21 Comparison data register (Comp-Data) 22 Compare circuit (Compare) 24 Main memory data register (LSU-Data) 25 Switching circuit 26 Address,
Data comparison circuit 3 Main storage unit (LSU), local storage unit (L
SU) 4 Service processor (SVP) 5 Bus controller (BC) Access request Compare START instruction Diagnostic program 100 to 108 Processing steps

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】プログラム,処理データが格納されてお
り、読み書きできる主記憶回路(3) と、該主記憶回路
(3) に格納されているデータの写しを持つキャッシュ記
憶回路(10)を内蔵しているマルチプロセッサ(1) と、該
マルチプロセッサ(1) を複数個接続し、同一プログラム
を走行させて出力されたアドレス/データを比較する比
較回路(26)と、該マルチプロセッサ(1) からの主記憶ア
クセス要求 () により、主記憶制御を行う主記憶制御
部(23)と、上記マルチプロセッサ(1) が、上記主記憶回
路(3) にデータの書き込みを行った場合、マルチプロセ
ッサ(1) の内蔵キャッシュ記憶回路(10)の所定のブロッ
クを無効化する機能を備えたメモリ制御回路(2) を具備
したプロセッサモジュールにおいて、 上記マルチプロセッサ(1) の内蔵キャッシュ記憶回路(1
0)と、上記主記憶回路(3) のデータを比較するアドレス
を格納する比較アドレスレジスタ(20)と、マルチプロセ
ッサ(1) のリードデータを格納する比較データレジスタ
(21)と、マルチプロセッサ(1) からの指示により、上記
比較アドレスレジスタ(20)で示すアドレスの、上記主記
憶回路(3) のデータを読み出し、主記憶データレジスタ
(24)に設定し、上記比較データレジスタ(21)の内容と比
較する比較回路(22)を、上記メモリ制御回路(2) に持た
せて、 上記マルチプロセッサ(1) の内蔵キャッシュ記憶回路(1
0)と、主記憶回路(3)とのデータ比較を、上記比較回路
(22)で行うことによって、マルチプロセッサ(1) の故障
を検出することを特徴とするマルチプロセッサの診断回
路。
1. A main memory circuit (3) in which a program and processing data are stored and which can be read and written, and the main memory circuit.
A multiprocessor (1) containing a cache memory circuit (10) having a copy of the data stored in (3) and a plurality of such multiprocessors (1) are connected, and the same program is run and output. A comparison circuit (26) for comparing the generated address / data, a main memory control unit (23) for controlling a main memory by a main memory access request () from the multiprocessor (1), and the multiprocessor (1 ) Writes data to the main memory circuit (3), the memory control circuit (2) has a function of invalidating a predetermined block of the internal cache memory circuit (10) of the multiprocessor (1). In the processor module including the above, a built-in cache memory circuit (1
0) and the comparison address register (20) that stores the address that compares the data in the main memory circuit (3), and the comparison data register that stores the read data of the multiprocessor (1)
(21) and the instruction from the multiprocessor (1) read the data in the main memory circuit (3) at the address indicated by the comparison address register (20) and store it in the main memory data register.
The memory control circuit (2) has a comparison circuit (22) that is set to (24) and compares with the contents of the comparison data register (21), and the built-in cache memory circuit () of the multiprocessor (1) ( 1
0) and the main memory circuit (3) for data comparison,
A multi-processor diagnostic circuit characterized by detecting a failure of the multi-processor (1) by carrying out in (22).
【請求項2】上記プロセッサモジュールにおいて、多重
化された複数個のマルチプロセッサ(1) から出力された
アドレス, データをの比較する比較回路(26)を無効化
し、アドレス, データを、一方のマルチプロセッサ(1)
のアドレス, データに切り替えることにより1つのマル
チプロセッサ(1) のみで動作する切り換え手段(25)を備
えて、 上記切り換えた一方のマルチプロセッサ(1) 上で、所定
の診断プログラム () を走行させることにより、故障
のマルチプロセッサ(1) を決定することを特徴とするマ
ルチプロセッサの診断回路。
2. In the processor module, a comparison circuit (26) for comparing addresses and data output from a plurality of multiplexed multiprocessors (1) is invalidated so that the addresses and data are transferred to one of the multiprocessors. Processor (1)
By providing a switching means (25) that operates only by one multiprocessor (1) by switching to one of the addresses and data, a predetermined diagnostic program () is run on one of the switched multiprocessors (1). A diagnostic circuit for a multiprocessor, characterized by determining a faulty multiprocessor (1).
JP5047048A 1993-03-09 1993-03-09 Diagnostic circuit for multiprocessor Withdrawn JPH06259269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5047048A JPH06259269A (en) 1993-03-09 1993-03-09 Diagnostic circuit for multiprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5047048A JPH06259269A (en) 1993-03-09 1993-03-09 Diagnostic circuit for multiprocessor

Publications (1)

Publication Number Publication Date
JPH06259269A true JPH06259269A (en) 1994-09-16

Family

ID=12764287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5047048A Withdrawn JPH06259269A (en) 1993-03-09 1993-03-09 Diagnostic circuit for multiprocessor

Country Status (1)

Country Link
JP (1) JPH06259269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015133029A (en) * 2014-01-15 2015-07-23 株式会社日立製作所 Security apparatus, security system, and security method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015133029A (en) * 2014-01-15 2015-07-23 株式会社日立製作所 Security apparatus, security system, and security method

Similar Documents

Publication Publication Date Title
US6263452B1 (en) Fault-tolerant computer system with online recovery and reintegration of redundant components
US5588111A (en) Fault-tolerant computer system having switchable I/O bus interface modules
US5384906A (en) Method and apparatus for synchronizing a plurality of processors
KR970007270B1 (en) Diagnostic mode for a cache
US5987585A (en) One-chip microprocessor with error detection on the chip
KR100406575B1 (en) Method and apparatus for tolerating unrecoverable errors in a multi-processor data processing system
US5381544A (en) Copyback memory system and cache memory controller which permits access while error recovery operations are performed
JP3129224B2 (en) Cache memory device
JPH06259269A (en) Diagnostic circuit for multiprocessor
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
JP2968484B2 (en) Multiprocessor computer and fault recovery method in multiprocessor computer
JPH09319474A (en) Power source controller for multiprocessor system
KR950012495B1 (en) Memory device diagnosis apparatus and method thereof
JPH05265790A (en) Microprocessor device
JP3214551B2 (en) Conflict detection failure diagnosis method, conflict detection failure diagnosis method, bus converter, and recording medium
JP2583617B2 (en) Multiprocessor system
JP2005010995A (en) Multiprocessor system and process for dealing with trouble of write-back thereof
JPS6119060B2 (en)
JP2000305840A (en) Cache memory and its fault detection method
JP2000330875A (en) Cache memory, main memory, memory subsystem, and information processor
JPH06250933A (en) Access control method for information processor and main storage
JPH07271671A (en) Cache device
JPH0936863A (en) Redundancy system
JPH1027132A (en) Cache memory invalidating device
JP2000222239A (en) Secondary cache memory, its diagnosing method and information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000509