JPS6118055A - Abnormality detecting system for access to out-area memory - Google Patents

Abnormality detecting system for access to out-area memory

Info

Publication number
JPS6118055A
JPS6118055A JP59138562A JP13856284A JPS6118055A JP S6118055 A JPS6118055 A JP S6118055A JP 59138562 A JP59138562 A JP 59138562A JP 13856284 A JP13856284 A JP 13856284A JP S6118055 A JPS6118055 A JP S6118055A
Authority
JP
Japan
Prior art keywords
memory
processor
access
common
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.)
Pending
Application number
JP59138562A
Other languages
Japanese (ja)
Inventor
Yoshihiro Chiba
千葉 芳弘
Hitoshi Sakamoto
坂本 均
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP59138562A priority Critical patent/JPS6118055A/en
Publication of JPS6118055A publication Critical patent/JPS6118055A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To detect assuredly the generation of an access abnormality by comparing an access with the information stored previously for detection of the abnormality when each block gives an access to the areas excluding a using area on a common memory. CONSTITUTION:Processors 21-1-21-4 deliver the memory address signals as well as the processor number signals onto a common bus 20 when those processors try to give accesses to a common memory 22. The memory 22 stores the processor number signals and the memory addresses allocated to the processors in correspondence and compares the processor number supplied from the bus 20 with the memory address. When the coincidence is obtained, the data signal on a designated address is read to the bus 20 out of the memory 22 or the data signal delivered onto the bus 20 is written to the memory 22. If no coincidence is obtained from said comparison, an alarm signal is delivered to the bus 20 from the memory 22 to show an access abnormality.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数個のプロセッサと共有メモリとを共通バス
を経て結合し、共通バスを介して各プロセッサ間の情報
転送を行うマルチプロセッサシステムにおいて、各プロ
セッサが共通メモリにおける使用領域以外の領域に対す
るアクセスしたときこれを検出することができ、従って
誤アクセスを防止してシステムの信頼性を向上させるこ
とができる実領域外メモリへのアクセス異常検出方法に
関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a multiprocessor system in which a plurality of processors and a shared memory are connected via a common bus, and information is transferred between the processors via the common bus. , it is possible to detect when each processor accesses an area other than the used area in the common memory, and therefore to detect abnormal accesses to memory outside the real area, which can prevent erroneous accesses and improve system reliability. It is about the method.

〔従来の技術〕[Conventional technology]

第8図は複数のプロセッサと共通メモリとを共通バスを
経て結合し、共通メモリを介して谷プロセッサ間の情報
転送を行うマルチプロセッサシステムを示したものであ
る。同図において1−1.1−2゜1−s、°・・、1
−Nはそれぞれプロセッサであって、共通バス2を経て
相互に接続されているとともに、さらに共通バス2を経
て共通メモリ3と接続されている。
FIG. 8 shows a multiprocessor system in which a plurality of processors and a common memory are coupled via a common bus, and information is transferred between the valley processors via the common memory. In the same figure, 1-1.1-2゜1-s, °..., 1
-N are processors, and are connected to each other via a common bus 2, and further connected to a common memory 3 via a common bus 2.

第9図は第8図における共通メモリ3の従来の構成例を
示したものである。同図において10はバス、11はア
ドレスデコーダ、12はメモリ素子、13はアドレス信
号レシーバ、14はパリティチェック回路、15はデー
タ信号ドライバ・レシーバである。
FIG. 9 shows a conventional configuration example of the common memory 3 in FIG. 8. In the figure, 10 is a bus, 11 is an address decoder, 12 is a memory element, 13 is an address signal receiver, 14 is a parity check circuit, and 15 is a data signal driver/receiver.

また第1O図は共通メモリに対するアドレスマツプの例
を示したものである。第10図において、アドレスAD
DO〜ADDIは各プロセッサに対して共通にアクセス
することを許可されている領域である。
FIG. 1O shows an example of an address map for the common memory. In Figure 10, address AD
DO to ADDI are areas that are commonly permitted to be accessed by each processor.

またアドレスADD2〜ADD3 、 ADD4〜AD
D5 、 ADiD6〜ADD7 、・曲・、 ADD
(N−1)〜ADDNはそれぞれ第8図におけるプロセ
ッサ1−1.1−2.1−11.・・・・・・、1−N
のみに対してアクセスすることを許可された領域である
Also addresses ADD2~ADD3, ADD4~AD
D5, ADiD6~ADD7,・Song・, ADD
(N-1) to ADDN are processors 1-1.1-2.1-11. in FIG. 8, respectively. ......, 1-N
This is an area that is only authorized for access.

