JPH0713879A - Bus connecting device - Google Patents

Bus connecting device

Info

Publication number
JPH0713879A
JPH0713879A JP5151630A JP15163093A JPH0713879A JP H0713879 A JPH0713879 A JP H0713879A JP 5151630 A JP5151630 A JP 5151630A JP 15163093 A JP15163093 A JP 15163093A JP H0713879 A JPH0713879 A JP H0713879A
Authority
JP
Japan
Prior art keywords
bus
input
write
memory
output control
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.)
Withdrawn
Application number
JP5151630A
Other languages
Japanese (ja)
Inventor
Kenichi Maeda
健一 前田
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP5151630A priority Critical patent/JPH0713879A/en
Publication of JPH0713879A publication Critical patent/JPH0713879A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent an input/output controller from being disabled to be specified in case of write abnormality when the input/output controller which makes a bus use request performs a high-speed process with a write-and-run method by using a buffer in the bus connecting device by connecting a high-speed bus including a memory and a low-speed bus to which plural input/output controllers are connected by the bus connecting device. CONSTITUTION:The permission number (corresponding to the ID number, one to one) of the input/output controller 10 or 11 which makes the request use a bus 50 and then is allowed is stored in the buffer 105 together with information (b) on a write address, etc. If a write error occurs, the permission number (j) at this time is read out of the buffer 105 and the ID number (n) corresponding to the number is retrieved in a ROM 110 and reported to a CPU 20 by interruption. The CPU 20 can specifies the input/output controller at the time of the write error from the ID and an error process is facilitated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はバス接続装置に関し、特
にメモリを含む高速システムバスと複数の入力出力制御
装置が接続された低速システムバスとの間を論理接続す
るためのバス接続装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus connecting device, and more particularly to a bus connecting device for logically connecting a high speed system bus including a memory and a low speed system bus to which a plurality of input output control devices are connected. Is.

【0002】[0002]

【従来の技術】従来の技術では、入出力制御装置からの
メモリライト動作は、低速バスと高速メモリバスをバス
接続装置が論理的に直結し、入出力制御装置がメモリに
書込む時、メモリからの応答があるまでバスをロックす
る場合が多い。しかし、この方法では、低速バスと高速
バスの両方を同時に一定時間使用するためにバス効率が
悪い。
2. Description of the Related Art In the prior art, a memory write operation from an input / output control device is performed when a low speed bus and a high speed memory bus are logically directly connected by a bus connection device and the input / output control device writes to the memory. Often locks the bus until there is a response from. However, in this method, both the low-speed bus and the high-speed bus are used at the same time for a certain time, so the bus efficiency is poor.

【0003】そこで、いわゆる“データ書逃げ”方式が
採用されている。このデータの書逃げ方式は入出力制御
装置がメモリへのライト動作を実行する時、バス接続装
置はアドレス及びデータを受けたらバッファにロードし
た時点でバスサイクルを終了し、メモリライトを見かけ
上高速に終了させる。
Therefore, a so-called "data writing escape" method is adopted. When the I / O controller executes a write operation to the memory, the bus connection device terminates the bus cycle when it receives the address and data and loads it into the buffer, apparently high-speed memory write. To end.

【0004】バス接続装置はバッファ内にメモリライト
情報があれば独自に高速バス上のメモリにその情報を送
りメモリライトを実行する。
If there is memory write information in the buffer, the bus connection device independently sends the information to the memory on the high speed bus to execute the memory write.

【0005】しかし、従来のこの種のデータ書逃げ方式
では、バス接続装置がメモリライト時に異常報告を受け
ても、実際にデータを出力した入出力制御装置はバスサ
イクルを終了しているので、先のメモリライト異常通知
をどの入出力制御装置に報告するか判定できない。
However, in the conventional data write escape system of this type, even if the bus connection device receives an abnormality report at the time of memory write, the input / output control device which actually outputs the data ends the bus cycle. It cannot be determined to which input / output control device the previous memory write abnormality notification is to be reported.

【0006】そのため、以後のメモリライトサービスを
停止するか、バス接続装置自身がバス調停をすべて禁止
するといった方法で対応し、異常処理はソフトウェアに
よるタイムアウト処理に委ねる方法を採用している。
Therefore, a method is adopted in which the subsequent memory write service is stopped or the bus connection device itself prohibits all bus arbitration, and the abnormal processing is entrusted to a time-out processing by software.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の書逃げ
方式では、異常報告を受けた際に書逃げを行った入出力
制御装置が特定できないので、低速バスの装置全てが切
り離されることになる。これは書逃げデータは正常で
も、バス接続装置が実際に行ったメモリライトが異常に
もかかわらず、ソフトウェアからは見かけ上、低速バス
配下の入出力制御装置の異常として判定される結果とな
る。
In the above-described conventional write-escape method, since the input / output control device that has executed the write-out cannot be identified when an error report is received, all the devices on the low-speed bus are disconnected. . This is a result in which although the write escape data is normal, although the memory write actually performed by the bus connection device is abnormal, the software apparently determines that the input / output control device under the low-speed bus is abnormal.

