JPH04162141A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04162141A
JPH04162141A JP2289051A JP28905190A JPH04162141A JP H04162141 A JPH04162141 A JP H04162141A JP 2289051 A JP2289051 A JP 2289051A JP 28905190 A JP28905190 A JP 28905190A JP H04162141 A JPH04162141 A JP H04162141A
Authority
JP
Japan
Prior art keywords
address
main memory
main storage
maximum
data
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
JP2289051A
Other languages
Japanese (ja)
Inventor
Naoki Machida
直樹 町田
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.)
NEC Gunma Ltd
Original Assignee
NEC Gunma 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 NEC Gunma Ltd filed Critical NEC Gunma Ltd
Priority to JP2289051A priority Critical patent/JPH04162141A/en
Publication of JPH04162141A publication Critical patent/JPH04162141A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the occurrence of a secondary fault by recognizing the maximum address of a main storage part by a main storage and comparing the maximum address with the address where a CPU and a peripheral device perform the writing/reading operations to the main storage part. CONSTITUTION:A recognizing part 9 which recognizes the maximum address of a main storage part 11 holds the address where an error 17 occurred, since this address serves as the maximum address of the part 11. When a CPU 2 and a peripheral device 3 have the accesses to a main storage via a system bus 4, the address of the bus 4 is transmitted to the part 11 via a main storage control part 8 and at the same time an address 15 to be sent to the part 11 is inputted to a comparator part 10. The address 15 is compared with the maximum address 18 of the part 11 through the part 9. If the address 15 is larger than the address 18, an abnormal end 6 is reported to the CPU 2 via an I/O bus 5.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、情報処理装置に関し、特に、主記憶部の最大
アドレスと主記憶部のアクセスアドレスを比較する情報
処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing apparatus, and more particularly to an information processing apparatus that compares the maximum address of a main memory and an access address of the main memory.

[従来の技術] 第3図は従来の情報処理装置を例示するブロック図であ
る。従来、主記憶装置はシステム・バス4上の主記憶部
のアドレスであるアクセスアドレス、主記憶部への転送
方向および転送長を示すアクセスコマンドを受信し、主
記憶部の制御を行なう主記憶コントロール部8と、シス
テムφバス4のデータにエラーチエツクコードを付加し
、主記憶部11に書き込んだり、主記憶部11からデー
タを読み出す場合、読み出したデータとエラーチエツク
コードにより、データに誤りがあれば検出することがで
きる回路であるエラー訂正回路7で構成される。
[Prior Art] FIG. 3 is a block diagram illustrating a conventional information processing device. Conventionally, the main memory device receives an access address, which is the address of the main memory section on the system bus 4, and an access command indicating the transfer direction and transfer length to the main memory section, and controls the main memory section. When adding an error check code to the data in the system φ bus 4 and writing it to the main memory 11, or reading the data from the main memory 11, the read data and the error check code can be used to check if there is an error in the data. The error correction circuit 7 is a circuit capable of detecting errors.

中央処理装置および周辺装置が主記憶部の最大アドレス
を超えて、主記憶部11が存在しない個所のデータを読
み出そうとした場合、エラー訂正回路7により異常終了
となる。
If the central processing unit and the peripheral device exceed the maximum address of the main memory section and try to read data from a location where the main memory section 11 does not exist, the error correction circuit 7 causes an abnormal termination.

ところが、中央処理装置および周辺装置が主記憶部の最
大アドレスを超えて、主記憶部11が存在しない個所に
データを書き込んだ場合、検出手段がないため正常終了
する。
However, if the central processing unit and the peripheral device write data to a location where the main memory 11 does not exist, exceeding the maximum address of the main memory, the process ends normally because there is no detection means.

