JPH01228055A - Multi-processor system - Google Patents

Multi-processor system

Info

Publication number
JPH01228055A
JPH01228055A JP63054271A JP5427188A JPH01228055A JP H01228055 A JPH01228055 A JP H01228055A JP 63054271 A JP63054271 A JP 63054271A JP 5427188 A JP5427188 A JP 5427188A JP H01228055 A JPH01228055 A JP H01228055A
Authority
JP
Japan
Prior art keywords
memory
error
processor
signal
processors
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
JP63054271A
Other languages
Japanese (ja)
Inventor
Satoru Abe
哲 阿部
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63054271A priority Critical patent/JPH01228055A/en
Publication of JPH01228055A publication Critical patent/JPH01228055A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To efficiently execute an error processing by storing by the cycle of which processor a memory error occurs and executing an error generation information to a processor to generate an error. CONSTITUTION:Plural processors 1A and 1B are connected through a bus BS to a memory 2. When an error occurs at the memory 2, it is detected by a memory error detecting means 3 and sent to an error signal informing means 4. The error signal informing means 4 stores by the access cycle of which processor the memory error occurs, and at the time of the access cycle of the said processor, the stored error signal is informed to the processor.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、複数のプロセッサと、これらの複数のプロセ
ッサによって共通にアクセスされる共有メモリとからな
るマルチプロセッサシステムに関し、更に詳しくは、メ
モリエラーが発生した場合、そのメモリエラー信号をエ
ラーを発生させたプロセッサに確実に通知することがで
きるようにしたマルチプロセッサシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a multiprocessor system comprising a plurality of processors and a shared memory commonly accessed by the plurality of processors. The present invention relates to a multiprocessor system in which, when a memory error signal occurs, the processor that causes the error can be reliably notified of the memory error signal.

(従来の技術) メモリ装置を有するコンピュータシステムは、メモリア
クセスが正常に行われたかどうかのエラー検出を、例え
ばパリティチエツクなどによって行うようにしている。
(Prior Art) A computer system having a memory device uses, for example, a parity check to detect errors to determine whether memory access has been performed normally.

第4図は、エラー検出回路を持ったコンピュータシステ
ムの一例を示す構成概念図である。
FIG. 4 is a conceptual diagram showing an example of a computer system having an error detection circuit.

プロセッサ1と、メモリ2とはデータバスDBを介して
結ばれており、メモリ2のアクセス時においてエラー検
出回路3がエラーを検出すると、エラー検出信号をプロ
セッサ1に通知する。
Processor 1 and memory 2 are connected via data bus DB, and when error detection circuit 3 detects an error when accessing memory 2, it notifies processor 1 of an error detection signal.

ここでエラー検出回路3によるエラー検出には、一定の
時間が必要で、プロセッサ1がエラー通知信号を待って
いたのでは、メモリ1へのアクセス時間を延ばしてしま
うという不具合がある。
Here, error detection by the error detection circuit 3 requires a certain amount of time, and if the processor 1 were to wait for an error notification signal, there is a problem that the access time to the memory 1 would be extended.

この為エラー発生の通知(このエラー通知信号は割り込
みやアクセス異常を示す特殊な信号を用いる)を、次の
アクセスサイクルで行うことが考えられる。この手法は
、めったに発生しないエラーの為に、通常の動作速度を
犠牲にしなくても良い点で有効である。
For this reason, it is conceivable to notify the occurrence of an error (this error notification signal uses an interrupt or a special signal indicating an access abnormality) in the next access cycle. This method is effective in that it does not require sacrificing normal operating speed due to rare errors.

(発明が解決しようとする課題) しかしながら、データバスDBに複数のプロセッサを接
続し、メモリ2を共有するようなシステムでは、メモリ
エラーの発生したサイクルと、メモリエラーが通知され
るサイクルとが一致せず、別のプロセッサにエラー信号
が通知されてしまうという問題点が生ずる。
(Problem to be solved by the invention) However, in a system in which multiple processors are connected to the data bus DB and the memory 2 is shared, the cycle in which a memory error occurs and the cycle in which the memory error is notified coincide with each other. A problem arises in that the error signal is sent to another processor instead.

第5図は、2つのプロセッサIA、IBを用いたシステ
ムの場合の、前記した動作を示すタイムチャートである
FIG. 5 is a time chart showing the above-mentioned operation in the case of a system using two processors IA and IB.