【0008】また、メモリライトの異常の原因はバス接
続自身でない場合も有り得る。バス接続装置から異常通
知として割込んでもソフトウェアとしても特定の入出力
制御装置を判定することは困難であるという欠点もあ
る。
The cause of the memory write abnormality may not be the bus connection itself. There is also a drawback in that it is difficult to determine a specific input / output control device even if interrupted as an abnormality notification from the bus connection device or as software.

【0009】本発明の目的は、書逃げ方式の際における
ライト処理異常時の入出力制御装置を特定できる様にし
て異常処理を容易にかつ正確に行い得るようにしたバス
接続装置を提供することである。
It is an object of the present invention to provide a bus connection device which can specify an input / output control device when a write process is abnormal in the write escape system so that the abnormal process can be performed easily and accurately. Is.

【0010】[0010]

【課題を解決するための手段】本発明によれば、メモリ
及び中央処理装置が接続された高速バスと複数の入出力
制御装置が接続された低速バスとの間を論理接続するた
めのバス接続装置であって、前記入出力装置からの前記
低速バスの使用要求に応答してバス調停を行いつつ使用
許可をなす手段と、この使用許可された入出力装置を識
別するための識別情報と前記使用要求のアドレス情報及
びメモリ書込みデータとを対応付けて格納する格納手段
と、前記格納手段に格納されたアドレス情報及び書込み
データに従って前記メモリへの書込み処理を行う手段
と、この書込み処理の異常に応答してそのときの前記識
別情報を前記中央処理装置へ報告する報告手段とを含む
ことを特徴とするバス接続装置が得られる。
According to the present invention, a bus connection for logically connecting a high-speed bus to which a memory and a central processing unit are connected and a low-speed bus to which a plurality of input / output control devices are connected. A device for permitting use while performing bus arbitration in response to a request for use of the low-speed bus from the input / output device; identification information for identifying the input / output device for which use is permitted; Storage means for storing the address information of the use request and the memory write data in association with each other, a means for performing a writing process to the memory according to the address information and the write data stored in the storing means, and an abnormality of this writing process. A bus connection device is obtained which includes a reporting means for responding and reporting the identification information at that time to the central processing unit.

【0011】[0011]

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

【0012】図1は本発明の実施例のシステムブロック
図である。図において、複数の入出力制御装置10,1
1は低速バス50に接続されており、バス接続装置10
0を介して高速バス40に論理的に接続されている。こ
の高速バス40には、中央処理装置20及びメインメモ
リ30が接続されている。
FIG. 1 is a system block diagram of an embodiment of the present invention. In the figure, a plurality of input / output control devices 10, 1
1 is connected to the low-speed bus 50, and the bus connection device 10
It is logically connected to the high speed bus 40 via 0. The central processing unit 20 and the main memory 30 are connected to the high speed bus 40.

【0013】バス接続装置100に設けられている複数
段のバッファ105を介して入出力制御装置10,11
からのメインメモリ30への書込み要求処理を行ういわ
ゆる“書逃げ方式”が採用されている。
Input / output control devices 10 and 11 via a plurality of stages of buffers 105 provided in the bus connection device 100.
The so-called "write escape method" is used to perform a write request process from the computer to the main memory 30.

【0014】尚、101はバスドライバであり、102
はバスレシーバである。103はパリティ検出回路であ
り、104はデコーダ,106〜109はレジスタ,1
13はセレクタ,114はエラーカウンタ,115はア
ンドゲートである。
Reference numeral 101 is a bus driver, and 102
Is a bus receiver. 103 is a parity detection circuit, 104 is a decoder, 106-109 are registers, 1
13 is a selector, 114 is an error counter, and 115 is an AND gate.

【0015】バッファ105は入出力制御装置10,1
1からの低速バス使用要求eに対して許可されたライト
アドレスとライトデータbを格納すると共に、それに対
応して使用許可番号iをも格納するものである。
The buffer 105 is an input / output control device 10, 1.
The write address and write data b permitted for the low speed bus use request e from 1 are stored, and the use permission number i is also stored correspondingly.

