JPS60132247A - Controlling system common bus - Google Patents

Controlling system common bus

Info

Publication number
JPS60132247A
JPS60132247A JP58240089A JP24008983A JPS60132247A JP S60132247 A JPS60132247 A JP S60132247A JP 58240089 A JP58240089 A JP 58240089A JP 24008983 A JP24008983 A JP 24008983A JP S60132247 A JPS60132247 A JP S60132247A
Authority
JP
Japan
Prior art keywords
bus
common bus
error
signal
access
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
JP58240089A
Other languages
Japanese (ja)
Inventor
Sadanari Sugiura
杉浦 貞也
Toshihiro Sakai
酒井 利弘
Toshiharu Oshima
大島 俊春
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 JP58240089A priority Critical patent/JPS60132247A/en
Publication of JPS60132247A publication Critical patent/JPS60132247A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To suppress a function drop caused by an access error to the minimum by making a common bus usable in case of the first access error, and inhibiting access of the common bus in case when an error is generated again in the course of holding the first error. CONSTITUTION:In an initial state, flip-flops (FF)22-24 are off. When an error is generated, an OR circuit 25 becomes on, the FF22 is set and a signal C becomes on. This signal C turns off a bus possessory right acquiring signal D of each bus master 5-1-5-2. As a result, the FF22 is reset, and a common bus becomes usable again. A CPU1 analyzes and investigates the cause of the error, turns on a signal Y when the cause is known, clears a register 21, and resets the FFs 23, 24. When a new error is generated in a state that the cause of the first access error remains unknown, and an output of an AND circuit 26 becomes ''0''. As a result, even if the signal D becomes off, the FF22 remains on, and the common bus becomes unusable.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、ディスプレイ装置や磁気ディスク装置などの
入出力装置を接続した複数のバス・マスクが共通バスを
使用してメモリをアクセスするようになったデータ処理
システムにおいて、メモリのアクセス・エラーが続けて
発生したことを条件に共通バスを使用不可能にする共通
バス使用制御方式に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a system in which a plurality of bus masks connecting input/output devices such as display devices and magnetic disk devices access memory using a common bus. The present invention relates to a common bus usage control method that disables the use of a common bus on the condition that memory access errors occur continuously in a data processing system.

〔従来技術と問題点〕[Prior art and problems]

ディスプレイ装置や磁気ディスク装置などの入出力装置
を接続した複数のバス・マスクが共通バスを使用してメ
モリをアクセスする場合には共通バスの制御が必要とな
シ、そのためにプライオリティ回路が設けられる。プラ
イオリティ回路は、各バス・マスクからの共通バス占有
要求に対し、予め定めた優先度に従って1つのバス・マ
スクを選び、そのバス・マスクに共通バスの占有を許可
する。占有権を獲得したバス・マスクは、共通バスを使
用してメモリをアクセスすることになるが、従来、メモ
リのアクセスを管理するメモリ・アクセス管理ユニット
において、パリティ・エラーその他のメモリ・アクセス
時のアクセス・エラーが生じると、メアリ・アクセス管
理ユニットは、プライオリティ回路及び各バス−マスタ
に対し共通バスの使用を不可とする信号を送出していた
。そのため、アクセス・エラーが生じると、システム的
には大幅な機能低下を余儀なくされていた。
When multiple bus masks connecting input/output devices such as display devices and magnetic disk devices access memory using a common bus, it is necessary to control the common bus, and a priority circuit is provided for this purpose. . The priority circuit selects one bus mask according to a predetermined priority in response to a common bus occupancy request from each bus mask, and allows that bus mask to occupy the common bus. The bus mask that has acquired the exclusive right accesses the memory using the common bus, but conventionally, the memory access management unit that manages memory access has a problem with parity errors and other errors during memory access. When an access error occurs, the Mary access management unit sends a signal to the priority circuit and each bus master disabling use of the common bus. Therefore, when an access error occurs, system functionality is forced to deteriorate significantly.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであって、アクセス
・エラーが生じても出来るだけ共通バスの使用状態を確
保し、アクセス・エラーに伴う機能低下を最小限にとど
めるようにした共通バス使用制御方式を提供することを
目的とするものである。
The present invention is based on the above considerations, and uses a common bus that secures the usage status of the common bus as much as possible even if an access error occurs, and minimizes the functional deterioration caused by the access error. The purpose is to provide a control method.