本発明は、この様な問題点に鑑みてなされたもので、そ
の目的は、マルチプロセッサシステムにおいて、メモリ
エラーがどのプロセッサのサイクルで発生したのかを記
憶しておき、エラー発生通知は、実際にエラー発生のサ
イクルにアクセスを実行していたプロセッサに行うこと
ができるシステムを実現することにある。
The present invention has been made in view of these problems.The purpose of the present invention is to store in which processor cycle a memory error occurs in a multiprocessor system, and to notify the actual error occurrence. The object of the present invention is to realize a system that can access the processor that was executing the access in the cycle in which the error occurred.

(課題を解決するための手段) 第1図は、本発明の基本的な構成を示す構成ブロック図
である0図において、IA、IBは複数のプロセッサ、
2はこれらの複数のプロセッサIA、IBによって共通
にアクセスされる共有メモリ、3は共有メモリ2のメモ
リエラーを検出するメモリエラー検出手段である。
(Means for Solving the Problems) FIG. 1 is a block diagram showing the basic configuration of the present invention. In FIG. 0, IA and IB represent a plurality of processors,
2 is a shared memory commonly accessed by these plurality of processors IA and IB; 3 is a memory error detection means for detecting a memory error in the shared memory 2;

4はこのメモリエラー検出手段3がメモリエラーを検出
したとき前記複数のプロセッサIA、IBの中のいずれ
のプロセッサがメモリアクセスをしていたかを保持し、
当該プロセッサがアクセスする時点でメモリエラー信号
を該当するプロセッサに通知するエラー信号通知手段で
ある。
4 holds which processor among the plurality of processors IA and IB was accessing the memory when the memory error detection means 3 detected a memory error;
This is an error signal notification means for notifying a memory error signal to a corresponding processor at the time when the processor accesses the memory.

(作用) メモリエラー検出手段3がメモリエラーを検出すると、
エラー信号通知手段4は、そのメモリエラーがどのプロ
セッサのアクセスサイクルで発生したものかを記憶し、
該当するプロセッサのアクセスサイクルの時点でそのプ
ロセッサに対して、記憶していたエラー信号を通知する
(Function) When the memory error detection means 3 detects a memory error,
The error signal notification means 4 stores in which processor access cycle the memory error occurred,
At the time of the access cycle of the relevant processor, the stored error signal is notified to that processor.

(実施例) 以下図面を用いて、本発明の実施例を詳細に説明する。(Example) Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は、本発明の一実施例を示す構成ブロック図であ
る。ここでは2つのプロセッサlA11Bが1つのメモ
リ2を共有するシステムを例示する0図において、5は
2つのプロセッサIA、IBのメモリアクセス権を互い
に競合しないように制御するメモリアクセス権制御回路
である。
FIG. 2 is a block diagram showing an embodiment of the present invention. In FIG. 0 illustrating a system in which two processors IA and IB share one memory 2, 5 is a memory access right control circuit that controls the memory access rights of the two processors IA and IB so that they do not conflict with each other.

エラー信号通知手段4において、41a、41bはゲー
トで、それぞれエラー検出手段3からのメモリエラー信
号MERと、バスサイクルを示す信号BCYとを入力す
ると共に、ゲート41aは、プロセッサIAがアクセス
権を得ていることを示す信号Aacsを入力し、ゲート
41bは、プロセッサIBがアクセス権を得ていること
を示す信号Bac sを入力する。42aはゲート41
aからの信号を保持する保持手段、42bはゲート41
bからの信号を保持する保持手段で、これらは例えばフ
リップフロップが用いられる。
In the error signal notifying means 4, 41a and 41b are gates to which the memory error signal MER from the error detecting means 3 and the signal BCY indicating the bus cycle are respectively input. The gate 41b receives a signal Aacs indicating that the processor IB has access rights, and a signal Bacs indicating that the processor IB has access rights. 42a is gate 41
Holding means for holding the signal from a, 42b is the gate 41
A holding means for holding the signal from b, for example, a flip-flop is used.

43a、43bはゲートで、一方のゲート43aは、保
持手段42aからの信号と、バスサイクル信号BCYと
、プロセッサIAがアクセス権を得ていることを示す信
号Aacsとを入力する。
43a and 43b are gates, and one gate 43a receives a signal from the holding means 42a, a bus cycle signal BCY, and a signal Aacs indicating that the processor IA has obtained access rights.

