JPH01258054A - Access control system for storage device - Google Patents

Access control system for storage device

Info

Publication number
JPH01258054A
JPH01258054A JP63084096A JP8409688A JPH01258054A JP H01258054 A JPH01258054 A JP H01258054A JP 63084096 A JP63084096 A JP 63084096A JP 8409688 A JP8409688 A JP 8409688A JP H01258054 A JPH01258054 A JP H01258054A
Authority
JP
Japan
Prior art keywords
address
parity
extended
storage device
address bus
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
JP63084096A
Other languages
Japanese (ja)
Inventor
Tsuratoshi Nakano
連利 中野
Yuji Shibata
柴田 雄司
Hisamitsu Tanihira
久光 谷平
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 JP63084096A priority Critical patent/JPH01258054A/en
Publication of JPH01258054A publication Critical patent/JPH01258054A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the generation of malfunction by controlling whether an address parity is to be inverted or not in accordance with the decoded result of an extended address. CONSTITUTION:A storage device 5 not including a storage part to be accessed by an extended address is provided with an extended address decoder 7 and the decoder 7 decodes an extended address on an address bus 4, controls an address parity on the bus 4 as a parity error, adds the address parity to a parity check part 6, and when the extended address is applied to the device 5, controls the extended address so as to detect an address error. When the number of extended address bits '1' is an even number, the decoder 7 inversionally outputs an address bus parity, and at the time of an odd number, the address bus parity is outputted as it is. Thereby, a parity error is generated and the error is detected as an address error by the check part 6, so that the access of the device 5 based upon the extended address can be inhibited and the generation of malfunction can be prevented.

Description

【発明の詳細な説明】 〔概要〕 大容量の記憶装置をアクセスできる中央制御装置により
、実装された小容量の記憶装置をアクセスする記憶装置
のアクセス制御方式に関し、何らかの原因により未実装
の記憶部をアクセスする拡張アドレスが記憶装置に加え
られた時に、アドレスエラーとして検出できるようにす
ることを目的とし、 中央制御装置のアドレス発生部からの拡張アドレスを含
むアドレスと、アドレスバスパリティ生成部で前記アド
レスを基に生成したアドレスバスパリティとをアドレス
バスに送出し、記憶装置のパリティチェック部により前
記アドレスバス上のアドレスエラーの有無を検出する記
憶装置のアクセス制御方式に於いて、前記拡張アドレス
によりアクセスされる記憶部が未実装の記憶装置に拡張
アドレスデコーダを設け、前記アドレスバス上の前記拡
張アドレスを前記拡張アドレスデコーダによりデコード
して、前記アドレスバス上のアドレスバスパリティをパ
リティエラーとなるように制御して前記パリティチェッ
ク部に加え、拡張アドレスによりアクセスされる記憶部
が未実装の記憶装置に拡張アドレスが加えられた時にア
ドレスエラーが検出されるように制御する構成とした。
[Detailed Description of the Invention] [Summary] Regarding an access control method for a storage device in which a central control unit that can access a large-capacity storage device accesses an installed small-capacity storage device, it is possible to access an unimplemented storage device for some reason. The purpose of this is to enable detection as an address error when an extended address that accesses an address is added to a storage device. In an access control method of a storage device, an address bus parity generated based on an address is sent to an address bus, and a parity check section of the storage device detects whether or not there is an address error on the address bus. An extended address decoder is provided in a storage device in which a storage unit to be accessed is not implemented, and the extended address decoder decodes the extended address on the address bus so that the address bus parity on the address bus becomes a parity error. In addition to the above-mentioned parity check section, control is provided so that an address error is detected when an extended address is added to a storage device in which a storage section accessed by an extended address is not implemented.

〔産業上の利用分野〕[Industrial application field]

本発明は、大容量の記憶装置をアクセスできる中央制御
装置により、実装された小容量の記憶装置をアクセスす
る記憶装置のアクセス制御方式に関するものである。
The present invention relates to an access control method for a storage device in which a small-capacity storage device mounted thereon is accessed by a central control unit that can access a large-capacity storage device.