〔発明の構成〕[Structure of the invention]

そのために本発明の共通バス使用制御方式は、中央処理
装置と、主記憶装置と、該主記憶装置のアクセスを管理
するメモリ・アクセス管理ユニットと、ディスプレイ装
置や磁気ディスク装置などの入出力装置が接続され共通
バスを通して上記主記憶装置のアクセスを行う複数のバ
ス・マスクと、該複数のバス・マスクから共通バスの占
有を要求するバス占有要求を受取ると予め定めた優先順
位に従って1つのバス・マスクに共通バスの占有を許可
するプライオリティ回路とを備え、上記プライオリティ
回□路からの許可を得たバス・マスクが共通バスを使用
して上記主記憶装置のアクセスを行う共通バス使用制御
方式であって、上記メモリ・アクセス管理ユニットは、
主記憶装置のアクセス・エラーが発生するとその内容を
保持する保持手段、アクセス・エラーが発生したことに
より上記プライオリティ回路と上記複数のバス・マスク
のそれぞれに共通バスの使用不可信号を送出する使用不
可通知手段、及び上記保持手段がクリアされないうちに
新たカアクセス・エラーが発生したことを検出するダブ
ル・エラー検出手段を具備すると共に、上記使用不可通
知手段から共通バスの使用不可信号が送出されている状
態の下で上記複数のバス・マスクから共通バスが解放さ
れたことを条件に上記使用不可信号の送出を止め、上記
ダブル・エラー検出手段により新たなエラーの発生が検
出された場合には上記保持手段に最初のステータスを保
持したまま当該保持手段がクリアされるまで上記使用不
可通知手段から使用不可信号を送出し続けるように構成
されたことを特徴とするものである。
To this end, the common bus usage control method of the present invention is designed to control the use of a central processing unit, a main storage device, a memory access management unit that manages access to the main storage device, and an input/output device such as a display device or a magnetic disk device. A plurality of bus masks are connected and access the main memory device through a common bus, and when a bus occupancy request requesting occupancy of the common bus is received from the plurality of bus masks, one bus A common bus use control method is provided in which the mask is provided with a priority circuit that allows the mask to occupy the common bus, and the bus mask that has received permission from the priority circuit accesses the main storage device using the common bus. Therefore, the above memory access management unit is
A holding means that holds the contents when an access error occurs in the main memory, and an unusable unit that sends a common bus unusable signal to each of the priority circuit and the plurality of bus masks when an access error occurs. and a double error detection means for detecting that a new access error has occurred before the holding means is cleared, and a common bus unusable signal is sent from the unusable notifying means. Under the condition that the common bus is released from the plurality of bus masks, the transmission of the above-mentioned unusable signal is stopped, and when the occurrence of a new error is detected by the above-mentioned double error detection means, The present invention is characterized in that the unusable signal is continued to be sent from the unusable notifying means until the holding means is cleared while holding the initial status in the holding means.

〔発明の実施例〕[Embodiments of the invention]

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