以下これら各図に基づいて、従来のマルチプロセッサシ
ステムにおける共通メモリアクセス方法の概要を説明す
る。いま例えば第8図におけるプロセッサ1−2が共通
メモリ3をアクセスしようとするときは、プロセッサ1
−2から共通バス2上に、プロセッサ1−2がアクセス
することを許可されている領域に対応する共通メモリア
ドレスを出力する。共通メモリにおいては第9図に示す
ように、バス10からアドレス信号レシーバ13ヲ経て
このアドレス信号を受信し、アドレスデコーダ11は受
信したアドレスの上位部分をデコードして、その出力を
メモリ素子12のチン1セレクト端子C8に与えること
によって、メモリ素子12f、セレクトする。
An overview of a common memory access method in a conventional multiprocessor system will be explained below based on these figures. For example, when processor 1-2 in FIG. 8 attempts to access common memory 3, processor 1
-2 on the common bus 2, outputs the common memory address corresponding to the area that the processor 1-2 is permitted to access. In the common memory, as shown in FIG. 9, this address signal is received from the bus 10 via the address signal receiver 13, and the address decoder 11 decodes the upper part of the received address and sends the output to the memory element 12. The memory element 12f is selected by applying the signal to the pin 1 select terminal C8.

これによって共通メモリ3を構成するメモリ素子が複数
個あるとき(第9図においてはメモリ素子12のみが代
表的に示されている)、所要のメモリ素子をセレクトす
ることができる。アドレス信号の下位部分はセレクトさ
れたメモリ素子12において、所要の番地をアクセスす
るために用いられる。
As a result, when there are a plurality of memory elements constituting the common memory 3 (only the memory element 12 is representatively shown in FIG. 9), the desired memory element can be selected. The lower part of the address signal is used to access the desired address in the selected memory element 12.

一方、プロセッサ1−2からアクセスの目的(読出しま
たは書込み)に応じて、それぞれRD倍信号たはWT倍
信号バス10ヲ経てメモリ素子12に与えられる。これ
によって読出し時にはメモリ素子12の指定アドレスの
データが読出されて、データ信号ドライバ・レシーバ1
5を経てバスlOに出力され、書込み時には、バス10
上のデータがデータ信号ドライバ・レシーバ15ヲ経て
メモリ素子12に与えられて、指定アドレスに書込まれ
る。
On the other hand, depending on the purpose of access (reading or writing), the processor 1-2 provides the memory element 12 via the RD double signal or the WT double signal bus 10, respectively. As a result, at the time of reading, the data at the designated address of the memory element 12 is read out, and the data signal driver/receiver 1
5 to bus lO, and when writing, bus 10
The above data is applied to the memory element 12 via the data signal driver/receiver 15 and written to the designated address.

しかしながら、このような共通メモリのアクセス方法で
は、許可されていない領域をアクセスする可能性がある
。例えばアドレス信号レシーバ13に異常を生じた場合
、セレクトされるべきメモリ素子以外のメモリ素子がセ
レクトされる可能性がある。一方、読出されたデータ信
号におけるエラーを検出するためにパリティチェック回
路14が設けられていて、出力データとアドレス信号の
最下位部分として与えられるパリティビットとによって
パリティチェックを行うことによって、1ビツトのデー
タエラーを検出することができるようにナッテいるが、
例えばデータ信号ドライバ・レシーバ15に異常があっ
て、データに偶数ビット数のエラーが生じたときは、デ
ータの異常を検出することができない。従ってパリティ
チェックによる方法では誤アクセスの検出を行う上に限
界がある。
However, with such a common memory access method, there is a possibility that an unauthorized area may be accessed. For example, if an abnormality occurs in the address signal receiver 13, a memory element other than the memory element to be selected may be selected. On the other hand, a parity check circuit 14 is provided to detect errors in the read data signal, and performs a parity check using the output data and the parity bit given as the lowest part of the address signal. Natte is able to detect data errors, but
For example, if there is an abnormality in the data signal driver/receiver 15 and an even number of bit errors occur in the data, the data abnormality cannot be detected. Therefore, the parity check method has limitations in detecting erroneous accesses.

また誤アクセス防止の目的にパリティチェック回路を設
けることは、構成を複雑化するので好ましくない。
Further, it is not preferable to provide a parity check circuit for the purpose of preventing erroneous access because it complicates the configuration.