将来のシステム拡張を考慮して、大容量の記憶装置をア
クセスできるようなアドレスを出力する構成の中央制御
装置を用いてシステムを構築する場合がある。例えば、
電子交換機に於いて、現在の収容加入者数は少ないが、
将来、増加する予定がある場合に、最大収容加入者数に
対応した記憶容量の記憶装置をアクセスできる中央制御
装置を用いて構成することになる。このようなシステム
に於いては、拡張するまでは小容量の記憶装置で済むこ
とになり、拡張アドレスを使用する必要がないことにな
るが、何らかの原因により拡張アドレスがアドレスバス
に送出された時に、誤動作しないことが必要である。
In consideration of future system expansion, a system may be constructed using a central control unit configured to output an address that allows access to a large-capacity storage device. for example,
Although the number of subscribers currently accommodated by electronic exchanges is small,
If there is a plan to increase the number of subscribers in the future, a central control unit that can access a storage device with a storage capacity corresponding to the maximum number of subscribers will be configured. In such a system, until it is expanded, only a small capacity storage device is required and there is no need to use the extended address, but if for some reason the extended address is sent to the address bus. , it is necessary that there is no malfunction.

〔従来の技術〕[Conventional technology]

中央制御装置と記憶装置とをバスで接続し、各種の情報
処理を行うシステムに於いて、中央制御装置から記憶装
置をアクセスするアドレスのエラーを検出する為に、パ
リティチェックが行われている。例えば、第5図に示す
ように、中央制御装置31のアドレス発生部32から記
憶装置35のアドレスを発生し、アドレスバスパリティ
生成部33に於いてアドレスバスパリティを生成し、ア
ドレスバス34にアドレスと共に送出し、記憶装置35
に於いては、パリティチェック部36に於いてアドレス
のパリティをチエツクし、アドレスエラーの有無を検出
するものである。
In a system in which a central control unit and a storage device are connected via a bus to perform various information processing, a parity check is performed to detect errors in addresses used to access the storage device from the central control unit. For example, as shown in FIG. 5, the address generator 32 of the central control unit 31 generates an address for the storage device 35, the address bus parity generator 33 generates address bus parity, and the address bus 34 generates an address. and the storage device 35
In this case, the parity check section 36 checks the parity of the address and detects the presence or absence of an address error.

アドレスエラーが検出されると、記憶装置35はそのア
ドレスを無効とし、データの読出し又は書込みの動作を
行わないもので、その時のエラー発生を中央制御装置3
1に通知するシステムや無応答とするシステム等がある
When an address error is detected, the storage device 35 invalidates the address and does not read or write data.
There are systems that notify the number 1 and systems that do not respond.

又中央制御装置31のアドレス発生部32からのアドレ
スビット幅を、将来の拡張性を考慮して大きくし、アド
レスバス34もそれに対応した構成とするシステムがあ
り、その場合に、記憶装置は、システムとして必要な記
憶容量分だけ実装する構成と、拡張システムで使用する
予定の記憶容量を予め実装しておく構成とがある。
There is also a system in which the address bit width from the address generation unit 32 of the central control unit 31 is increased in consideration of future expandability, and the address bus 34 is configured accordingly. There is a configuration in which only the storage capacity required for the system is installed, and a configuration in which the storage capacity scheduled to be used in the expansion system is installed in advance.

又半導体技術の進歩により、パリティチェック部36を
含めて記憶装置35は集積回路化されているのが一般的
であり、従って、記憶容量を増加する場合も容易となる
Furthermore, with advances in semiconductor technology, the storage device 35 including the parity check section 36 is generally integrated into an integrated circuit, and therefore it is easy to increase the storage capacity.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

中央制御装置31のアドレス発生部32からのアドレス
ビット幅を大きくし、システム拡張前から予めそのアド
レスビット幅でアクセスできる記憶容量の記憶装置を実
装した構成の場合は、使用しない記憶容量分を予め実装
するものであるから経済性に劣ることになる。従って、
実際に使用する記憶容量分だけを実装し、システム拡張
時に追加実装する構成とすることにより、経済的な構成
となる。
In the case of a configuration in which the address bit width from the address generation unit 32 of the central control unit 31 is increased and a storage device with a storage capacity that can be accessed with that address bit width is installed in advance before system expansion, the unused storage capacity can be reserved in advance. Since it is something to be implemented, it is less economical. Therefore,
An economical configuration can be achieved by implementing only the memory capacity that is actually used and adding additional units when expanding the system.