第1図は本発明の1実施例システム構成を示す図、第2
図はメモリ・アクセス管理ユニットの具体的な構成例を
示す図である。図において、lはCPU(中央処理装置
)、2はメモリ・アクセス11ユニツト、3はメモリ、
4はプライオリティ回路、5−1ないし5− nはバス
・マスク、21はステータス・レジスタ、22ないし2
4はJ−にフリップ・フロップ、25はオア回路、26
と27はアンド回路、28と29は反転回路を示す。
FIG. 1 is a diagram showing the system configuration of one embodiment of the present invention, and FIG.
The figure shows a specific example of the configuration of the memory access management unit. In the figure, l is the CPU (central processing unit), 2 is the memory access 11 units, 3 is the memory,
4 is a priority circuit, 5-1 to 5-n are bus masks, 21 is a status register, 22 to 2
4 is a flip-flop in J-, 25 is an OR circuit, 26
and 27 are AND circuits, and 28 and 29 are inversion circuits.

バス・マスタ5−1ないし5− nは、その下にあるデ
ィスプレイ装置や磁気ディスク装置、磁気テープ装置な
どの入出力装置をメモリ・アクセス管理ユニット2を通
してメモリ・アクセスできるようにするだめの制御部で
あシ、プライオリティ回路4は、バス・マスタ5−1な
いし5−ル間での優先順位を決定する回路である。メモ
リ・アクセス管理ユニット2に設けられたステータス・
レジスタ21は、アドレス・エラーや、データ・パリテ
ィ・エラー、メモリ・アンコレクタプル・エラー(読み
出しデータが訂正不可能)など(Xo=Xm)共通バス
によるメモリ・アクセス時のエラーを保持するものであ
る。22はアクセス・エラーを保持するフリップ・フロ
ップであシフリップ・フロップ23は、1回目のエラー
をクリアする前に続いてエラーが起きたことを検出する
。さらに、フリップ・フロップ24は、エラー発生から
、ステータス・レジスタ21をCPUIがクリアする(
Y信号)までの間オンとなる。バス・マスタ5−1ない
し5− nからプライオリティ回路4へ送出される信号
A、ないしAユは、バス占有権要求信号で、各バス・マ
スタ5−1ないし5− nに1本ずつ割当てられる。プ
ライオリティ回路4から各バス・マスタ5−1ないし5
−ルに1本ずつ送出される信号B、ないしBnは、優先
度入力信号であり、バス占有権要求信号A、ないしAn
の入力から優先順位をとった結果として1本だけがオン
とされる。それヲ受は取った唯一のバス・マスクは、他
ノバス・マスクがバスを使用していないとき(バス占有
権獲得信号りがオフのとき)、バスを占有する(バス占
有権獲得信号りをオンにする)ことができる。
The bus masters 5-1 to 5-n are control units that allow input/output devices such as display devices, magnetic disk devices, and magnetic tape devices located below them to access memory through the memory access management unit 2. The priority circuit 4 is a circuit that determines the priority among the bus masters 5-1 to 5-. Status information provided in memory access management unit 2
The register 21 stores errors such as address errors, data parity errors, memory uncollectible errors (read data cannot be corrected), etc. (Xo=Xm) when accessing memory via the common bus. be. A flip-flop 22 holds an access error, and a shift flip-flop 23 detects the occurrence of a subsequent error before clearing the first error. Furthermore, the flip-flop 24 clears the status register 21 from the occurrence of an error (
Y signal). Signals A and A to A are sent from the bus masters 5-1 to 5-n to the priority circuit 4 are bus occupancy request signals, and one signal is assigned to each bus master 5-1 to 5-n. . Priority circuit 4 to each bus master 5-1 to 5
- The signals B, through Bn, sent one by one to the buses are priority input signals, and the bus occupancy request signals A, through An.
As a result of taking priority from the inputs, only one is turned on. The only bus mask that has taken it is the one that occupies the bus (turns on the bus seize signal) when no other novus mask is using the bus (when the bus seize signal is off). ) can be turned on).