【0016】ROM(リードオンリメモリ)110はバ
ッファ105に格納されている使用許可番号jを検索ア
ドレスとし、この検索アドレス対応に入出力制御装置1
0,11の各ID(識別番号)コードnを予め格納した
メモリである。
A ROM (Read Only Memory) 110 uses the permission number j stored in the buffer 105 as a search address, and the input / output control device 1 corresponds to this search address.
This is a memory in which ID (identification number) codes n of 0 and 11 are stored in advance.

【0017】入出力制御装置10がメモリライトを実行
する前に、まず低速バス50を使用するためにバス要求
eをバス接続装置100に出力する。
Before the I / O controller 10 executes a memory write, it first outputs a bus request e to the bus connection device 100 in order to use the low speed bus 50.

【0018】バス接続装置100はエンコーダ112と
デコーダ111とにより低速バス使用の優先順位を決定
し、バス使用許可信号fで入出力制御装置10にバスの
使用許可を与える。
The bus connection device 100 determines the priority of low-speed bus use by the encoder 112 and the decoder 111, and gives the bus use permission to the input / output control device 10 by the bus use permission signal f.

【0019】入出力制御装置10はメモリライトサイク
ルを低速バス50に起動する。バス接続装置100は起
動されたアドレス及びデータaをチェック回路103で
パリティチェックし、異常であればステータスラインd
で入出力制御装置10に異常をその低速バスのメモリサ
イクル内に報告する。異常が無ければ入出力制御装置1
0はDMA(ダイレクトメモリアクセス)動作で次のメ
モリライトサイクルを実行するためのバス使用要求を行
い前述の動作を繰返す。
The I / O controller 10 activates a memory write cycle on the low speed bus 50. The bus connection device 100 performs a parity check on the activated address and data a by the check circuit 103, and if there is an error, the status line d
Then, the I / O controller 10 is notified of the abnormality within the memory cycle of the low-speed bus. I / O controller 1 if there is no abnormality
0 indicates a bus use request for executing the next memory write cycle in a DMA (direct memory access) operation and repeats the above operation.

【0020】一方、バス接続差装置100は受取った正
常なメモリライト情報bをバッファレジスタ105にロ
ードする。この時、先のバス調停で許可を与えた許可番
号(レジスタ107に保持されている)iも同時にロー
ドする。この一連の動作にて低速バスのメモリライトサ
イクルを終了する。
On the other hand, the bus connection difference device 100 loads the received normal memory write information b into the buffer register 105. At this time, the permission number i (held in the register 107) that was given permission in the previous bus arbitration is also loaded. With this series of operations, the memory write cycle of the low speed bus is completed.

【0021】バッファレジスタ105は一つでもメモリ
ライト情報があれば高速バス40に接続されているメイ
ンメモリ30にメモリライトを実行する。この時、バッ
ファレジスタ105内の許可番号jは高速バスに出力さ
れることなくレジスタ106の入力に導かれている。
The buffer register 105 executes memory write to the main memory 30 connected to the high speed bus 40 if there is at least one memory write information. At this time, the permission number j in the buffer register 105 is guided to the input of the register 106 without being output to the high speed bus.

【0022】メインメモリからの異常報告があったこと
を検出回路のデコーダ104で検出した時、再び先の同
一バッファレジスタを用いて高速バスに対してメモリラ
イトのリトライを実行する。
When the decoder 104 of the detection circuit detects that there is an abnormality report from the main memory, the same buffer register is used again to retry the memory write to the high speed bus.

【0023】一方、ライト処理時に異常が検出される
と、異常信号lが入力されるが、この異常を検出したデ
コーダ104のエラー信号はエラーカウンタ114をカ
ウントアップして規定回数に達したら、アンドゲート1
15の出力信号kでこの時の許可番号jをレジスタ10
6にセットする。レジスタ106の出力mは入出力制御
装置10または11に対応するIDコードnをROM1
10より検索しレジスタ109にセットする。
On the other hand, when an abnormality is detected during the write processing, the abnormality signal 1 is input. However, when the error signal of the decoder 104 which has detected the abnormality is counted up by the error counter 114 and reaches the specified number, the AND signal is ANDed. Gate 1
With the output signal k of 15, the permission number j at this time is registered in the register 10
Set to 6. The output m of the register 106 is the ID code n corresponding to the input / output control device 10 or 11 in the ROM 1
It is searched from 10 and set in the register 109.

【0024】尚、予め低速バスに接続されている入出力
制御装置10〜11のIDコードとバス使用要求ライン
は対応付けられているものとする。
It is assumed that the ID codes of the input / output control devices 10 to 11 which are connected to the low-speed bus in advance are associated with the bus use request line.