このように共通メモリに対するアクセス異常を検出する
ことができない場合には、マルチプロセッサシステム全
体の動作に支障を生じることがある。例えば第8図にお
いてプロセッサ1−=が、プロセッサ1−1のみにアク
セスを許可された領域(第10図ADD2〜ADD3 
)のあるアドレスに対して書込み金行った場合、次にプ
ロセッサ1−1がそのアドレスに対して読出しを行った
場合は、本来そのアドレスにあるべきデータがプロセッ
サ1−2が書込んだデータに変化しているので、システ
ムの動作に支障を生じることになる。またプロセッサ1
−1がプロセッサ1−2に対してのみアクセスを許可さ
れた領域(第10図ADD 4〜ADD5)の、あるア
ドレスに対して読出しを行った場合にも、本来プロセッ
サi−tが読出すべきデータと異なるデータが読出され
るので、システムの動作に支障を生じるおそれがある。
If an access abnormality to the common memory cannot be detected in this way, the operation of the entire multiprocessor system may be hindered. For example, in FIG. 8, processor 1-= is an area that only processor 1-1 is permitted to access (ADD2 to ADD3 in FIG. 10).
), if processor 1-1 reads from that address, the data that should originally be at that address will be changed to the data written by processor 1-2. This will cause a problem in the operation of the system. Also processor 1
-1 reads from a certain address in the area (ADD 4 to ADD 5 in FIG. 10) that is permitted only for processor 1-2 to access, even if processor i-t should originally read the address. Since data different from the original data is read, there is a risk that system operation will be hindered.

このような問題があるため、第9図に示されたごとき従
来の構成では、共通メモリに読み曹きされるデータの保
証ができず、システムの信頼性が低下することを避けら
れなかった。
Due to these problems, in the conventional configuration as shown in FIG. 9, it is not possible to guarantee the data that is read into the common memory, which inevitably lowers the reliability of the system.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は、複数個のプロセッサと共通メモリとを共通バ
スを経て結合し、共通メモリを介して各プロセッサ間の
情報転送を行うマルチプロセッサシステムにおいて、各
プロセッサが、各プロセッサについて定められた共通メ
モリ上の使用領域以外の領域へアクセスするアクセス異
常を発生したとき、これを確実に検出することができる
ようにしようとするものである。
The present invention provides a multiprocessor system in which a plurality of processors and a common memory are connected via a common bus, and information is transferred between the processors via the common memory, in which each processor has a common memory defined for each processor. This is intended to be able to reliably detect when an access abnormality occurs that involves accessing an area other than the above-mentioned used area.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、複数個のプロセッサと共通メモリと共通バス
を経て結合し、共通メモリヲ介して各プロセッサ間の情
報転送を行うマルチプロセッサシステムにおいて共通メ
モリにおけるメモリ使用領域を予め各プロセッサに割当
て、各プロセッサは共通メモリアクセス時メモリアドレ
スとともに自プロセッサについて定められたナンバを出
力し、共通メモリにおいては入力されたメモリアドレス
とプロセッサナンバとの情報と予め記憶されている各プ
ロセッサごとのプロセッサナンバとメモリ使用領域との
情報とを比較照合して一致しないとき該プロセッサのア
クセス異常を検出するようにしたものである。
The present invention provides a multiprocessor system in which a plurality of processors, a common memory, and a common bus are connected to each other, and information is transferred between each processor via the common memory. outputs the number determined for its own processor along with the memory address when accessing the common memory, and in the common memory, it outputs information on the input memory address and processor number, and the pre-stored processor number and memory usage area for each processor. The information is compared and verified, and if they do not match, an access abnormality of the processor is detected.

〔作用〕[Effect]

本発明によれば、複数個のプロセッサと共通メモリとを
共通バスを経て結合し、共通メモリを介して各プロセッ
サ間の情報転送を行うマルチプロセッサシステムにおい
て、各プロセッサが、各プロセッサについて定められた
共通メモリ上の使用領域以外の領域にアクセスしたとき
、予め記憶されている情報との比較照合によってこれを
検出することによって、アクセス異常を検定することが
でき、これによって共通メモリに曹込みまたはこれから
読出されるデータを保証し、システムの信頼性を高める
ことができる。
According to the present invention, in a multiprocessor system in which a plurality of processors and a common memory are coupled via a common bus and information is transferred between the processors via the common memory, each processor has a When an area other than the used area on the common memory is accessed, it is possible to detect an access abnormality by comparing it with previously stored information. It is possible to guarantee read data and improve system reliability.

〔実施例〕〔Example〕