また、他方のゲート43bは、保持手段42bからの信
号と、バスサイクル信号BCYと、プロセッサIBがア
クセス権を得ていることを示す信号Bacsとを入力す
る。44はオアゲートで、ゲート43a、43bからの
信号を入力し、その出力信号をメモリエラー通知信号と
して、各プロセッサIA、IBに送出する。
Further, the other gate 43b receives a signal from the holding means 42b, a bus cycle signal BCY, and a signal Bacs indicating that the processor IB has obtained access rights. 44 is an OR gate which inputs the signals from the gates 43a and 43b and sends its output signal as a memory error notification signal to each processor IA and IB.

この様に構成した装置の動作を、次に説明する。The operation of the apparatus configured in this way will be explained next.

第3図は、その動作の一例を示すタイムチャートである
FIG. 3 is a time chart showing an example of the operation.

メモリアクセス権制御回路5は、2つのプロセッサIA
、IBからのメモリアクセス要求を受は付け、アクセス
が競合しないようにプロセッサIA、プロセッサIBに
、それぞれ(イ)、(ロ)に示すようなアクセス許可信
号Aacs、BacSを出力している。各プロセッサI
A、IBはこのアクセス許可信号に従って、(ハ)に示
すバスサイクルに、共有メモリ2に対してアクセスを行
う、メモリエラー検出手段3は、メモリ2から読み出さ
れるデータに対して、例えばパリティチエツクを行い、
エラーの有無を判定する。
The memory access right control circuit 5 includes two processors IA
, IB, and outputs access permission signals Aacs and BacS as shown in (a) and (b) to processor IA and processor IB, respectively, to prevent access conflicts. Each processor I
According to this access permission signal, A and IB access the shared memory 2 in the bus cycle shown in (c).The memory error detection means 3 performs, for example, a parity check on the data read from the memory 2. conduct,
Determine whether there is an error.

ここで、例えば、プロセッサIAのメモリアクセス時に
、メモリエラーが検出されたものとすれば、(ニ)に示
すようなタイミングで、メモリエラー信号をMERを出
力する。
Here, for example, if a memory error is detected when the processor IA accesses the memory, the memory error signal MER is outputted at the timing shown in (d).

エラー信号通知手段4において、メモリエラー検出手段
3からのメモリエラー信号MERは、ゲh41aを通っ
て保持手段42aに(ホ)に示すように保持される。な
お、この時は、ゲート41bはアクセス許可信号Bac
 sがローレベルであって、閉じられている。
In the error signal notification means 4, the memory error signal MER from the memory error detection means 3 passes through the gate h41a and is held in the holding means 42a as shown in (e). Note that at this time, the gate 41b receives the access permission signal Bac.
s is low level and closed.

保持手段42aに保持されたメモリエラー信号は、次に
到来するプロセッサIAのメモリアクセス時に、(へ)
に示すようにゲート43a及びオアゲート44を通って
、メモリエラー通知信号としてプロセッサIAに出力さ
れる。
The memory error signal held in the holding means 42a is sent to (to) the next time the processor IA accesses the memory.
As shown in FIG. 4, the signal passes through the gate 43a and the OR gate 44 and is output to the processor IA as a memory error notification signal.

プロセッサIAは、このメモリエラー通知信号を受は取
り、これから前回自分がメモリアクセスした時に、メモ
リエラーが発生したことを認識し、エラーに対する適切
な処置、例えば再試行等の処理をとることになる。
The processor IA receives this memory error notification signal, recognizes that a memory error occurred the last time it accessed the memory, and takes appropriate action against the error, such as retrying. .

なお上記では、プロセッサIAがメモリアクセスした時
にメモリエラーが発生した場合について説明したが、プ
ロセッサIBがメモリアクセスした時に、メモリエラー
が発生した場合も、その動作は同様である。
Although the above description has been given of the case where a memory error occurs when the processor IA accesses the memory, the operation is the same even when a memory error occurs when the processor IB accesses the memory.