【0025】リトライエラー時にセットされたIDコー
ドpを用いて、バス接続装置100は入出力制御装置1
0に代わって中央処理装置20に対して割込み要求ライ
ンqにてメモリライトのリトライ異常通知を行う。
The bus connecting device 100 uses the ID code p set at the time of a retry error to make the input / output control device 1
Instead of 0, the central processing unit 20 is notified of a memory write retry error on the interrupt request line q.

【0026】この割込み要求が中央処理装置20で受付
けられた時、エラーカウンタ114,レジスタ109及
びレジスタ106はリセットされ次のリトライ異常に備
える。セレクタ113は低速バス50からの割込みと内
部割込みの切替えを行うものである。
When the central processing unit 20 accepts this interrupt request, the error counter 114, the register 109 and the register 106 are reset to prepare for the next retry error. The selector 113 switches between an interrupt from the low speed bus 50 and an internal interrupt.

【0027】一方、DMAメモリライトの動作を終了し
た入出力制御装置10は、高速バス40での異常を認識
できないまま割込みラインgを通して中央処理装置20
に対して割込み要求を行い、一連の正常処理を終えよう
とする。しかし先の高速バス40でのリトライエラーで
既にバス接続装置100自身がエラー割込み通知を行っ
ているため、ソフトウェアによるリトライまたは異常処
理が実行されることになる。
On the other hand, the I / O controller 10 which has completed the operation of the DMA memory write does not recognize the abnormality on the high-speed bus 40, and through the interrupt line g, the central processor 20
An interrupt request to end the series of normal processing. However, since the bus connection device 100 itself has already issued the error interrupt notification due to the retry error on the high-speed bus 40, the retry or abnormal processing by software is executed.

【0028】一方、他の入出力制御装置11は何の影響
もなくデータ転送が実行できる。
On the other hand, the other input / output control device 11 can execute data transfer without any influence.

【0029】尚、上記実施例では、入出力制御装置のI
D番号を、ROM110においてバス使用許可番号を用
いて検索するようにしているが、バス使用要求eの生成
時にその要求を生成した入出力制御装置のID番号をそ
のまま用いてバッファ105にID情報iとして格納し
ておけば、ROM110は不要になる。
In the above embodiment, the I / O controller I
Although the D number is searched in the ROM 110 by using the bus use permission number, when the bus use request e is generated, the ID number of the input / output control device that generated the request is used as it is, and the ID information i is stored in the buffer 105. If it is stored as, the ROM 110 becomes unnecessary.

【0030】[0030]

【発明の効果】以上述べた如く、本発明によれば、バス
使用許可された入出力制御装置を特定する識別情報を、
メモリライト情報と共にバッファ内に格納しておき、メ
モリライト異常時にそのときの識別情報を読出してCP
Uへ報告するようにしたので、CPUは異常発生時の入
出力制御装置を知ることができるという効果がある。
As described above, according to the present invention, the identification information for identifying the input / output control device permitted to use the bus is provided.
It is stored in the buffer together with the memory write information, and when the memory write is abnormal, the identification information at that time is read out and the CP
Since it is reported to U, the CPU has the effect of being able to know the input / output control device when an abnormality occurs.

【0031】また、CPUへ割込みによりメモリライト
異常発生時の入出力制御装置のID情報を報告している
ので、他の入出力制御装置までもシステムから切離すこ
となく、低速バスと高速バスとの間のバッファを用いて
メモリライト処理の書逃げが実現できるという効果もあ
る。
Further, since the ID information of the input / output control device at the time of occurrence of the memory write abnormality is reported to the CPU by the interruption, the low speed bus and the high speed bus can be connected without disconnecting other input / output control devices from the system. There is also an effect that the write escape of the memory write process can be realized by using the buffer between.

【0032】更に、各入出力制御装置がバス上で優先順
位が変更されても、ID番号さえ変更しなければハード
ウェアの変更は必要なくシステム変更は容易となるもの
である。
Further, even if the priority order of each input / output control device is changed on the bus, if the ID number is not changed, it is not necessary to change the hardware and the system can be easily changed.

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

【図1】本発明の実施例のシステムブロック図である。FIG. 1 is a system block diagram of an embodiment of the present invention.