第1図ないし第4図は本発明の一実施例を示したもので
あって、第1図はプロセッサ4個からなるマルチプロセ
ッサシステムにおける谷プロセッサと共通メモリ間にお
けるデータのやシとシに使用される信号の流れを示した
ものである。同図において、20は共通バス、21− 
s 、21− t 、21− s 、21−4はそれぞ
れプロセッサ、22は共通メモリである。
1 to 4 show an embodiment of the present invention, and FIG. 1 is used for data transfer between a valley processor and a common memory in a multiprocessor system consisting of four processors. This figure shows the flow of signals. In the figure, 20 is a common bus, 21-
s, 21-t, 21-s, and 21-4 are processors, respectively, and 22 is a common memory.

各プロセッサは共通メモリ22ヲアクセスしようとする
とき、メモリアドレス信号とともにそのプロセッサの番
号を示すプロセッサナンバ信号を共通バス艶上に出力す
る。共通メモリ22にはプロセッサナンバとそのプロセ
ッサに割当°Cられたメモリアドレスとを対応づけて記
憶されておシ、共通バス20から入力されたプロセッサ
ナンバとメモリアドレスとを記憶値と比較照合し、一致
したときはプロセッサから共通バス加を介してコントロ
ール信号によって指示された動作が読出しであるときは
、共通メモリ22から指定アドレスのデータ信号が共通
バス20上に読出される。指定された動作が警込みであ
るときは、共通バス20上に出力されているデータ信号
が共通メそす22に書込まれる。
When each processor attempts to access the common memory 22, it outputs a processor number signal indicating the number of that processor along with a memory address signal onto the common bus. The common memory 22 stores a processor number and a memory address assigned to that processor in association with each other, and compares the processor number and memory address input from the common bus 20 with the stored value, When they match, the data signal of the designated address is read out from the common memory 22 onto the common bus 20 if the operation instructed by the control signal from the processor is a read. When the specified operation is an alarm, the data signal output on the common bus 20 is written to the common bus 22.

また比較照合の結果一致しなかったときは、共通メモリ
22からアクセス異常を示すアラーム信号が共通バス2
0上に出力される。
In addition, if the result of comparison and verification does not match, an alarm signal indicating an access abnormality is sent from the common memory 22 to the common bus 2.
Output on 0.

第2図は、本発明の一実施例におけるプロセッサの構成
例を示したものである。同図において、31はプロセッ
サナンバ出力部、32はプロセッサナンバ設定器、33
はプロセッサである。
FIG. 2 shows an example of the configuration of a processor in an embodiment of the present invention. In the figure, 31 is a processor number output unit, 32 is a processor number setter, and 33 is a processor number output unit.
is a processor.

第2図において、プロセッサナンバ設定器32は例えば
所要ビット数の設定ピンやDIPスイッチ等からなシ、
プロセッサのナンバをそのビット数に応じた設定ピンの
挿入、不挿入またはDIPスイッチのオン、オフ等によ
って設定することができる。
In FIG. 2, the processor number setter 32 includes, for example, setting pins for the required number of bits, DIP switches, etc.
The processor number can be set by inserting or not inserting a setting pin or turning a DIP switch on or off depending on the number of bits.

なおプロセッサナンバの設定はこのような方法に限るも
のでなく、他の任意の方法でもよいことは言うまでもな
い。プロセッサナンバ出力部31ハプロセツサナンパ設
定器;32において設定されたプロセッサナンバを読取
ってプロセッサ33が共通メモリをアクセスしたときプ
ロセッサナンバの信号PNu、PNOを共通バス20上
に出力する。これと同時にプロセッサ33はアクセスし
ようとする共通メモIJ 17)アドレス信号A15〜
AOOを出力し、さらにアクセスの目的に応じてコント
ロール信号RD(ill出し時)またはWT (書込み
時)を共通バス20上に出力する。プロセッサあのアク
セスが異常であって共通メモリからアラーム信号が出力
されたときは、プロセッサ33は共通バス20を介して
これを受信し、アクセス動作を中止する。
Note that setting the processor number is not limited to this method, and it goes without saying that any other method may be used. The processor number output section 31 reads the processor number set in the processor number setter 32 and outputs processor number signals PNu and PNO onto the common bus 20 when the processor 33 accesses the common memory. At the same time, the processor 33 attempts to access the common memory IJ 17) Address signals A15~
AOO is output, and a control signal RD (when ill is output) or WT (when written) is output on the common bus 20 depending on the purpose of access. When the processor access is abnormal and an alarm signal is output from the common memory, the processor 33 receives this via the common bus 20 and stops the access operation.