バス占有権獲得信号りは、バスが使用中かどうかを示す
信号であシ、バス占有権を得たバス・マスクが転送中に
当信号をオンにすることによシ、他のバス・マスクがバ
ス占有権を得ることを禁止し、転送終了時に占有権を失
っていれば、即ちそのバス・マスタ5− iに対する優
先度入力信号Biがオフ罠なっていれば、当信号をオフ
にすることによシ、バスを解放することを他のバス・マ
スクに伝える。信号Eは、バス占有中のバス・マスクに
対し、他のバス・マスクがバス使用権を要求しているこ
とを知らせる信号である。バス占有中のバス・マスクは
、信号Eがオンのとき、自からのバス占有権要求信号k
iをオフにしなければならない〇信号Cは、フリップ・
フロップ22の出力信号である。Xoから泡のエラー要
因がクロック1周期分出力されているので、オア回路2
5によシオアした出力が111のとき信号Cはオンとな
る。さて、フリップ・フロップ22.23.24の動作
を考慮して以下で説明する。
The bus occupancy acquisition signal is a signal that indicates whether or not the bus is in use.By turning on this signal during transfer, the bus mask that has acquired the bus occupancy signal can communicate with other bus masks. If the bus master 5-i is prohibited from gaining bus occupancy and has lost the occupancy at the end of the transfer, that is, if the priority input signal Bi for that bus master 5-i is in the OFF trap, this signal is turned off. In particular, tell the other bus masks that you are releasing the bus. Signal E is a signal that informs the bus mask occupying the bus that another bus mask is requesting the right to use the bus. The bus mask that is occupying the bus receives the bus occupancy request signal k from itself when the signal E is on.
i must be turned off. Signal C is flip-
This is the output signal of the flop 22. Since the bubble error factor is output from Xo for one clock cycle, OR circuit 2
When the output multiplied by 5 is 111, the signal C is turned on. The operation of the flip-flops 22, 23, 24 will now be considered and explained below.

■ エラー発生前(初期状態) フリップ・フロップ22.23.24はすべてオフ(Q
=’0’)である。
■ Before the error occurs (initial state) Flip-flops 22, 23, and 24 are all off (Q
='0').

■ 最初にエラーが発生した場合 エラーが発生するとオア回路25はオンとなシ、フリッ
プ・フロップ22がセットされ信号Cがオンになる。
(2) When an error occurs for the first time When an error occurs, the OR circuit 25 is not turned on, the flip-flop 22 is set, and the signal C is turned on.