〔発明が解決しようとする課題] 上述した従来の情報処理装置では、中央処理装置および
周辺装置が、上位ソフトウェアの誤動作、アドレス信号
にノイズがのった場合およびアドレス信号で使用してい
るドライバ、レシーバの故障により、主記憶装置の最大
アドレスを超えて、主記憶装置へデータの書き込みを実
施した場合、主記憶装置に異常検出機構がないため、デ
ータが書き込まれていないのにもかかわらず、正常終了
してしまうため、2次障害が発生するという欠点がある
[Problems to be Solved by the Invention] In the above-described conventional information processing device, the central processing unit and the peripheral devices are affected by malfunction of upper-level software, noise in the address signal, and the driver used in the address signal. If data is written to the main memory beyond the maximum address of the main memory due to receiver failure, the main memory does not have an abnormality detection mechanism, so even though no data has been written, Since the process ends normally, it has the disadvantage that a secondary failure occurs.

[課題を解決するための手段] 本発明の情報処理装置は、中央処理装置と周辺装置と両
者間からの書き込み読み出しが可能な主記憶部を含む主
記憶装置内に、前記主記憶部の最大アドレスを格納する
レジスタと、そのレジスタの値と、前記中央処理装置お
よび前記周辺装置から前記主記憶装置への書き込み、読
み出し時の前記主記憶部のアドレスを比較した結果、前
記中央処理装置および周辺装置からのアドレスが、前記
主記憶装置の最大アドレスより大きいかどうか比較する
比較部とを具備することを特徴とする〇[実施例] 次に本発明について図面を参照して説明する。
[Means for Solving the Problems] The information processing device of the present invention includes a main memory that includes a central processing unit, a peripheral device, and a main memory that can read and write data between the two. As a result of comparing a register that stores an address, the value of the register, and the address of the main memory when writing to or reading from the main memory from the central processing unit and the peripheral device, the central processing unit and the peripheral device Embodiment Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における主記憶装置のブロッ
ク図である。この図に示される主記憶装置は、システム
拳バス4.エラー訂正回路71主記憶コントロール部8
.主記憶部最大アドレス認識部9.比較部10.主記憶
部11で構成される。
FIG. 1 is a block diagram of a main memory device in one embodiment of the present invention. The main memory shown in this figure is system bus 4. Error correction circuit 71 Main memory control section 8
.. Main memory maximum address recognition unit 9. Comparison part 10. It is composed of a main storage section 11.

第2図は第1図の主記憶装置を用いた時の情報処理装置
のブロック図である。この図に示す情報処理装置は、主
記憶装置1.中央処理装置29周辺装置3で構成され、
主記憶装置1は、中央処理装置22周辺装置3からシス
テム・バス4を介してアクセスされる。また、上位ソフ
トウェア19は中央処理装置2を介しI10バスSをへ
て周辺装置3を制御する。
FIG. 2 is a block diagram of an information processing apparatus using the main storage device of FIG. 1. The information processing device shown in this figure has a main memory 1. Consists of a central processing unit 29 and peripheral devices 3,
Main memory 1 is accessed from central processing unit 22 and peripheral devices 3 via system bus 4 . Further, the host software 19 controls the peripheral device 3 via the central processing unit 2 and the I10 bus S.

第1図に示すように、主記憶装置1は、システム−バス
4のアドレス・コマンド12を受信し、主記憶部11の
制御を行なう主記憶コントロール部8と、システムeバ
ス4のデータ12にデータチエツクコード14を付加し
、主記憶部11へ書き込んだり、主記憶部11から読み
出したデータ13をデータチエツクコード14により、
データ13の誤り検出を行なうエラー訂正回路7と、主
記憶部最大アドレス認識部9の出力18と主記憶部への
アドレス15を比較する比較部10とで構成されている
As shown in FIG. 1, the main memory device 1 receives address commands 12 on the system bus 4 and sends them to a main memory control section 8 that controls the main memory section 11 and data 12 on the system e-bus 4. A data check code 14 is added, and the data 13 written to the main storage section 11 or read from the main storage section 11 is checked by the data check code 14.
It consists of an error correction circuit 7 that detects errors in data 13, and a comparison section 10 that compares the output 18 of the main memory maximum address recognition section 9 and the address 15 to the main memory.