その場合、実際に実装されている記憶装置をアクセスす
るアドレスビット幅は、アドレス発生部32からのアド
レスビット幅に比較して小さいものであり、パリティチ
ェック部36は、記憶装置35をアクセスするビット数
についてパリティチェックを行う構成であるから、何ら
かの原因により拡張アドレス、即ち、アドレス発生部3
2からのアドレスの中、記憶装置のアドレスより上位の
ビットが使用された場合、そのアドレスを基にアドレス
バスパリティ生成部33でアドレスバスパリティが生成
されるので、拡張アドレスビットの“1”が偶数の場合
は、パリティチェック部36に於いてはアドレスエラー
は検出されないが、奇数の場合はアドレスエラーが検出
されることになる。そして、拡張アドレスビットを除く
アドレスにより記憶装置がアクセスされてデータが読出
された場合、正しいアドレスにより読出されたデータで
はないので、中央制御装置31が誤動作することになる
。又データを書込む場合は、正しくないアドレスにデー
タが書込まれて、前に書込まれていたデータが破壊され
ることになる。
In that case, the address bit width for accessing the actually implemented storage device is smaller than the address bit width from the address generation unit 32, and the parity check unit 36 Since the configuration performs a parity check on the number, for some reason the extended address, that is, the address generator 3
If the bits higher than the address of the storage device are used in the address from 2, address bus parity is generated by the address bus parity generation unit 33 based on that address, so the extended address bit "1" If the number is even, the parity check unit 36 will not detect an address error, but if the number is odd, the address error will be detected. If the storage device is accessed and data is read using an address other than the extended address bit, the central control unit 31 will malfunction because the data is not read using the correct address. Furthermore, when writing data, the data will be written to an incorrect address and the previously written data will be destroyed.

そこで、システム拡張前は、小規模システムに対応した
アドレスビット幅のアドレス発生部32及びアドレスバ
スパリティ生成部33を設ければ良いことになるが、中
央制御装置31に於いても集積回路化されていることに
より、記憶装置35の記憶容量規模に対応した構成に交
換することは不可能であり、且つ交換することはシステ
ム拡張を前提としたものではなくなる。
Therefore, before system expansion, it is sufficient to provide an address generator 32 with an address bit width compatible with a small-scale system and an address bus parity generator 33, but the central controller 31 may also be integrated into an integrated circuit. Because of this, it is impossible to replace the configuration with one that corresponds to the storage capacity scale of the storage device 35, and replacement is not based on system expansion.

本発明は、何らかの原因により未実装の記憶部をアクセ
スする拡張アドレスが記憶装置に加えられた時に、アド
レスエラーとして検出できるようにすることを目的とす
るものである。
An object of the present invention is to enable detection as an address error when an extended address accessing an unimplemented storage section is added to a storage device for some reason.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の記憶装置のアクセス制御方式は、拡張アドレス
のデコード結果に対応してアドレスバスパリティを反転
するか否か制御するものであり、以下第1図を参照して
説明する。
The access control method for a storage device according to the present invention controls whether or not to invert address bus parity in accordance with the decoding result of an extended address, and will be explained below with reference to FIG.

中央制御装置1のアドレス発生部2からの拡張アドレス
を含むアドレスと、アドレスバスパリティ生成部3で前
記アドレスを基に生成したアドレスバスパリティとをア
ドレスバス4に送出し、記憶装置5のパリティチェック
部6によりアドレスバス4上のアドレスエラーの有無を
検出する記憶装置のアクセス制御方式に於いて、拡張ア
ドレスによりアクセスされる記憶部が未実装の記憶装置
5に、拡張アドレスデコーダ7を設けて、アドレスバス
4上の拡張アドレスを拡張アドレスデコーダ7によりデ
コードし、アドレスバス4上のアドレスバスパリティを
パリティエラーとなるように制御して、このアドレスバ
スパリティをパリティチエ7り部6に加え、拡張アドレ
スによりアクセスされる記憶部が未実装の記憶装置5に
拡張アドレスが加えられた時にアドレスエラーが検出さ
れるように制御するものである。
The address including the extended address from the address generation unit 2 of the central control unit 1 and the address bus parity generated based on the address by the address bus parity generation unit 3 are sent to the address bus 4, and the parity of the storage device 5 is checked. In the access control method for a storage device in which the presence or absence of an address error on the address bus 4 is detected by the unit 6, an extended address decoder 7 is provided in the storage device 5 in which a storage unit accessed by an extended address is not mounted. The extended address on the address bus 4 is decoded by the extended address decoder 7, the address bus parity on the address bus 4 is controlled so that a parity error occurs, and this address bus parity is added to the parity checker 6. Control is performed so that an address error is detected when an extended address is added to a storage device 5 whose storage unit is not yet accessed.