即ち、信号Cは、プライオリティ回路4及び各バス・マ
スタ5−1ないし5− nに対し共通バスが使用不可(
アクセス・エラー発生)になったことを通知するもので
ある。この信号Cがオンになったことによシ、各バス・
マスタ5−1ないし5−ルがバス占有権獲得信号りをオ
フにする。その結果、アンド回路26の出力は、フリッ
プ・フロップ23の回が111なので、オンとなシフリ
ップ・フロップ22がリセットされる。ここで再び共通
バスは使用可能となる。一方CPUIは、アクセス・エ
ラーが発生したことによシ、その原因を解析、究明し、
原因がわかればその内容に応じて信号Yをオンにするこ
とによシレジスタ21の内容をクリアし、そしてフリッ
プ・7四ツブ23 、24をリセットする。しかし1回
目のアクセス・エラーが原因不明のまま、或いはレジス
タ21の内容がクリアされる前に新たなエラーが生じる
と、クリップ・フロップ24の互がIl+なのでアンド
回路27の出力が111となシ、フリップ・フロップ2
3がセットされる0クリツプ・フロップ23がセットさ
れると、その出力可は10′となシ、プント回路26の
出力は、I 01となる。その結果、信号りがオフにな
っても、フリップ・フロップ22の出力Qはオンのまま
とされる。従って、信号Cがオンのままにな夛、共通バ
スは使用不可能となる。このように、CPUIにおいて
エラー原因を解析できないと困るので、2回目以降のエ
ラーについては、レジスタ21にセツ、トせず、レジス
タ21をクリアするまで信号Cをオンのままに保持する
That is, the signal C is transmitted to the priority circuit 4 and each bus master 5-1 to 5-n when the common bus is unavailable (
This is a notification that an access error has occurred. By turning on this signal C, each bus
The masters 5-1 to 5-1 turn off the bus exclusive right acquisition signal. As a result, since the output of the AND circuit 26 is 111 times the flip-flop 23, the shift flip-flop 22, which is turned on, is reset. The common bus is now usable again. On the other hand, when an access error occurs, the CPUI analyzes and investigates the cause.
Once the cause is known, the contents of the register 21 are cleared by turning on the signal Y according to the contents, and the flip-flops 23 and 24 are reset. However, if the cause of the first access error remains unknown, or if a new error occurs before the contents of the register 21 are cleared, the output of the AND circuit 27 becomes 111 because both clip-flops 24 are Il+. , flip flop 2
When the 0 clip flop 23 is set to 3, its output is 10' and the output of the Punt circuit 26 is I01. As a result, the output Q of flip-flop 22 remains on even though the signal is turned off. Therefore, if signal C remains on, the common bus becomes unusable. As described above, since it would be a problem if the cause of the error cannot be analyzed on the CPU, the register 21 is not set for the second and subsequent errors, and the signal C is kept on until the register 21 is cleared.

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

以上の説明から明らかなように、本発明によれば、1回
目のアクセス・エラーでは共通バスを使用可能にし、1
回目のエラー保持中に再びエラーが発生した場合に、1
回目のエラーを保持したまま共通バスのアクセスを抑止
するので、CPUによるエラー原因の解析に支障を及ば
ずことなく、高性能のシステムを構成することができる
As is clear from the above description, according to the present invention, the common bus is made usable at the first access error, and the first
If an error occurs again during the first error hold, 1
Since access to the common bus is inhibited while retaining the second error, a high-performance system can be constructed without interfering with the analysis of the cause of the error by the CPU.

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

第1図は本発明の1実施例システム構成を示す図、第2
図はメモリ・アクセス管理ユニットの具体的な構成例を
示す図である。 1・・・CPU (中央処理装置)、2・・・メモリ・
アクセス管理ユニット、3・・・メモリ、4・・・プラ
イオリティ回路、5−1ないし5−n−・・バス・マス
ク。 21・・・レジスタ、22ないし24・・・フリップ・
フロッグ、25・・・オア回路、26と27・・・アン
ド回路、28と29・・・反転回路。 特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部 臂 1 (2) ゲ2Iり
FIG. 1 is a diagram showing the system configuration of one embodiment of the present invention, and FIG.
The figure shows a specific example of the configuration of the memory access management unit. 1...CPU (Central Processing Unit), 2...Memory
Access management unit, 3... memory, 4... priority circuit, 5-1 to 5-n-... bus mask. 21...Register, 22 to 24...Flip
Frog, 25...OR circuit, 26 and 27...AND circuit, 28 and 29...inverting circuit. Patent Applicant: Fujitsu Limited Representative Patent Attorney Yotsube Kyotani 1 (2) Ge2Iri

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と、主記憶装置と、該主記憶装置のアクセ
スを管理するメモリ・アクセス管理ユニットと、ディス
プレイ装置や磁気ディスク装置などの入出力装置が接続
され共通バスを通して上記主記憶装置のアクセスを行う
複数のバス・マスクと、該複数のバス・マスクから共通
バスの占有を要求するバス占有要求を受取ると予め定め
た優先順位に従って1つのバス・マスクに共通バスの占
有を許可するプライオリティ回路とを備え、上記プライ
オリティ回路からの許可を得たバス・マスクが共通バス
を使用して上記主記憶装置のアクセスを行う共通バス使
用制御方式であって、上記メモリ・アクセス管理ユニッ
トは、主記憶装置のアクセス・エラーが発生するとその
内容を保持する保持手段、アクセス・エラーが発生した
ことによフ上記プライオリティ回路と上記複数のバス・
マスクのそれぞれに共通バスの使用不可信号を送出する
使用不可通知手段、及び上記保持手段がクリアされない
うちに新たなアクセス・エラーが発生したことを検出す
るダブル・エラー検出手段を具備すると共に、上記使用
不可通知手段から共通バスの使用不可信号が送出されて
いる状態の下で上記複数のバス・マスクから共通バスが
解放されたことを条件に上記使用不可信号の送出を止め
、上記ダブル・エラー検出手段により新たなエラーの発
生が検出された場合には上記保持手段に最初のステータ
スを保持したまま当該保持手段がクリアされるまで上記
使用不可通知手段から使用不可信号を送出し続けるよう
に構成されたことを特徴とする共通バス使用制御方式。
A central processing unit, a main storage device, a memory access management unit that manages access to the main storage device, and an input/output device such as a display device or a magnetic disk device are connected, and access to the main storage device is controlled through a common bus. a priority circuit that, upon receiving a bus occupancy request requesting occupancy of a common bus from the plurality of bus masks, permits one bus mask to occupy the common bus according to a predetermined priority order; and a common bus use control method in which a bus mask that has received permission from the priority circuit accesses the main storage device using the common bus, wherein the memory access management unit is configured to access the main storage device using the common bus. When an access error occurs, the holding means retains the contents, and the priority circuit and the plurality of buses
Each of the masks is provided with unusable notification means for sending a common bus unusable signal, and double error detection means for detecting that a new access error has occurred before the holding means is cleared, and the above-mentioned Under the condition that the common bus unusable signal is being sent from the unusable notification means, the sending of the unusable signal is stopped on the condition that the common bus is released from the plurality of bus masks, and the above double error is caused. If the detection means detects the occurrence of a new error, the apparatus is configured to continue sending out an unusable signal from the unusable notification means while holding the initial status in the holding means until the holding means is cleared. A common bus usage control method characterized by:
JP58240089A 1983-12-20 1983-12-20 Controlling system common bus Pending JPS60132247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58240089A JPS60132247A (en) 1983-12-20 1983-12-20 Controlling system common bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58240089A JPS60132247A (en) 1983-12-20 1983-12-20 Controlling system common bus

Publications (1)

Publication Number Publication Date
JPS60132247A true JPS60132247A (en) 1985-07-15

Family

ID=17054319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58240089A Pending JPS60132247A (en) 1983-12-20 1983-12-20 Controlling system common bus

Country Status (1)

Country Link
JP (1) JPS60132247A (en)

Similar Documents

Publication Publication Date Title
US5613075A (en) Method and apparatus for providing deterministic read access to main memory in a computer system
KR960038633A (en) Bus arbitration system, bus arbitration circuit, bus arbitration method and data transmission method
JPS60132247A (en) Controlling system common bus
JPH03263158A (en) Common bus arbitration control system
JP3626292B2 (en) Bus interface control method
JPH06250970A (en) Memory controller
JPH0728748A (en) Bus control mechanism and computer system
JPS63101948A (en) Data processor
JPH0562384B2 (en)
JP2837698B2 (en) Direct memory access controller
JP3236459B2 (en) Error handling device in common bus data transfer
JPS63128461A (en) Bus control device
JP2837893B2 (en) Microcomputer device
JP2555941B2 (en) Bus arbitration method
JPH06337838A (en) Unit mounting/non-mounting detection
JPS5836382B2 (en) Shared bus control method
JPH11259325A (en) Duplex system and information processing method for the same
JPS6160162A (en) Bus arbitration system
JPH05108460A (en) Memory control method
JPS58107932A (en) Common bus failure check system
JPH1040217A (en) Bus monitoring system
JP2001229143A (en) Multiprocessor system
JPH0488459A (en) Information processor
JPS60183668A (en) Multi-processor system
JPH01161942A (en) Data transmission equipment and its method