電源立上げ時の主記憶部診断時、上位ソフトウェアは主
記憶部11に対し、境界ごとにデータの読み込みを行な
う。その結果主記憶部11が存在しないアドレスに来た
場合、データ13.データチエツクコード14には主記
憶部からの出力がないため、エラー訂正回路7に入力さ
れるデータ13、データチエツクコード14はすべてハ
イレベルになっているので、エラー訂正回路7によりエ
ラー17が報告される。主記憶部最大アドレス認識部9
はそのエラー17が発生したアドレスが主記憶部の最大
アドレスとなるため、そのアドレスを保持する。次に中
央処理装置2および周辺装置3がシステム・バス4を介
し主記憶装置にアクセスシた場合、システム・バス4の
アドレスは主記憶コントロール部8を介し主記憶部11
へ送信されると同時に主記憶部へのアドレス15は比較
部10に入力され、主記憶部最大アドレス認識部9と比
較される。その結果主記憶部最大アドレス18よりも、
主記憶部へのアドレス15が大きかった場合は、異常終
了6としてI10バス5を介し中央処理装置2に報告さ
れる。
When diagnosing the main memory section at power-on, the host software reads data into the main memory section 11 for each boundary. As a result, if the main storage unit 11 comes to an address that does not exist, data 13. Since the data check code 14 has no output from the main memory, the data 13 and data check code 14 input to the error correction circuit 7 are all at high level, so the error correction circuit 7 reports the error 17. be done. Main memory maximum address recognition unit 9
Since the address where error 17 occurred is the maximum address in the main memory, it holds that address. Next, when the central processing unit 2 and peripheral devices 3 access the main memory via the system bus 4, the address of the system bus 4 is transferred to the main memory 11 via the main memory control unit 8.
At the same time, the address 15 to the main memory section is input to the comparison section 10 and compared with the main memory maximum address recognition section 9. As a result, from the main memory maximum address 18,
If the address 15 to the main memory is large, it is reported to the central processing unit 2 via the I10 bus 5 as abnormal termination 6.