〔作用〕[Effect]

拡張アドレスデコーダ7は、拡張アドレスビットの“1
“の奇偶を判定し、拡張アドレスビットの“1”が偶数
の場合に、アドレスバスパリティを反転して出力し、奇
数の場合に、アドレスバスパリティをそのまま出力する
。それによって、パリティエラーとなり、パリティチェ
ック部6ではアドレスエラーとして検出するから、拡張
アドレスによる記憶装置5のアクセスを禁止し、誤動作
を防止することができる。
The extended address decoder 7 decodes the extended address bit “1”.
If the extended address bit "1" is an even number, the address bus parity is inverted and output, and if it is an odd number, the address bus parity is output as is.This causes a parity error. Since the parity check unit 6 detects this as an address error, it is possible to prohibit access to the storage device 5 using the extended address and prevent malfunctions.

〔実施例〕〔Example〕

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

第2図は本発明の実施例の要部ブロック図であり、11
は中央制御装置、12はアドレス発生部、13はアドレ
スバスパリティ生成部、14はアドレスバス、15は記
憶装置、16はパリティチェック部、17は拡張アドレ
スデコーダ、18はデータ転送部、19はデータバス、
20は制御部、21は記憶部である。
FIG. 2 is a block diagram of main parts of an embodiment of the present invention, and 11
1 is a central control unit, 12 is an address generation unit, 13 is an address bus parity generation unit, 14 is an address bus, 15 is a storage device, 16 is a parity check unit, 17 is an extended address decoder, 18 is a data transfer unit, and 19 is data bus,
20 is a control section, and 21 is a storage section.

アドレス発生部12及びアドレスバスパリティ生成部1
3は、中央制御装置11の図示を省略した演算部や内部
記憶装置等を用いた機能により実現されるものであり、
アドレス発生部12からmビットのアドレスが送出され
、このmビットのアドレスを基にアドレスバスパリティ
生成部13から1ビツトのアドレスバスパリティpが送
出される。又記憶装置15の記憶部21は、システム拡
張前の記憶容量を有し、従って、n (n<m)ビット
のアドレスでアクセスされる。
Address generator 12 and address bus parity generator 1
3 is realized by functions using an arithmetic unit, an internal storage device, etc. (not shown) of the central control unit 11,
An m-bit address is sent from the address generator 12, and a 1-bit address bus parity p is sent from the address bus parity generator 13 based on this m-bit address. Furthermore, the storage unit 21 of the storage device 15 has the storage capacity before system expansion, and is therefore accessed with an n (n<m) bit address.

アドレスバス14は(m+1)ビットの幅を有し、拡張
アドレスデコーダ17は、拡張アドレスビット (m−
n)とアドレスバスパリティpとが加えられ、拡張アド
レスを使用した時のデコード結果に応じてアドレスバス
パリティpを反転するか否か制御された擬似アドレスバ
スパリティpsを出力する。パリティチェック部16は
、記憶部21をアクセスするnビットのアドレスと、拡
張アドレスデコーダ17からの擬似アドレスバスパリテ
ィpsとが加えられ、この擬似アドレスバスパリティp
sを用いてnビットのアドレスのパリティチェックを行
い、パリティエラーによりアドレスエラーが検出される
と、エラー検出信号erを制御部20に加える。
Address bus 14 has a width of (m+1) bits, and extended address decoder 17 has extended address bits (m-
n) and the address bus parity p, and outputs a pseudo address bus parity ps in which whether or not the address bus parity p is inverted is controlled depending on the decoding result when an extended address is used. The parity check unit 16 adds the n-bit address for accessing the storage unit 21 and the pseudo address bus parity ps from the extended address decoder 17, and adds the pseudo address bus parity ps to the parity check unit 16.
A parity check is performed on an n-bit address using s, and when an address error is detected due to a parity error, an error detection signal er is applied to the control unit 20.