第3図は第1図に示されたマルチプロセッサシステムに
おける共通メモリのアドレスマツプとプロセッサナンバ
の割付けの例とを示している。同図において(a)はア
ドレスマツプの例を示し、アドレス0000〜IFFF
は各プロセッサに対して共通にアクセスを許可された領
域でアシ、アドレス2000〜3FFF、 4000〜
5FFF 、 6000〜7FFF 。
FIG. 3 shows an example of the common memory address map and processor number assignment in the multiprocessor system shown in FIG. In the figure, (a) shows an example of an address map, with addresses 0000 to IFFF
is an area that is commonly allowed to be accessed by each processor, and addresses 2000 to 3FFF, 4000 to
5FFF, 6000~7FFF.

8000〜9FFFはそれぞれプロセッサ21−1.2
1−2 。
8000 to 9FFF are processors 21-1.2, respectively.
1-2.

21− a 、21−4のみがアクセスを許可された領
域である。(b)はプロセッサナンバの割付けを示し、
プロセッサナンバ21−1.21− x 、21− s
 、21−4に対し、プロセッサナンバ信号PNI、 
PNOが図示のように割当てられる。
21-a and 21-4 are the only areas to which access is permitted. (b) shows the allocation of processor numbers,
Processor number 21-1.21-x, 21-s
, 21-4, the processor number signal PNI,
PNOs are assigned as shown.

第4図は本発明の一実施例における共通メモリの構成例
を示したものである。同図において、41はデコーダ、
42 、43はアンドゲート、44はメモリ素子である
FIG. 4 shows an example of the configuration of a common memory in an embodiment of the present invention. In the figure, 41 is a decoder;
42 and 43 are AND gates, and 44 is a memory element.

第4図において、デコーダ41には共通バス20を介し
てプロセッサナンバ信号PNI 、 PNOおよびメモ
リアドレス信号の上位A15〜A13が入力される。
In FIG. 4, processor number signals PNI, PNO and upper memory address signals A15 to A13 are input to a decoder 41 via a common bus 20.

これによってデコーダ41はアクセスが正常なとき、す
なわち入力されたプロセッサナンバと共通メモリアドレ
スとの対応関係が予め記憶されているプロセッサナンバ
と共通メモリアドレスとの対応関係と一致したときは、
メモリセレクト信号をリード・ライトゲート信号とを出
力し、アクセス異常のとき、すなわち入力されたプロセ
ッサナンバと共通メモリアドレスとの対応関係が予め記
憶されているプロセッサナンバと共通メモリアドレスと
の対応関係と一致しないときはアラーム信号ALMを出
力する□メモリセレクト信号はチップセレクト信号C8
としてメモリ素子44に与えられて、こ   。
As a result, when the access is normal, that is, when the correspondence between the input processor number and the common memory address matches the correspondence between the pre-stored processor number and the common memory address, the decoder 41 performs the following operations:
A memory select signal is output as a read/write gate signal, and when an access error occurs, the correspondence between the input processor number and the common memory address is changed from the correspondence between the pre-stored processor number and the common memory address. If they do not match, an alarm signal ALM is output □Memory select signal is chip select signal C8
This is applied to the memory element 44 as a.

れを動作状態にする。一方、曹込み時には書込み信号W
Tが、読出し時には読出し信号RDが共通バス20上に
出力されておシ、リード・ライトゲート信号が出力され
たとき、アンドゲート42または43を経て書込み信号
WTまたは読出し信号RDがメモリ素子44に与えられ
、これによってメモリ素子44はアドレス信号の下位A
12〜AOによって指定されたアドレスにおいて、共通
バス20上のデータを書込み、またはそのアドレスのデ
ータを共通バス型上に読出す動作を行う。
put it into operation. On the other hand, when writing, the write signal W
When T is read, the read signal RD is output on the common bus 20, and when the read/write gate signal is output, the write signal WT or the read signal RD is output to the memory element 44 via the AND gate 42 or 43. is applied, thereby causing the memory element 44 to receive the lower A of the address signal.
At the address specified by 12 to AO, data on the common bus 20 is written or data at that address is read onto the common bus type.

第1図ないし第4図に示された実施例においては、メモ
リアドレス信号の上位A15〜A13とプロセッサナン
バ信号PNI、 PNOの情報があれば、アクセス異常
の検定を行うことができる。すなわち第4図におけるデ
コーダ41はアクセス異常検定回路としての動作を行い
、上記各情報をデコーダ41に入力することによって、
アクセス異常検定を行ってその結果アクセス異常があれ
ばリード・ライトゲート信号によって書込み信号WTま
たは読出し信号RDをロックしてこれらの動作を禁止す
るとともに、アラーム信号を共通バス20上に出力して
プロセッサに通知することができる。
In the embodiments shown in FIGS. 1 to 4, if there is information on the upper memory address signals A15 to A13 and the processor number signals PNI and PNO, access abnormality can be verified. That is, the decoder 41 in FIG. 4 operates as an access abnormality test circuit, and by inputting the above information to the decoder 41,
An access abnormality test is performed, and if there is an access abnormality as a result, the write signal WT or read signal RD is locked by the read/write gate signal to prohibit these operations, and an alarm signal is output to the common bus 20 to notify the processor. may be notified.