[発明の効果コ 以上説明したように本発明は、主記憶装置に主記憶部の
最大アドレスを認識する手段と、その最大アドレスと中
央処理装置および周辺装置が主記憶部へ書き込み、読み
出しを行なう時のアドレスとを比較することにより、 木上位ソフトウェアの誤動作により、中央処理装置1周
辺装置が主記憶部の最大アドレスを超えてデータの書き
込みを行なう時、  、 本生記憶部のアドレスにノイズが発生し、最大アドレス
を超えて、主記憶部にデータの書き込みを行なう時、 本生記憶部のアドレス信号で使用している、ドライバ、
レシーバの故障により、主記憶部の最大アト、レスを超
えてデータの書き込みを行なう時、異常終了させること
により、2次障害の防止ができるという効果を奏する。
[Effects of the Invention] As explained above, the present invention includes means for recognizing the maximum address of the main memory in the main memory, and a means for the maximum address, the central processing unit, and the peripheral devices to write to and read from the main memory. By comparing the addresses at the time, it can be determined that when the central processing unit 1 peripheral device writes data beyond the maximum address of the main memory due to a malfunction of the tree-level software, noise is generated in the address of the main memory. When data is written to the main memory by exceeding the maximum address, the driver, which is used for the address signal of the main memory,
When data is written in excess of the maximum at/res of the main memory due to receiver failure, secondary failure can be prevented by abnormally terminating the write operation.

図  面  の  簡  単  な  説  間第1図
は本発明の一実施例のブロック図、第2図は第1図の主
記憶装置を用いた情報処理装置のブロック図、第3図は
従来の主記憶装置のブロック図である。
Brief Description of the Drawings Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is a block diagram of an information processing device using the main memory device of Figure 1, and Figure 3 is a block diagram of an information processing device using the main memory device of Figure 1. FIG. 2 is a block diagram of a storage device.

1・・・主記憶装置、2・・・中央処理装置、3・・・
周辺a置、4・・・システム・バス、5・・・I10バ
ス、6・・・出力、7・・・エラー訂正回路、8・・・
主記憶コントロール部、9・・・主記憶部最大アドレス
認識部、10・・・比較部、11・・・主記憶部、12
・・・アドレス・コマンド/データ、13・・・入出力
データ、14・・・データチエツクコード、15・・・
主記憶部へのアドレス、16・・・主記憶部へのコント
ロール信号17・・・エラー信号、18・・・主記憶部
最大アドレス、19・・・上位ソフトウェア。
1... Main storage device, 2... Central processing unit, 3...
Peripheral a position, 4... System bus, 5... I10 bus, 6... Output, 7... Error correction circuit, 8...
Main memory control section, 9... Main memory maximum address recognition section, 10... Comparison section, 11... Main memory section, 12
... Address command/data, 13... Input/output data, 14... Data check code, 15...
Address to main memory, 16... Control signal to main memory 17... Error signal, 18... Maximum address of main memory, 19... Upper software.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と周辺装置と両者間からの書き込み読み出
しが可能な主記憶部を含む主記憶装置内に、前記主記憶
部の最大アドレスを格納するレジスタと、そのレジスタ
の値と、前記中央処理装置および前記周辺装置から前記
主記憶装置への書き込み、読み出し時の前記主記憶部の
アドレスを比較した結果、前記中央処理装置および周辺
装置からのアドレスが、前記主記憶装置の最大アドレス
より大きいかどうか比較する比較部とを具備することを
特徴とする情報処理装置。
A register for storing the maximum address of the main memory, a value of the register, and the central processor and whether the addresses from the central processing unit and the peripheral device are larger than the maximum address of the main storage device as a result of comparing the addresses of the main storage section when writing to and reading from the main storage device from the peripheral device. An information processing device comprising: a comparison section for comparison.
JP2289051A 1990-10-26 1990-10-26 Information processor Pending JPH04162141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2289051A JPH04162141A (en) 1990-10-26 1990-10-26 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2289051A JPH04162141A (en) 1990-10-26 1990-10-26 Information processor

Publications (1)

Publication Number Publication Date
JPH04162141A true JPH04162141A (en) 1992-06-05

Family

ID=17738189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2289051A Pending JPH04162141A (en) 1990-10-26 1990-10-26 Information processor

Country Status (1)

Country Link
JP (1) JPH04162141A (en)

Similar Documents

Publication Publication Date Title
US5313627A (en) Parity error detection and recovery
US20020038442A1 (en) Technique for correcting single-bit errors in caches with sub-block parity bits
JP2708427B2 (en) Microprocessor
US4903194A (en) Storage addressing error detection circuitry
US6108753A (en) Cache error retry technique
JP3115113B2 (en) Data transfer error detector
JPH04162141A (en) Information processor
JPH0316655B2 (en)
JPH02297650A (en) Receiver
JPH04369711A (en) Electronic disk sub-system
JPH0230060B2 (en)
EP0432807A2 (en) Microprocessor having internal cache memory
JPH06161797A (en) Data processor
JPH0480860A (en) Program loading system
JPS6325380B2 (en)
JPH0581059A (en) Multiprocessor system
JPS639259B2 (en)
JPH0496844A (en) Cache memory control circuit
JPS63193249A (en) Microprogram controller
JPH0460851A (en) Computer system
JPH01258054A (en) Access control system for storage device
JPH0540583A (en) Information processing system
JPS59148197A (en) Memory device
JPH0415737A (en) Memory device
JPH0778747B2 (en) Data processing device