制御部20は、記憶部21のアクセス制御を行うもので
、nビットのアドレスが加えられ、パリティチェック部
16からエラー検出信号erが加えられた時には、その
アドレスを無効として記憶部21のアクセスを禁止する
The control unit 20 controls access to the storage unit 21, and when an n-bit address is added and an error detection signal er is applied from the parity check unit 16, the control unit 20 invalidates the address and prevents access to the storage unit 21. prohibit.

拡張アドレスデコーダ17は、拡張アドレスが使用され
ていない時、アドレスバスパリティpをそのまま擬似ア
ドレスバスパリティpsとし°C出力する。この場合、
中央制御装置11のアドレスバスパリティ生成部13で
は、nビットのアドレスを基にアドレスバスパリティを
生成したことになり、パリティチエ7り部16では、ア
ドレスバス14に於ける転送エラーがなければパリティ
エラーが生じないのでエラー検出信号erは出力されな
い。
When the extended address is not used, the extended address decoder 17 outputs the address bus parity p directly as a pseudo address bus parity ps. in this case,
The address bus parity generation unit 13 of the central control unit 11 generates address bus parity based on the n-bit address, and the parity check unit 16 detects a parity error if there is no transfer error on the address bus 14. Since no error occurs, the error detection signal er is not output.

従って、制御部20でnビットのアドレスがデコードさ
れて記憶部21のアクセスが行われ、データ読出しの場
合は、読出されたデータが制御部20を介してデータバ
ス19に送出され、中央制御装置11のデータ転送部1
8に転送される。又データ書込みの場合は、データ転送
部18からデータバス19にデータが送出され、制御部
20を介して記憶部21に加えられて書込まれる。
Therefore, the control unit 20 decodes the n-bit address to access the storage unit 21, and in the case of data reading, the read data is sent to the data bus 19 via the control unit 20, and the central control unit 11 data transfer unit 1
Transferred to 8. In the case of data writing, data is sent from the data transfer section 18 to the data bus 19, and is added to the storage section 21 via the control section 20 and written therein.

記憶部21に対するアクセス終了により、制御部20か
ら中央制御装置11にアクセス終了信号が制御バスを介
して転送され、中央制御装置11は次の処理に移行する
ことになる。
Upon completion of the access to the storage unit 21, an access completion signal is transferred from the control unit 20 to the central control unit 11 via the control bus, and the central control unit 11 moves on to the next process.

アドレスバスパリティ生成部13は、前述のように、拡
張アドレスを含むmビットのアドレスを基にアドレスバ
スパリティpを生成するもので、拡張アドレスを使用し
た時には、nビットのアドレスを基に生成したアドレス
バスパリティとは異なり、拡張アドレスのパターンによ
り影響を受けるものとなる。又記憶装置15のパリティ
チェック部16は、nビットのアドレスを基にパリティ
チェックを行うものであるから、拡張アドレスを使用し
た時には、パリティエラーとして検出できる場合とでき
ない場合とが生じる。
As mentioned above, the address bus parity generation unit 13 generates address bus parity p based on an m-bit address including an extended address, and when an extended address is used, it generates address bus parity p based on an n-bit address. Unlike address bus parity, it is affected by the extended address pattern. Furthermore, since the parity check section 16 of the storage device 15 performs a parity check based on an n-bit address, when an extended address is used, there are cases where it can be detected as a parity error and cases where it cannot be detected.

そこで、拡張アドレスデコーダ17では、拡張アドレス
ピッl−(m−n)の“1”が奇数の場合に、アドレス
バスパリティpをそのまま擬似アドレスバスパリティp
sとして出力し、偶数の場合に、アドレスバスパリティ
pを反転して擬似アドレスバスパリティpsとして出力
する。即ち、拡張アドレスビットの“1”の数が奇数で
あれば、奇偶何れのパリティ方式に於いても、nビー/
 )のアドレスから生成したアドレスバスパリティを反