第5図、第6図は本発明の他の実施例を示したものであ
って、第5図は4個のプロセッサと共通メモリとからな
るマルチプロセッサシステムにおいて、プロセッサの共
通メモリアクセスモードが 、読出しくRD)モードま
たは書込み(WT)モードのいずれかに予め定められて
いる場合のアクセスの例を示している。同図において、
共通メモリ22におけるアドレス8000〜8FFFは
プロセッサ21−t。
5 and 6 show other embodiments of the present invention. FIG. 5 shows a multiprocessor system consisting of four processors and a common memory, in which the common memory access mode of the processors is An example of access when either the read (RD) mode or the write (WT) mode is predetermined is shown. In the same figure,
Addresses 8000 to 8FFF in the common memory 22 are for the processor 21-t.

21−露に対してアクセスを許可されているが、プロセ
ッサ21−1はWTモードアクセスのみ、プロセッサ2
1−1はRDモードアクセスのみが許可される。
21-1 is allowed access to Russia, but processor 21-1 only has WT mode access;
1-1 is allowed only RD mode access.

また共通メモリ22におけるアドレス9000〜9 F
FFはプロセッサ21− s 、21− aに対してア
クセスを許可されているが、プロセッサ21−sはWT
モードアクセスのみ、プロセッサ21−4はRDモード
アクセスのみが許可される。
Also, addresses 9000 to 9F in the common memory 22
The FF is allowed access to the processors 21-s and 21-a, but the processor 21-s is not allowed to access the WT.
Mode access only, the processor 21-4 is permitted only RD mode access.

このように定められたマルチプロセッサシステムでハ、
各プロセッサがアクセスを許可された共通メモリ領域が
RDモードであるかWTモードであるかが定まっている
ので、プロセッサのアクセス異常の検定を簡単化するこ
とができる。
In a multiprocessor system defined in this way,
Since it is determined whether the common memory area that each processor is permitted to access is in the RD mode or the WT mode, it is possible to simplify the test for access abnormalities of the processors.

第6図はこの場合に対応する共通メモリの構成例を示し
たものであって、第4図におけると同じ部分は同じ番号
で示されておjQ、45.46はドライバである。
FIG. 6 shows an example of the configuration of a common memory corresponding to this case, in which the same parts as in FIG. 4 are designated by the same numbers, and jQ and 45.46 are drivers.