【符号の説明】 10,11 入出力制御装置 20 CPU 30 メインメモリ 40 高速バス 50 低速バス 100 バス接続装置 105 バッファ 110 ROM 111 デコーダ 112 エンコーダ 113 セレクタ 114 エラーカウンタ 115 アンドゲート[Description of Reference Signs] 10, 11 Input / output control device 20 CPU 30 Main memory 40 High-speed bus 50 Low-speed bus 100 Bus connection device 105 Buffer 110 ROM 111 Decoder 112 Encoder 113 Selector 114 Error counter 115 AND gate

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 メモリ及び中央処理装置が接続された高
速バスと複数の入出力制御装置が接続された低速バスと
の間を論理接続するためのバス接続装置であって、前記
入出力装置からの前記低速バスの使用要求に応答してバ
ス調停を行いつつ使用許可をなす手段と、この使用許可
された入出力装置を識別するための識別情報と前記使用
要求のアドレス情報及びメモリ書込みデータとを対応付
けて格納する格納手段と、前記格納手段に格納されたア
ドレス情報及び書込みデータに従って前記メモリへの書
込み処理を行う手段と、この書込み処理の異常に応答し
てそのときの前記識別情報を前記中央処理装置へ報告す
る報告手段とを含むことを特徴とするバス接続装置。
1. A bus connection device for logically connecting a high-speed bus to which a memory and a central processing unit are connected and a low-speed bus to which a plurality of input / output control devices are connected. Means for permitting use while arbitrating the bus in response to the request for use of the low-speed bus, identification information for identifying the input / output device permitted to use, address information of the use request, and memory write data. In correspondence with the address information and write data stored in the storage means, and the identification information at that time in response to an abnormality in the writing process. A bus connecting device comprising: a reporting unit for reporting to the central processing unit.
【請求項2】 前記報告手段は、前記書込み処理が異常
の場合に予め定められた規定回数だけリトライ制御を行
い、リトライ回数が前記規定回数に達したときに前記報
告をなすよう構成されていることを特徴とする請求項1
記載のバス制御装置。
2. The reporting means is configured to perform retry control a predetermined number of times when the writing process is abnormal and to make the report when the number of retries reaches the specified number of times. Claim 1 characterized by the above.
Bus control device as described.
【請求項3】 前記報告手段は、前記中央処理装置に対
して前記識別情報を用いて割り込み要求を行うよう構成
されていることを特徴とする請求項1または2記載のバ
ス制御装置。
3. The bus control device according to claim 1, wherein the reporting means is configured to make an interrupt request to the central processing unit using the identification information.
JP5151630A 1993-06-23 1993-06-23 Bus connecting device Withdrawn JPH0713879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5151630A JPH0713879A (en) 1993-06-23 1993-06-23 Bus connecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5151630A JPH0713879A (en) 1993-06-23 1993-06-23 Bus connecting device

Publications (1)

Publication Number Publication Date
JPH0713879A true JPH0713879A (en) 1995-01-17

Family

ID=15522745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5151630A Withdrawn JPH0713879A (en) 1993-06-23 1993-06-23 Bus connecting device

Country Status (1)

Country Link
JP (1) JPH0713879A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008535103A (en) * 2005-04-13 2008-08-28 イーエムシー コーポレイション Data storage system having memory controller with embedded CPU

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008535103A (en) * 2005-04-13 2008-08-28 イーエムシー コーポレイション Data storage system having memory controller with embedded CPU

Similar Documents

Publication Publication Date Title
US4038642A (en) Input/output interface logic for concurrent operations
US4053950A (en) Residual status reporting during chained cycle steal input/output operations
JP2706602B2 (en) Interrupt retry reduction device
US4020471A (en) Interrupt scan and processing system for a data processing system
US5038275A (en) Status transfer structure within a data processing system with status read indication
RU2137182C1 (en) Execution of data processing instruction
EP0443557B1 (en) Interrupt controller capable of realizing interrupt nesting function
EP0431326A2 (en) Inter-processor interrupts in an n-element multi-processor
GB1589180A (en) Data processing apparatus
US4038641A (en) Common polling logic for input/output interrupt or cycle steal data transfer requests
US20020099893A1 (en) System and method for the handling of system management interrupts in a multiprocessor computer system
US4393459A (en) Status reporting with ancillary data
US4320450A (en) Protection apparatus for multiple processor systems
JPH0713879A (en) Bus connecting device
US5864686A (en) Method for dynamic address coding for memory mapped commands directed to a system bus and/or secondary bused
US20030018842A1 (en) Interrupt controller
US5652837A (en) Mechanism for screening commands issued over a communications bus for selective execution by a processor
JPH0713883A (en) Bus adapter device
JP2990800B2 (en) Interrupt processing device
JPH04266147A (en) Bus adaptor device
JPH06324957A (en) Bus monitoring device
JPH06259375A (en) Bus connecting device
JPH03132829A (en) Parity inspection system
JPH0255816B2 (en)
JPS59123933A (en) Address comparison system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000905