転する必要があり、偶数であれば反転する必要がないこ
とになるが、拡張アドレスデコーダ17に於いては、こ
の関係を逆に利用し、拡張アドレスを使用した時には、
パリティエラーが生じるように擬似アドレスバスパリテ
ィpsを制御するものである。
Therefore, in the extended address decoder 17, when "1" of the extended address pin l-(m-n) is an odd number, the address bus parity p is directly converted to the pseudo address bus parity p.
If the number is even, address bus parity p is inverted and output as pseudo address bus parity ps. In other words, if the number of "1"s in the extended address bits is an odd number, nB/
) It is necessary to invert the address bus parity generated from the address of When used,
The pseudo address bus parity ps is controlled so that a parity error occurs.

従って、拡張アドレスを使用した時には、パリティチェ
ック部16からエラー検出信号erが出力されて制御部
20に加えられることになる。それにより、制御部20
はnビットのアドレスを無効として記憶部21のアクセ
スを禁止する。従って、実装されていない記憶部21を
アクセスする拡張アドレスがアドレスバス14に送出さ
れた時に、そのアクセスを禁止するから、誤りのデータ
が読出されることはなく、又誤ったアドレスへデータが
書込まれることがなくなる。この場合、制御部20から
中央制御装置11に対してアクセス終了信号が転送され
ないことになり、中央制御装置11は、記憶装置15に
対するアクセス開始からのタイムアウトにより、例外処
理等を実行することになる。
Therefore, when an extended address is used, the error detection signal er is output from the parity check section 16 and applied to the control section 20. As a result, the control unit 20
invalidates the n-bit address and prohibits access to the storage unit 21. Therefore, when an extended address that accesses a storage unit 21 that is not implemented is sent to the address bus 14, that access is prohibited, so erroneous data will not be read and data will not be written to an erroneous address. No more getting caught. In this case, the access end signal will not be transferred from the control unit 20 to the central control unit 11, and the central control unit 11 will execute exception processing etc. due to a timeout from the start of access to the storage device 15. .

第3図は本発明の実施例の拡張アドレスデコーダのブロ
ック図であり、23は拡張アドレスビットの中の1”が
偶数であるか否か検出する偶数検出回路、24はオア回
路、25はアンド回路、26は排他的オア回路である。
FIG. 3 is a block diagram of an extended address decoder according to an embodiment of the present invention, in which 23 is an even number detection circuit for detecting whether 1" in the extended address bits is an even number, 24 is an OR circuit, and 25 is an AND circuit. The circuit 26 is an exclusive OR circuit.

拡張アドレスが使用されない時は、拡張アドレスピンド
は総て“O”であり、従って、アンド回路25の出力信
号は“0”であるから、排他的オア回路26の出力信号
の擬似アドレスバスパリティpsは、アドレスバスパリ
ティpがそのまま出力されるものとなる。
When the extended address is not used, the extended address pins are all "O" and therefore the output signal of the AND circuit 25 is "0", so the pseudo address bus parity of the output signal of the exclusive OR circuit 26 is The address bus parity p is output as is.

又拡張アドレスが使用された時に、拡張アドレスビット
の“l”が奇数個であると、偶数検出回路23の出力信
号は“0”となり、アドレスバスパリティpはそのまま
排他的オア回路26から擬似アドレスバスパリティps
として出力される。
Further, when an extended address is used, if the extended address bit "l" is an odd number, the output signal of the even number detection circuit 23 becomes "0", and the address bus parity p is directly transferred from the exclusive OR circuit 26 to the pseudo address. bus parity ps
is output as

又拡張アドレスビットの“l“が偶数個であると、偶数
検出回路23の出力信号は“1”となり、アンド回路2
5の出力信号も“1”となるから、アドレスバスパリテ
ィpは排他的オア回路26により反転されて擬似アドレ
スバスパリティpsとして出力される。
If the extended address bit "l" is an even number, the output signal of the even number detection circuit 23 becomes "1", and the AND circuit 2
Since the output signal of No. 5 also becomes "1", the address bus parity p is inverted by the exclusive OR circuit 26 and output as the pseudo address bus parity ps.

第4図は本発明の実施例の拡張アドレスデコーダの具体
的論理回路であり、m−24、n=22とした場合を示
し、27はアンド回路、28は排他的オア回路である。
FIG. 4 shows a specific logic circuit of the extended address decoder according to the embodiment of the present invention, showing the case where m-24 and n=22, 27 is an AND circuit, and 28 is an exclusive OR circuit.