第6図において、デコーダ41にはプロセッサナンバ信
号PNI、PNOおよびメモリアドレス信号の上位A1
2が入力される。これによってデコーダ41はアクセス
が正常なときメモリ素子44を動作状態にするメモリセ
レクト信号と、書込み時にはWTストローブ信号と、読
出し時にはRDストローブ信号とを出力する。これによ
って書込み時には書込み信号WTがドライバ45を経て
、胱出し時には読出し信号RDがドライバ46を経てメ
モリ素子44に与えられ、これによってメモリ素子44
は共通ノ(ス20との間でデータの書込みまたは読出し
を行う。
In FIG. 6, the decoder 41 includes processor number signals PNI, PNO and the upper A1 of the memory address signal.
2 is input. As a result, the decoder 41 outputs a memory select signal that puts the memory element 44 into an operating state when access is normal, a WT strobe signal during writing, and an RD strobe signal during reading. As a result, the write signal WT is applied to the memory element 44 via the driver 45 during writing, and the read signal RD is applied to the memory element 44 via the driver 46 during bladder removal.
writes or reads data to/from the common node (20).

以上説明した2つの実施例においては、プロセッサのア
ドレスの検定をデコーダ41によって行っているが、こ
のようなデコーダは一般にROM (リードオンリーメ
モリー)によって構成し、所要のデータを予め書込んで
おくことによって実現することができる。しかしながら
このようなアドレスの検定を行う手段はROMに限るも
のではなく、使用するアドレスを登録する手段と、登録
されたアドレスとプロセッサから出力されるアドレスと
を比較照合して検定する手段とを具えたものであれば他
の装置によっても実現することができる0第7図はアド
レスの検定を行う装置の他の構成例を示し、使用アドレ
スの登録に設定板を使用し、検定にコンパレータを使用
した例を示している0同図において51は設定板であっ
て例えば設定ピンまたはDIPスイッチ等からなり、共
通メモリにおける使用領域のアドレスをそのビット数に
応じたピンの挿入、不挿入またはスイッチのオン、オフ
等によって設定することができる。52はコンノ(レー
タであって、プロセッサから出力されたアドレスと設定
板51に設定されているアドレスとを比較して一致した
とき読出し時であればメモリセレクト信号とRDストロ
ーブ信号とを出力し、書込み時であればメモリセレクト
信号とWTストローブ信号とを出力する。一致しなかっ
たときはいずれの信号も出力されない。
In the two embodiments described above, the address of the processor is verified by the decoder 41, but such a decoder is generally constituted by a ROM (read only memory), and the required data is written in advance. This can be achieved by However, the means for verifying such an address is not limited to the ROM, and includes means for registering the address to be used and means for comparing and verifying the registered address with the address output from the processor. Figure 7 shows another configuration example of a device for verifying addresses, in which a setting board is used to register addresses to be used, and a comparator is used for verification. 0 In the same figure, 51 is a setting board, which is made up of setting pins or DIP switches, etc., and is used to set the address of the used area in the common memory by inserting or not inserting a pin, or by not inserting a switch, depending on the number of bits. It can be set by turning it on, off, etc. Reference numeral 52 is a controller which compares the address output from the processor with the address set on the setting board 51 and outputs a memory select signal and an RD strobe signal if the address is read when they match. During writing, a memory select signal and a WT strobe signal are output.If they do not match, neither signal is output.

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

以上説明したように本発明の方法によれば、複数個のプ
ロセッサと共通メモリとを共通バスを経て胎合し、共通
メモリを介して各プロセッサ間の情報転送を行うマルチ
プロセッサシステムにおいて、各プロセッサが、各プロ
セッサについて定められた共通メモリ上の使用領域以外
の領域にアクセスしたとき、確実にこれを検出してアク
セス異常を通知することができる。従って共通メモリに
書込みまたはこれから読出されるデータを保証すること
ができ、システムの信頼性を向上させることが可能にな
る。
As explained above, according to the method of the present invention, in a multiprocessor system in which a plurality of processors and a common memory are integrated via a common bus, and information is transferred between each processor via the common memory, each processor However, when access is made to an area other than the used area on the common memory defined for each processor, this can be reliably detected and an access abnormality can be notified. Therefore, data written to or read from the common memory can be guaranteed, and system reliability can be improved.

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

第1図ないし第4図は本発明の一実施例を示し、第1図
は各プロセッサと共通メモリ間におけるデータのやシと
シに使用される信号の流れを示す図、第2図はプロセッ
サの構成例を示す図、第3図は共通メモリのアドレスマ
ツプとプロセッサナンバの割付けの例を示す図、第4図
は共通メモリの構成例を示す図である。第5図、第6図
は本発明の他の実施例を示し、第5図は各プロセッサの
共通メモリに対するアクセスの例を示す図、第6図は共
通メモリの構成例を示す図である。また第7図はアドレ
スの検定を行う装置の他の構成例を示す図、第8図はマ
ルチプロセッサシステムの構成例を示す図、第9図は従
来の共通メモリの構成例を示す図、第10図は共通メモ
リに対するアドレスマツプの例を示す図である。 1−1.1−11.1−11.・・・・・・、1−N:
プロセッサ、 2:共通バス、3:共通メモリ、10:
バス、11ニアドレスデコーダ、12:メモリ素子、1
3ニアドレス信号レンーバ、14:バリティチェック回
路、15:データ信号ドライバ・レシーバ、20:共通
バス、21−1゜21−s+、21−s、21−< :
プロセッサ、22:共通メモリ、31:プロセッサナン
バ出力部、32:プロセッサナンバ設定器、33:プロ
セッサ、41:デコーダ、42゜43:アンドゲート、
44:メモリ素子、 45.46:ドライバ、51:設
定板、52:コンパレータ。 第6図 (α) D 第4図 共通バス 9日 第9図 第10図 アドレス
1 to 4 show one embodiment of the present invention, FIG. 1 is a diagram showing the flow of signals used for data exchange between each processor and a common memory, and FIG. FIG. 3 is a diagram showing an example of the common memory address map and processor number assignment, and FIG. 4 is a diagram showing an example of the common memory configuration. 5 and 6 show other embodiments of the present invention, FIG. 5 is a diagram showing an example of access to the common memory by each processor, and FIG. 6 is a diagram showing an example of the configuration of the common memory. 7 is a diagram showing another example of the configuration of a device for verifying addresses, FIG. 8 is a diagram showing an example of the configuration of a multiprocessor system, FIG. 9 is a diagram showing an example of the configuration of a conventional common memory, and FIG. FIG. 10 is a diagram showing an example of an address map for the common memory. 1-1.1-11.1-11. ......, 1-N:
processor, 2: common bus, 3: common memory, 10:
Bus, 11 Near address decoder, 12: Memory element, 1
3 Near address signal receiver, 14: Parity check circuit, 15: Data signal driver/receiver, 20: Common bus, 21-1°21-s+, 21-s, 21-<:
Processor, 22: Common memory, 31: Processor number output unit, 32: Processor number setter, 33: Processor, 41: Decoder, 42° 43: AND gate,
44: Memory element, 45.46: Driver, 51: Setting board, 52: Comparator. Figure 6 (α) D Figure 4 Common bus 9th Figure 9 Figure 10 Address

Claims (1)

【特許請求の範囲】[Claims] 複数個のプロセッサと共通メモリとを共通バスを経て結
合し、該共通バスを介して各プロセッサ間の情報転送を
行うマルチプロセッサシステムにおいて共通メモリにお
けるメモリ使用領域を予め各プロセッサに割当て、各プ
ロセッサは共通メモリアクセス時メモリアドレスととも
に自プロセッサについて定められたナンバを出力し、共
通メモリにおいては入力されたメモリアドレスとプロセ
ッサナンバとの情報と予め記憶されている各プロセッサ
ごとのプロセッサナンバとメモリ使用領域との情報とを
比較照合して一致しないとき該プロセッサのアクセス異
常を検出することを特徴とする領域外メモリへのアクセ
ス異常検定方法。
In a multiprocessor system in which a plurality of processors and a common memory are connected via a common bus and information is transferred between each processor via the common bus, a memory usage area in the common memory is allocated to each processor in advance, and each processor When accessing the common memory, a number determined for the own processor is output together with the memory address, and in the common memory, information on the input memory address and processor number, and the pre-stored processor number and memory usage area for each processor are output. 1. A method for testing an abnormality in access to an out-of-area memory, the method comprising: comparing and collating information on the processor and detecting an access abnormality in the processor when the information does not match.
JP59138562A 1984-07-04 1984-07-04 Abnormality detecting system for access to out-area memory Pending JPS6118055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59138562A JPS6118055A (en) 1984-07-04 1984-07-04 Abnormality detecting system for access to out-area memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59138562A JPS6118055A (en) 1984-07-04 1984-07-04 Abnormality detecting system for access to out-area memory

Publications (1)

Publication Number Publication Date
JPS6118055A true JPS6118055A (en) 1986-01-25

Family

ID=15225040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59138562A Pending JPS6118055A (en) 1984-07-04 1984-07-04 Abnormality detecting system for access to out-area memory

Country Status (1)

Country Link
JP (1) JPS6118055A (en)

Similar Documents

Publication Publication Date Title
US5659678A (en) Fault tolerant memory
CA1291269C (en) Efficient address test for large memories
JPH10283274A (en) Method and device for testing memory
US4371963A (en) Method and apparatus for detecting and correcting errors in a memory
US4621364A (en) Circuit arrangement for recording the addresses of storage cells with erroneous content
US6421765B1 (en) Method and apparatus for selecting functional space in a low pin count memory device
US4165533A (en) Identification of a faulty address decoder in a function unit of a computer having a plurality of function units with redundant address decoders
JPS6391764A (en) Memory system having parity checking function
JPS6118055A (en) Abnormality detecting system for access to out-area memory
JPH0316655B2 (en)
JPS6118056A (en) Abnormality detecting system for access to out-area memory
EP0556138B1 (en) A bus for connecting extension cards to a data processing system and test method
JPS6357819B2 (en)
EP0165986A1 (en) Computer controlled systems
JPH06250933A (en) Access control method for information processor and main storage
JPH07302226A (en) Memory illegal access detection circuit
SU936035A1 (en) Redundancy storage
JPS62290951A (en) Memory check device
JP2000207235A (en) Information processor
JPH06119200A (en) Memory device and its test system
JPH08305636A (en) Memory device
JPH04101248A (en) Memory address setting mistake detection circuit
JPH03100844A (en) Chance memory controller
JPH0793039B2 (en) Memory address control circuit
JPH0652015A (en) Computer system