(発明の効果) 以上詳細に説明したように、本発明によれば、複数のプ
ロセッサを含んで構成されるシステムにおいて、各プロ
セッサの動作速度を犠牲にすることなく、メモリアクセ
スエラーが発生した場合、該当するプロセッサに対して
、メモリエラーの通知を適切に行うことができるもので
、エラーに対する処理を有効に行うことができる。
(Effects of the Invention) As described above in detail, according to the present invention, in a system including a plurality of processors, when a memory access error occurs without sacrificing the operating speed of each processor, , it is possible to appropriately notify the relevant processor of a memory error, and it is possible to effectively process the error.

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

第1図は本発明の基本的な構成ブロック図、第2図は本
発明の一実施例を示す構成ブロック図、第3図はその動
作の一例を示すタイムチャート、第4図は、エラー検出
回路を持ったコンピュータシステムの一例を示す構成概
念図、第5図は第4図において、2つのプロセッサを用
いてシステムを構成した場合の、動作を示すタイムチャ
ートである。 IA、IB・・・プロセッサ 2・・・メモリ 3・・・メモリエラー検出手段 4・・・エラー信号通知手段 5・・・メモリアクセス権制御手段 第1因 第2図 メ乞す−エラー姻側町tnt 第4図 第5図
Fig. 1 is a basic configuration block diagram of the present invention, Fig. 2 is a configuration block diagram showing an embodiment of the invention, Fig. 3 is a time chart showing an example of its operation, and Fig. 4 is an error detection FIG. 5 is a conceptual configuration diagram showing an example of a computer system having a circuit. FIG. 5 is a time chart showing the operation when the system in FIG. 4 is configured using two processors. IA, IB...Processor 2...Memory 3...Memory error detection means 4...Error signal notification means 5...Memory access right control means Town tnt Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 複数のプロセッサと、これらの複数のプロセッサによっ
て共通にアクセスされる共有メモリとからなるシステム
において、 前記共有メモリのメモリエラーを検出する手段と、この
メモリエラー検出手段がメモリエラーを検出したとき前
記複数のプロセッサの中のいずれのプロセッサがメモリ
アクセスをしていたかを保持し、当該プロセッサがアク
セスする時点でメモリエラー信号を通知するエラー信号
通知手段とを設けたことを特徴とするマルチプロセッサ
システム。
[Scope of Claim] A system comprising a plurality of processors and a shared memory commonly accessed by the plurality of processors, comprising: means for detecting a memory error in the shared memory; and the memory error detecting means detecting a memory error. and an error signal notification means for retaining which processor among the plurality of processors is accessing the memory when the memory is detected, and for notifying a memory error signal at the time when the processor accesses the memory. multiprocessor system.
JP63054271A 1988-03-08 1988-03-08 Multi-processor system Pending JPH01228055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63054271A JPH01228055A (en) 1988-03-08 1988-03-08 Multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63054271A JPH01228055A (en) 1988-03-08 1988-03-08 Multi-processor system

Publications (1)

Publication Number Publication Date
JPH01228055A true JPH01228055A (en) 1989-09-12

Family

ID=12965914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63054271A Pending JPH01228055A (en) 1988-03-08 1988-03-08 Multi-processor system

Country Status (1)

Country Link
JP (1) JPH01228055A (en)

Similar Documents

Publication Publication Date Title
RU2137182C1 (en) Execution of data processing instruction
EP0431326A2 (en) Inter-processor interrupts in an n-element multi-processor
GB1493448A (en) Memory access control in data processing systems
JPH01228055A (en) Multi-processor system
JPH06161873A (en) Hang-up processings system for plural access points to main memory
JPH03132829A (en) Parity inspection system
KR950015104A (en) How to support indivisible cycle using bus monitor
JPH06309185A (en) Information processor
JP2982197B2 (en) Bus monitor circuit for cache
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JPH01309159A (en) Multi-port memory
JP3448962B2 (en) Arithmetic processing unit
KR960007835B1 (en) Common memory access device for multi-processor
JPS5899841A (en) Address controlling system of partially mounted control memory
JP2658342B2 (en) Data processing device
JPH0797335B2 (en) Computer runaway detection device
JPS62166464A (en) Contension control system for multiprocessor
JPH0230060B2 (en)
JPH04157543A (en) Cache memory control circuit
JPH09179736A (en) Pipeline processor
JPS6158049A (en) Error detection
JPH02163844A (en) Processor monitoring circuit
JPS61264436A (en) Data processing system
JPS60225941A (en) Microprogram control device
JPH0745073A (en) Method for refreshing dram