アドレス発生部12からのmビットのアドレスAOO〜
A23を基にアドレスバスパリティ生成部13に於いて
アドレスバスパリティpが生成され、そのアドレスバス
パリティpは排他的オア回路28に加えられ、又mビッ
トのアドレスAOO〜23からnピントのアドレスAO
O−A21を除いた拡張アドレスビットA22、A23
はアンド回路27に加えられる。
m-bit address AOO~ from address generator 12
Address bus parity p is generated in the address bus parity generation unit 13 based on A23, and the address bus parity p is added to the exclusive OR circuit 28, and the address bus parity p of n pinto is added to the exclusive OR circuit 28.
Extended address bits A22 and A23 excluding O-A21
is added to the AND circuit 27.

この拡張アト1/スピットA22.A23が2ビツト共
“1”の場合は、アンド回路27の出力信号が“1′と
なり、排他的オア回路28によりアドレスバスパリティ
pは反転されて擬似アドレスバスパリティpsとなり、
又拡張アドレスビットA22.A23の何れか一方が“
1”の場合、或いは両方が“0” (拡張アドレスを使
用しない時)は、アンド回路27の出力信号は0”であ
るから、アドレスバスパリティpはそのまま擬似アドレ
スバスパリティpsとして出力される。
This extended Ato1/Spit A22. When both bits of A23 are "1", the output signal of the AND circuit 27 becomes "1", and the exclusive OR circuit 28 inverts the address bus parity p to become the pseudo address bus parity ps.
Also, extended address bit A22. Either one of A23 is “
1", or both are "0" (when no extended address is used), the output signal of the AND circuit 27 is 0", so the address bus parity p is directly output as the pseudo address bus parity ps.

拡張アドレスデコーダI7を除いた構成の記憶装置が集
積回路化されている場合、即ち、従来例ノ構成に於いて
、簡単な構成の拡張アドレスデコーダ17を付加するだ
けで、システム拡張前の小容量の記憶装置を実装してア
クセスし、拡張アドレスが使用された時に、容易にエラ
ー検出を行うことができる。又システム拡張によってm
ビットのアドレスによりアクセスできる記憶装置を実装
した場合は、拡張アドレスデコーダ17を取り外すこと
になる。
If the storage device with the configuration excluding the extended address decoder I7 is integrated circuit, that is, in the conventional configuration, by simply adding the extended address decoder 17 with a simple configuration, the small capacity before system expansion can be reduced. Error detection can be easily performed when an extended address is used. Also, by expanding the system
If a storage device that can be accessed by bit addresses is installed, the extended address decoder 17 will be removed.

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

以上説明したように、本発明は、拡張アドレスによりア
クセスされる記憶装置が未実装の場合、拡張アドレスデ
コーダ7を設けて、拡張アドレスが使用された時に、そ
のデコード結果によりアドレスバスパリティを反転する
か否か制御し、パリティチェック部6に於いてパリティ
エラーとして検出できるようにしたものであり、従って
、何らかの原因により未実装の記憶装置へのアクセスを
行う拡張アドレスが送出された時に、アドレスエラーと
して検出し、記憶装置へのアクセスを禁止できるから、
中央制御装置lの誤動作を防止することができる。
As explained above, in the present invention, when a storage device accessed by an extended address is not implemented, the extended address decoder 7 is provided, and when the extended address is used, the address bus parity is inverted based on the decoding result. It is possible to detect this as a parity error in the parity check unit 6 by controlling whether or not the error occurs. Therefore, when an extended address that accesses an unimplemented storage device is sent for some reason, an address error is detected. It is possible to detect this as an error and prohibit access to the storage device
Malfunctions of the central control device 1 can be prevented.

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

第1図は本発明の原理説明図、第2図は本発明の実施例
の要部ブロック図、第3図は本発明の実施例の拡張アド
レスデコーダのブロック図、第4図は本発明の実施例の
拡張アドレスデコーダの具体的論理回路、第5図は従来
例の説明図である。 lは中央制御装置、2はアドレス発生部、3はアドレス
バスパリティ生成部、4はアドレスバス、5は記憶装置
、6はパリティチェック部、7は拡張アドレスデコーダ
である。
FIG. 1 is a diagram explaining the principle of the present invention, FIG. 2 is a block diagram of main parts of an embodiment of the present invention, FIG. 3 is a block diagram of an extended address decoder of an embodiment of the present invention, and FIG. 4 is a block diagram of an extended address decoder of an embodiment of the present invention. FIG. 5 is an explanatory diagram of a conventional example of the concrete logic circuit of the extended address decoder of the embodiment. 1 is a central control unit, 2 is an address generation section, 3 is an address bus parity generation section, 4 is an address bus, 5 is a storage device, 6 is a parity check section, and 7 is an extended address decoder.

Claims (1)

【特許請求の範囲】 中央制御装置(1)のアドレス発生部(2)からの拡張
アドレスを含むアドレスと、アドレスバスパリティ生成
部(3)で前記アドレスを基に生成したアドレスバスパ
リテイとをアドレスバス(4)に送出し、記憶装置(5
)のパリテイチェック部(6)により前記アドレスバス
(4)上のアドレスエラーの有無を検出する記憶装置の
アクセス制御方式に於いて、 前記拡張アドレスによりアクセスされる記憶部が未実装
の記憶装置(5)に、拡張アドレスデコーダ(7)を設
け、 前記アドレスバス(4)上の前記拡張アドレスを前記拡
張アドレスデコーダ(7)によりデコードして、前記ア
ドレスバス(4)上のアドレスバスバリヤーをパリテイ
エラーとなるように制御して前記パリテイチェック部(
6)に加え、拡張アドレスによりアクセスされる記憶部
が未実装の記憶装置(5)に拡張アドレスが加えられた
時にアドレスエラーが検出されるように制御することを
特徴とする記憶装置のアクセス制御方式。
[Claims] An address including an extended address from an address generation unit (2) of a central control unit (1) and an address bus parity generated based on the address by an address bus parity generation unit (3). address bus (4) and storage device (5).
), in which a parity check unit (6) of a storage device detects the presence or absence of an address error on the address bus (4), wherein the storage unit accessed by the extended address is an unimplemented storage device. (5) is provided with an extended address decoder (7), and decodes the extended address on the address bus (4) with the extended address decoder (7) to open an address bus barrier on the address bus (4). The parity check section (
In addition to 6), access control of a storage device is characterized in that an address error is detected when an extended address is added to a storage device (5) in which a storage unit accessed by an extended address is not implemented. method.
JP63084096A 1988-04-07 1988-04-07 Access control system for storage device Pending JPH01258054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63084096A JPH01258054A (en) 1988-04-07 1988-04-07 Access control system for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63084096A JPH01258054A (en) 1988-04-07 1988-04-07 Access control system for storage device

Publications (1)

Publication Number Publication Date
JPH01258054A true JPH01258054A (en) 1989-10-16

Family

ID=13820984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63084096A Pending JPH01258054A (en) 1988-04-07 1988-04-07 Access control system for storage device

Country Status (1)

Country Link
JP (1) JPH01258054A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5133198A (en) * 1989-09-15 1992-07-28 Institut Textile De France Endoscopic apparatus for flaw detection on a circular knitting machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5133198A (en) * 1989-09-15 1992-07-28 Institut Textile De France Endoscopic apparatus for flaw detection on a circular knitting machine

Similar Documents

Publication Publication Date Title
JPH0277846A (en) Microprocessor
JPH0594377A (en) Parity detecting circuit
JPS6391764A (en) Memory system having parity checking function
US6260132B1 (en) Method and apparatus for secure address re-mapping
JPH01258054A (en) Access control system for storage device
JPH0268642A (en) Memory error detecting system
JPS62242258A (en) Storage device
JP2875435B2 (en) Memory module and computer using the same
JP3106448B2 (en) Processor unit
JP3182834B2 (en) Memory device
EP0432807B1 (en) Microprocessor having internal cache memory
JPH05108493A (en) Memory control system
JPS61294556A (en) Detection system for program malfunction
JPH02297235A (en) Memory data protecting circuit
JPH01309159A (en) Multi-port memory
CN116361233A (en) Micro controller
JPS62266602A (en) Setting guard device for system parameter
JPS59217298A (en) Memory error relieve system
JPS62245453A (en) Substituting method for alternative memory
JPH0341538A (en) Main storage device
JPS59207080A (en) Control device of cache memory
JPH06250933A (en) Access control method for information processor and main storage
JPH01307851A (en) Storage control system
JPH04233052A (en) Duplex memory device
JPS641817B2 (en)