JPH02116945A - Connecting device for different kinds of buses - Google Patents

Connecting device for different kinds of buses

Info

Publication number
JPH02116945A
JPH02116945A JP26952088A JP26952088A JPH02116945A JP H02116945 A JPH02116945 A JP H02116945A JP 26952088 A JP26952088 A JP 26952088A JP 26952088 A JP26952088 A JP 26952088A JP H02116945 A JPH02116945 A JP H02116945A
Authority
JP
Japan
Prior art keywords
input
output
data
address
output device
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.)
Granted
Application number
JP26952088A
Other languages
Japanese (ja)
Other versions
JP2503059B2 (en
Inventor
Masayuki Sudo
須藤 正之
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP63269520A priority Critical patent/JP2503059B2/en
Publication of JPH02116945A publication Critical patent/JPH02116945A/en
Application granted granted Critical
Publication of JP2503059B2 publication Critical patent/JP2503059B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To execute the parallel operation by sending out an address of a memory area allocated by an input/output instruction from a CPU as an input/ output instruction to an input/output device. CONSTITUTION:When an input/output instruction is received from a CPU through a system bus 3, a system interface control part SBI part 21 transfers it to a memory access control part MAC part 22, and simultaneously, transfers it to an address conversion control part 23, and executes an allocation control of a memory area. Thereafter, the input/output instruction which is brought to address conversion is transferred to a program bus interface control PBI part 24, sent out to the corresponding input/output device, and also, an interruption signal is received, and informed to the address conversion control part 23. Also, a direct memory access interface part DBI part 25 is provided and a direct memory access from the input/output device is received, the data concerned is read out of a data buffer 26 and sent out to the corresponding input/ output device, and also, the data from the input/output device is written in the buffer 26.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、中央処理装置及び記憶装置が接続されている
一方のバスと、複数の入出力装置が接続されている他方
のバスとを相互に接続する異種バス間接続装置に関する
Detailed Description of the Invention (Industrial Field of Application) The present invention provides interconnection between one bus to which a central processing unit and a storage device are connected and the other bus to which a plurality of input/output devices are connected. The present invention relates to a device for connecting different types of buses.

(従来の技術) コンピュータシステムは、主記憶装置等の記憶容量の増
大や新たな機能の追加等により各種の改良が加えられて
おり、それに伴って入出力制御装置や入出力チャネル等
の入出力系装置(以下、入出力装置と称す)に主記憶装
置等のメモリ空間のサポートやアドレス変換機能等を付
加することが多くなってきている。
(Prior Art) Computer systems have undergone various improvements such as increasing the storage capacity of main storage devices and adding new functions. 2. Description of the Related Art Increasingly, system devices (hereinafter referred to as input/output devices) are provided with memory space support such as a main storage device, address conversion functions, and the like.

そして、このように新たなコンピュータシステムが開発
された場合には該システムに今まで使用していた入出力
装置を接続し、使用することが要求される。
When a new computer system is developed in this way, it is required to connect and use the input/output devices that have been used up until now.

第7図は新たなコンピュータシステムと以前のコンピュ
ータシステムとの従来の接続構成を示す図である。この
第7図において、lは新たなコンピュータシステムを示
し、このコンピュータシステム1は中央処理装置(以下
、CPUと称す)2と、このCPU2にシステムバス3
を介して接続されている複数の入出力装置41〜4o及
び主記憶装置5とから成る。
FIG. 7 is a diagram showing a conventional connection configuration between a new computer system and a previous computer system. In FIG. 7, l indicates a new computer system, and this computer system 1 includes a central processing unit (hereinafter referred to as CPU) 2, and a system bus 3 connected to this CPU 2.
It consists of a plurality of input/output devices 41 to 4o and a main storage device 5, which are connected via.

一方、以前のコンピュータシステム6はCPU7と、こ
のCPU7に入出力バス8を介して接続されている複数
の入出力装置9.〜9m及び主記憶装置10とから成る
On the other hand, the previous computer system 6 includes a CPU 7 and a plurality of input/output devices 9. connected to the CPU 7 via an input/output bus 8. 9m and a main storage device 10.

そして、CPU2とCPU7とはアダプタ装置11にて
相互に接続されている。
Further, the CPU 2 and the CPU 7 are connected to each other by an adapter device 11.

以上の従来の接続構成は、新たなコンピュータシステム
1のCPUIより出力した入出力命令をアダプタ装置1
1を介して以前のコンピュータシステム6のCPU7に
送出し、該CPU7にて入出力装置91〜9.を制御し
てデータの入出力処理を行なう、間接メモリアクセス方
式を採用している。
In the conventional connection configuration described above, input/output commands output from the CPU of the new computer system 1 are sent to the adapter device 1.
1 to the CPU 7 of the previous computer system 6, and the CPU 7 outputs the data to the input/output devices 91-9. It uses an indirect memory access method that controls data input and output processing.

しかし、この間接メモリアクセス方式ではCPU lか
らの入出力命令をそのままCPU7の入出力命令として
利用することができない上に、新たなコンピュータシス
テム1側にはCPU7に入出力処理を依頼する特別なソ
フトウェアが必要となり、かつ以前のコンピュータシス
テム6側にはこれを受は取って処理する他の特別なソフ
トウェアが必要となってしまう。また、両システム1.
6をアダプタ装置11を介して単に接続するだけなので
、システム全体の規模が大きくなってしまう他の欠点も
生じる。
However, with this indirect memory access method, input/output commands from CPU 1 cannot be directly used as input/output commands for CPU 7, and the new computer system 1 requires special software that requests input/output processing from CPU 7. , and other special software is required on the previous computer system 6 side to receive and process this. Also, both systems 1.
6 is merely connected via the adapter device 11, another drawback arises in that the scale of the entire system increases.

そこで、新たなコンピュータシステムにアダプタ装置1
1を介して以前の入出力装置を直接的に接続することが
行なわれている。第8図は直接的な接続構成を示し、ア
ダプタ装置11には入出力バス8を介して以前の入出力
装置91〜9.が接続されている。
Therefore, we installed adapter device 1 for the new computer system.
Direct connection of previous input/output devices via 1 is provided. FIG. 8 shows a direct connection configuration, in which the adapter device 11 is connected to the previous input/output devices 91-9. is connected.

このように、以前の入出力装置を直接的に接続する場合
にはアダプタ装置11に、新たなコンピュータシステム
での人出力制御方式と以前のコンピュータシステムでの
入出力制御方式とを相互に変換する方式変換機能を付加
することが要求される。
In this way, when connecting the previous input/output device directly, the adapter device 11 is used to mutually convert the human output control method in the new computer system and the input/output control method in the previous computer system. It is required to add a system conversion function.

特に、新たなコンピュータシステム1ではCPU2の負
荷を軽減するため、入出力装置41〜4nが直接的にメ
モリアドレスを算出し得るようにアドレス演算機能(チ
ャネル動的アドレス変換機能)を該装置41〜4oに付
加し、主記憶装置5に対してデータを直接的にアクセス
するようにしているが、以前のコンピュータシステムの
入出力装置91〜9.はこのような機能を有していない
ことが多い。従って、上述したように、アダプタ装置1
1に入出力装置91〜9.を直接的に接続する場合には
アダプタ装置11にチャネル動的アドレス変換機構を付
加し、各入出力装置9、〜9.に直接的にメモリをアク
セスさせる(以下、直接メモリアクセス方式と称す)こ
とが行なわれている。
In particular, in order to reduce the load on the CPU 2 in the new computer system 1, an address calculation function (channel dynamic address conversion function) is added to the input/output devices 41 to 4n so that the input/output devices 41 to 4n can directly calculate memory addresses. 4o, so that data can be accessed directly from the main storage device 5, but the input/output devices 91 to 9.4 of the previous computer system. often do not have this functionality. Therefore, as mentioned above, the adapter device 1
1, input/output devices 91-9. When connecting directly, a channel dynamic address conversion mechanism is added to the adapter device 11, and each input/output device 9, to 9. A method of directly accessing memory (hereinafter referred to as a direct memory access method) is being practiced.

ところで、第9図は直接メモリアクセス方式を説明する
ための構成図であり、CPU2と入出力装置41等はプ
ログラムバス12にて接続され、主記憶装置5と入出力
装置43等は直接メモリアクセスバス(以下、DMAバ
スと称す)13にて接続されている。
By the way, FIG. 9 is a block diagram for explaining the direct memory access method, in which the CPU 2 and the input/output device 41 etc. are connected by the program bus 12, and the main storage device 5 and the input/output device 43 etc. are connected to the direct memory access method. They are connected via a bus (hereinafter referred to as DMA bus) 13.

第10図(A)はDMAバス13の構成図であり、バス
使用要求線13a、バス使用許可線13b、アドレス送
出線13c、リード/ライト線13d、メモリ応答線1
3e1メモリアクセスデータ線13f及びメモリアクセ
スアドレス線13gを含んでいる。第10図(B)はメ
モリアクセス時のタイミングチャートである。
FIG. 10(A) is a configuration diagram of the DMA bus 13, including a bus use request line 13a, a bus use permission line 13b, an address sending line 13c, a read/write line 13d, and a memory response line 1.
It includes a 3e1 memory access data line 13f and a memory access address line 13g. FIG. 10(B) is a timing chart during memory access.

第11図はCPU2の出力する入出力命令の内容を示し
、14は入出力コマンド(以下、CFと称す)、15は
データアドレス(以下、DAと称す)、16はデータバ
イトカウント値(以下、BCと称す)である。
FIG. 11 shows the contents of the input/output commands output by the CPU 2, where 14 is the input/output command (hereinafter referred to as CF), 15 is the data address (hereinafter referred to as DA), and 16 is the data byte count value (hereinafter referred to as CF). BC).

さて、CPU2が第11図で示す入出力命令をプログラ
ムバス12を介して入出力装置41に送出すると、入出
力装置4.は主記憶装置5のDA15で指定されたアド
レスよりBCl2で指定された語(バイト)数だけデー
タをアクセスする。
Now, when the CPU 2 sends the input/output command shown in FIG. 11 to the input/output device 41 via the program bus 12, the input/output device 4. accesses data by the number of words (bytes) specified by BCl2 from the address specified by DA15 of the main memory device 5.

即ち、第10図(B)で示すように、入出力装置4.は
バス使用要求線13aを介してバス使用要求をCPU2
に行ない、CPU2はバス使用が可能であると判断する
と、バス使用許可線13bを介して入出力装置4、にバ
ス使用許可を行なう。
That is, as shown in FIG. 10(B), the input/output device 4. sends a bus use request to the CPU 2 via the bus use request line 13a.
When the CPU 2 determines that the bus can be used, it grants permission to the input/output device 4 to use the bus via the bus permission line 13b.

これによりDMAバス13の使用を獲得する。This acquires the use of the DMA bus 13.

次に、アドレス送出線13cにアドレスストローブ信号
が出力された時点で、メモリアクセスアドレス線13g
を介してDA15を主記憶装置5に出力する。また、リ
ード/ライト線13dにリード/ライトストローブ信号
を出力してメモリ応答線13eにメモリ応答信号が送ら
れてくると、入出力装置4Iは主記憶装置5よりアドレ
スに対応するデータを読み出し若しくはデータを書き込
む。
Next, when the address strobe signal is output to the address sending line 13c, the memory access address line 13g
The DA15 is output to the main storage device 5 via the DA15. Further, when a read/write strobe signal is output to the read/write line 13d and a memory response signal is sent to the memory response line 13e, the input/output device 4I reads data corresponding to the address from the main memory 5 or Write data.

(発明が解決しようとする課題) このように、チャネル動的アドレス変換機能を有する入
出力装置にて直接メモリアクセスを行なう場合には、上
記したように、DA15とデータとを単に転送するだけ
でよく、いずれの入出力装置にてアクセスされているか
否かは問題とならない。しかし、アダプタ装置11に該
機能を付加し、アダプタ装置11にて複数の以前の入出
力装置9.〜9.を代行させて直接メモリアクセスを行
なうだけでは、アダプタ装置11がいずれの入出力装置
からのアクセス要求であるかを認識することができない
ので、入出力装置を並行動作させることができなかった
(Problem to be Solved by the Invention) As described above, when performing direct memory access with an input/output device having a channel dynamic address conversion function, as described above, it is necessary to simply transfer data to the DA15. Often, it does not matter which input/output device is being accessed. However, by adding this function to the adapter device 11, the adapter device 11 replaces a plurality of previous input/output devices 9. ~9. If the adapter device 11 simply performs direct memory access on behalf of the user, the adapter device 11 cannot recognize which input/output device is making the access request, and therefore the input/output devices cannot be operated in parallel.

本発明はこのような点を解決するためになされたもので
、チャネル動的アドレス変換機能を有する上にいずれの
入出力装置からのアクセス要求であるかを確実に認識す
る機能を有する異種バス間接続装置を提供することを目
的とする。
The present invention has been made to solve these problems, and has a channel dynamic address conversion function as well as a function to reliably recognize which input/output device an access request is from. The purpose is to provide a connection device.

(課題を解決するための手段) 本発明の異種バス間接続装置は、複数のメモリ領域に区
分され、記憶装置より読み出したデータ及び記憶装置に
書き込むべきデータがいずれかのメモリ領域に一時的に
格納される記憶部と、中央処理装置からの入出力命令で
いずれかのメモリ領域を対応する入出力装置に割り付け
、この割り付けたメモリ領域のアドレス及びその識別デ
ータを前記入出力装置に入出力命令として送出するアド
レス変換制御部とを備えることを特徴とする。
(Means for Solving the Problems) The heterogeneous bus connection device of the present invention is divided into a plurality of memory areas, and data read from a storage device and data to be written to the storage device are temporarily stored in one of the memory areas. Allocate one of the memory areas to the corresponding input/output device by an input/output instruction from the storage unit and the central processing unit, and send the address of the allocated memory area and its identification data to the input/output device. and an address translation control unit that sends out an address as an address translation control unit.

(作用) 中央処理、装置からの記憶装置のデータアドレスを含む
入出力命令を受けた場合アドレス変換制御部は記憶部の
いずれかのメモリ領域を対応する入出力装置に割り付け
、このメモリ領域のアドレス及び該領域の識別データを
入出力命令として前記入出力装置に送出する。
(Operation) When the central processing unit receives an input/output command containing a data address of a storage device from the device, the address conversion control unit allocates one of the memory areas of the storage unit to the corresponding input/output device, and converts the address of this memory area. and the identification data of the area are sent to the input/output device as an input/output command.

入出力装置はアドレス変換されて送られてきた入出力命
令に基づいて記憶装置へのアクセスを開始する。この場
合識別データにていずれかのメモリ領域が特定される。
The input/output device starts accessing the storage device based on the input/output command sent after address translation. In this case, one of the memory areas is specified by the identification data.

従って、複数の入力装置をそれぞれのメモリ領域に対応
させて並行動作させることができる。
Therefore, a plurality of input devices can be operated in parallel in correspondence with respective memory areas.

(実施例) 以下、本発明の実施例を図面を参照して詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明に係る異種バス間接続装置のブロック図
である。この第1図において、20は本発明装置を示し
、システムバスインタフェース制御部(以下、SBI部
と称す)21を備えている。このSBI部21はシステ
ムバス3を介してCPU2 (第5図参照)からの入出
力命令を受信する。第6図はCPU2からの入出力命令
を説明する図であり、該命令は入出力コマンド(CF)
30、データバイトカウント値(BC)31及びデータ
アドレス(DA)32を含んでいる。
FIG. 1 is a block diagram of a device for connecting different types of buses according to the present invention. In FIG. 1, reference numeral 20 denotes the device of the present invention, which is equipped with a system bus interface control section (hereinafter referred to as SBI section) 21. This SBI unit 21 receives input/output commands from the CPU 2 (see FIG. 5) via the system bus 3. FIG. 6 is a diagram explaining input/output commands from the CPU 2, and the commands are input/output commands (CF).
30, a data byte count value (BC) 31 and a data address (DA) 32.

SBI部21は入出力命令を受信すると、CF30、D
A32及びBC31をメモリアクセス制御部(以下、M
ACと称す)22へ転送すると同時にCF30とBC3
1をアドレス変換制御部23へ転送する。アドレス変換
制御部23は後述するように、メモリ領域を入出力装置
91〜9゜のいずれかに割り付ける制御を行なった後、
アドレス変換した入出力命令をプログラムバスインタフ
ェース制御部(以下、FBIと称す)24に転送する。
When the SBI unit 21 receives an input/output command, it sends the CF30 and D
A32 and BC31 are connected to a memory access control unit (hereinafter referred to as M
(referred to as AC) 22, and at the same time CF30 and BC3.
1 is transferred to the address conversion control unit 23. As will be described later, the address conversion control unit 23 performs control to allocate a memory area to any of the input/output devices 91 to 9°, and then
The input/output command whose address has been converted is transferred to the program bus interface control unit (hereinafter referred to as FBI) 24.

FB I 24はプログラムバス33を介してこの入出
力命令を対応する入出力装置へ送出すると共に入出力装
置からの割込み信号を受信し、アドレス変換制御部23
に割込みを通知する。
The FB I 24 sends this input/output command to the corresponding input/output device via the program bus 33, receives an interrupt signal from the input/output device, and executes the address conversion control unit 23.
Notify interrupt to.

また、本発明の異種バス間接続装置20は直接メモリア
クセスインタフェース制御部(以下、DBIと称す)2
5を備えている。このDBI部25は入出力装置からの
直接メモリアクセスを受信し、読み出しの場合データバ
ッファ26より該当するデータを読み出して対応する入
出力装置に送出し、又書き込みの場合入出力装置からの
データをデータバッファ26に書き込む、また、このD
BI部25は入出力装置の入出力処理が終了し、入出力
装置よりチャネル状態信号(CSW)が供給されてきた
場合この信号をアドレス変換制御部23に送出し、入出
力処理が正常に行なわれたか否かを判定させる。
Further, the heterogeneous bus connection device 20 of the present invention includes a direct memory access interface control unit (hereinafter referred to as DBI) 2.
5. This DBI unit 25 receives direct memory access from an input/output device, reads out the corresponding data from the data buffer 26 in the case of reading, and sends it to the corresponding input/output device, and in the case of writing, receives the data from the input/output device. This D
When the input/output processing of the input/output device is completed and a channel status signal (CSW) is supplied from the input/output device, the BI section 25 sends this signal to the address conversion control section 23 to ensure that the input/output processing is performed normally. Have the students decide whether or not it was done.

さて、第2図はデータバッファ26の構成図である。即
ち、このデータバッファ26はデータメモリ27を備え
、このデータメモリ27は4つのブロックB。〜B3 
 (メモリ領域)に分けられており、両方向で入出力が
可能な2ボート型のメモリより形成されている。各ブロ
ック80〜B、のボートには分配スイッチとしてのマル
チプレクサ28A、28Bが接続されている。
Now, FIG. 2 is a configuration diagram of the data buffer 26. That is, this data buffer 26 includes a data memory 27, and this data memory 27 has four blocks B. ~B3
It is divided into two (memory areas) and is formed from a two-port type memory that can input and output in both directions. Multiplexers 28A and 28B as distribution switches are connected to the ports of each block 80-B.

一方、上記アドレス変換制御部23は、第3図に示すデ
ータブロック管理テーブルを備えている。このデータブ
ロック管理テーブルにおいて、テーブルブロック番号0
〜3はデータメモリ27の各ブロックB。−83を概念
的に示し、データのブロックバンク(BNK)は各ブロ
ック80〜B、を各メモリ領域として識別するための識
別データとして用いられ、2ビツト構成を有している。
On the other hand, the address translation control section 23 includes a data block management table shown in FIG. In this data block management table, table block number 0
3 are each block B of the data memory 27. A block bank (BNK) of data is used as identification data for identifying each block 80 to B as each memory area, and has a 2-bit configuration.

つまり、ブロックB。にはro、OJが、ブロックB1
にはro、IJが、ブロックB2にはrl、OJが、又
ブロックB3にはrl、IJがそれぞれ対応している。
In other words, block B. ro, OJ, block B1
ro and IJ correspond to block B2, rl and OJ correspond to block B2, and rl and IJ correspond to block B3, respectively.

また、データアドレスDA (d)は各ブロックB0〜
B、のデータを格納するアドレスを示し、例えば、10
ビツト構成を有している。更に、メモリ領域r ooo
ooh〜0FFFFhJ等は各ブロックB。〜B3の始
まりから終わりまでの全アドレスを示している。また、
フラグは「1」がメモリ領域(ブロック80等)の使用
中、即ち、いずれかの入出力装置にメモリ領域を割り付
けていることを示し、フラグrOJは入出力処理が終了
してメモリ領域の使用が解除されたことを示している。
In addition, data address DA (d) is for each block B0~
B, indicates the address where the data is stored, for example, 10
It has a bit configuration. Furthermore, the memory area r ooo
ooh~0FFFFhJ etc. are each block B. - All addresses from the beginning to the end of B3 are shown. Also,
Flag "1" indicates that the memory area (block 80, etc.) is in use, that is, the memory area is allocated to any input/output device, and flag rOJ indicates that the input/output processing has finished and the memory area is being used. indicates that it has been released.

以上の構成を有する本発明の異種バス間接続装置20は
、第1図及び第5図に示すように、MAC部2部上2B
I部2部側1側ステムバス3に接続され、PBI部24
及びDBI部2部側5側出力バス8に接続されている。
As shown in FIGS. 1 and 5, the connection device 20 between different types of buses according to the present invention having the above-mentioned configuration has an upper 2B
It is connected to the I section 2 side side 1 side stem bus 3, and the PBI section 24
and is connected to the DBI section 2 side 5 side output bus 8.

そして、この入出力バス8には複数の以前の入出力装置
91〜9、が接続されている。
A plurality of previous input/output devices 91 to 9 are connected to this input/output bus 8.

尚、入出力バス8は、第1図で示すプログラムバス33
とDMAバス34を含んでいる。
Note that the input/output bus 8 is a program bus 33 shown in FIG.
and a DMA bus 34.

次に、本発明の異種バス間接続装置20の入出力処理動
作を説明する。
Next, the input/output processing operation of the heterogeneous bus connection device 20 of the present invention will be explained.

CPU2がCF30.BO31,DA32を含む入出力
命令(第6図参照)を出力すると、SBI部21はこの
入出力命令をシステムバス3を介して受信し、CF30
.BO31,DA32をアドレス変換制御部23へ転送
すると同時にDA32とBO21をMAC部2部上2送
する。
CPU2 is CF30. When an input/output command (see FIG. 6) including BO31 and DA32 is output, the SBI unit 21 receives this input/output command via the system bus 3, and outputs the input/output command to the CF30.
.. At the same time as transferring BO31 and DA32 to the address conversion control unit 23, DA32 and BO21 are sent to the MAC unit 2.

次に、アドレス変換制御部23はフラグを検索し、フラ
グrOJの未使用のブロック、例えばブロックB0を選
定し、このブロックB。のデータアドレスDA (d)
に対応するBNK ro、OJを付加し、このアドレス
DA (d)及びBNKro、OJをCF30及びBO
21と共にPBI部24にアドレス変換した入出力命令
として転送する。第4図はこのアドレス変換した入出力
命令を示しており、先頭の2ビツトにBNKro、OJ
が付加されたアドレスDA (d)と、BO21及びC
F30とから成っている。また、このアドレス変換制御
部23はBNK ro、OJをMAC部2部上2転送し
、かつPBI部2部上1転送されてきたDA32及びB
O21をそのまま保持する。
Next, the address translation control unit 23 searches the flag, selects an unused block of the flag rOJ, for example, block B0, and selects this block B. data address DA (d)
Add BNK ro and OJ corresponding to the address DA (d) and BNKro and OJ to CF30 and BO.
21 and is transferred to the PBI unit 24 as an input/output command with the address translated. Figure 4 shows the input/output instruction with this address converted, with BNKro and OJ in the first two bits.
Address DA (d) with BO21 and C
It consists of F30. In addition, this address conversion control unit 23 transfers BNK ro and OJ to the 2nd part of the MAC part, and also transfers DA32 and B which have been transferred to the 2nd part of the PBI part.
Keep O21 intact.

次いで、PBI部24は転送されてきた入出力命令をC
PU2にて指定されたいずれかの入出力装置、例えば、
入出力装置9mに送出する。この入出力命令を受信した
入出力装置9.はDA(d)で指定されたブロックB0
のアドレスからBO21で指定された語数だけ、アクセ
スを開始する。即ち、入出力装置9.はDA (d)に
ブロックB。を示すBNK ro、OJを付加し、かつ
CF30.BO31をDBI部25に出力する。
Next, the PBI unit 24 converts the transferred input/output commands into C
Any input/output device specified by PU2, for example,
Send to input/output device 9m. The input/output device 9 that received this input/output command. is block B0 specified by DA(d)
Access is started from the address for the number of words specified in BO21. That is, input/output device 9. is DA (d) to block B. Add BNK ro, OJ indicating CF30. The BO31 is output to the DBI section 25.

DBI部25はこのアクセスにより、CF30が読み出
しであればデータバッファ26のデータメモリ27より
BNK ro、OJで示されるブロックB0のアドレス
DA (d)より該当するデータを読み出して入出力装
置91にこのデータを出力する。また、CF30が書き
込みであれば上記ブロックB。のアドレスDA (d)
に入出力装置91からのデータを書き込む。即ち、BN
Kro、OJをデータバッファ26に入力すると、第2
図に示すように、マルチプレクサ28BがブロックB0
を選択するので、DBI部25はデータの読み出し若し
くは書き込み動作を行なうだけでよい。
Through this access, the DBI unit 25 reads the corresponding data from the address DA (d) of the block B0 indicated by BNK ro and OJ from the data memory 27 of the data buffer 26 if the CF 30 is reading, and sends this data to the input/output device 91. Output data. Also, if CF30 is written, the above block B is written. address DA (d)
The data from the input/output device 91 is written to. That is, B.N.
When Kro and OJ are input to the data buffer 26, the second
As shown, multiplexer 28B is connected to block B0
, the DBI section 25 only needs to read or write data.

また、MAC部22はSBI部2部上1転送されてきた
DA32.BO31及びアドレス変換制御部23より転
送されてきたBNK ro、OJによって、読み出しで
あれば主記憶装置5より読み出したデータをブロックB
0のアドレスDA(d)に格納し、又書き込みであれば
このブロックB。のアドレスDA (d)よりデータを
読み取って主記憶装置5に書き込む。この場合にもBN
K ro、OJにてマルチプレクサ28AがブロックB
0を自動的に選択する。
Further, the MAC unit 22 also receives the DA32. BNK ro and OJ transferred from the BO 31 and the address conversion control unit 23 transfer the data read from the main storage device 5 to the block B in the case of reading.
0 address DA(d), and if it is a write, this block B. The data is read from the address DA (d) and written into the main memory device 5. In this case also BN
Multiplexer 28A is connected to block B at K ro and OJ.
0 is automatically selected.

CPU2より他の入出力命令が出力された場合には同様
にアドレス変換制御部23にてBNKro、IJ、rl
、OJ又はrl、IJがDA(d)に付加され、他のブ
ロックB +、 B 2. B sのいずれかが他の入
出力装置に割り当てられ、かつアドレス変換されてBN
Kを含む入出力命令が対応する入出力装置に送出される
。従って、本実施例ではブロックB。−B3の数、即ち
、4つのメモリ領域を入出力装置に割り付けることがで
きるので、4台の入出力装置を並行動作させることがで
きる。
When other input/output instructions are output from the CPU 2, the address conversion control unit 23 similarly outputs BNKro, IJ, rl.
, OJ or rl, IJ is added to DA(d) and other blocks B +, B 2. B s is assigned to another input/output device and the address is converted to BN.
An input/output command containing K is sent to the corresponding input/output device. Therefore, block B in this embodiment. Since the number -B3, that is, four memory areas can be allocated to the input/output devices, the four input/output devices can be operated in parallel.

尚、識別データとしては各メモリ領域を識別できるもの
であればよいのは勿論である。
Of course, the identification data may be any data that can identify each memory area.

(発明の効果) 以上説明したように、本発明によれば、記憶部を複数の
メモリ領域に区分し、CPUからの入出力命令で対応す
る入出力装置にいずれかのメモリ領域を割り付け、かっ
このメモリ領域のアドレス及びその識別データを対応す
る入出力装置に入出力命令として送出するようにしたの
で、チャネル動的変換機能を有しない以前の入出力装置
であっても該機能を含む入出力装置を備えるコンピュー
タシステムにおいて並行動作させることができる。
(Effects of the Invention) As explained above, according to the present invention, a storage section is divided into a plurality of memory areas, and one of the memory areas is allocated to a corresponding input/output device according to an input/output command from the CPU, and Since the address of the memory area and its identification data are sent as an input/output command to the corresponding input/output device, even if the input/output device does not have the channel dynamic conversion function, The apparatus can be operated in parallel in a computer system comprising the apparatus.

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

第1図は本発明に係る異種バス間接続装置のブロック図
、第2図は本発明に係るデータバッファの構成図、第3
図は本発明のデータブロック管理テーブルを示す図、第
4図はアドレス変換した入出力命令を示す図、第5図は
第1図の装置を用いた直接メモリアクセス方式の接続構
成を示す図、第6図は第5図で示すCPUの入出力命令
を示す図、第7図は間接メモリアクセス方式の接続構成
を示す図、第8図は従来の直接メモリアクセス方式の接
続構成を示す図、第9図は直接メモリアクセス方式を説
明する図、第10図(A)、(B)はDMAバスの構成
を示す図と第9図で示す直接メモリアクセス方式のタイ
ミングチャート、第11図は第9図で示すCPUの入出
力命令を示す図である。 2・・・CPU、9I〜91・・・以前の入力装置、2
1・・・SBI部、22・・・MAC部、23・・・ア
ドレス変換制御部、24・・・PBI部、25・・・D
BI部、26・・・データバッファ、28A、28B・
・・マルチプレクサ、B、−B、・・・ブロック。 特許出願人 沖電気工業株式会社
FIG. 1 is a block diagram of a connection device between different types of buses according to the present invention, FIG. 2 is a configuration diagram of a data buffer according to the present invention, and FIG.
4 is a diagram showing a data block management table of the present invention, FIG. 4 is a diagram showing address-converted input/output instructions, and FIG. 5 is a diagram showing a connection configuration of a direct memory access method using the device of FIG. 1. 6 is a diagram showing the input/output instructions of the CPU shown in FIG. 5, FIG. 7 is a diagram showing the connection configuration of the indirect memory access method, and FIG. 8 is a diagram showing the connection configuration of the conventional direct memory access method. FIG. 9 is a diagram explaining the direct memory access method, FIGS. 10 (A) and (B) are diagrams showing the configuration of the DMA bus and a timing chart of the direct memory access method shown in FIG. 9, and FIG. 9 is a diagram showing input/output instructions of the CPU shown in FIG. 2...CPU, 9I~91...Previous input device, 2
1... SBI section, 22... MAC section, 23... Address conversion control section, 24... PBI section, 25... D
BI section, 26...Data buffer, 28A, 28B.
...Multiplexer, B, -B, ... block. Patent applicant Oki Electric Industry Co., Ltd.

Claims (1)

【特許請求の範囲】 中央処理装置及び記憶装置が接続されているバスと複数
の入出力装置が接続されている他のバスとを接続し、前
記記憶装置のデータアドレスを含む入出力命令を受信し
て前記対応する入出力装置にて前記記憶装置を直接的に
アクセスさせる異種バス間接続装置であって、 複数のメモリ領域に区分され、前記記憶装置より読み出
したデータ及び該記憶装置に書き込むべきデータがいず
れのメモリ領域に一時的に格納される記憶部と、 前記入出力命令の入力で前記いずれかのメモリ領域を対
応する前記入出力装置に割り付け、該割り付けたメモリ
領域のアドレス及び該メモリ領域の識別データを前記対
応する入出力装置に入出力命令として送出するアドレス
変換制御部とを備えることを特徴とする異種バス間接続
装置。
[Claims] Connecting a bus to which a central processing unit and a storage device are connected to another bus to which a plurality of input/output devices are connected, and receiving an input/output command including a data address of the storage device. A connection device between different types of buses that allows the corresponding input/output device to directly access the storage device, the device being partitioned into a plurality of memory areas, and containing data read from the storage device and data to be written to the storage device. a storage unit in which data is temporarily stored in any of the memory areas; and a storage unit that allocates any of the memory areas to the corresponding input/output device upon input of the input/output command, and an address of the allocated memory area and the memory. A device for connecting different types of buses, comprising: an address conversion control section that sends area identification data to the corresponding input/output device as an input/output command.
JP63269520A 1988-10-27 1988-10-27 Connection device between different types of buses Expired - Fee Related JP2503059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63269520A JP2503059B2 (en) 1988-10-27 1988-10-27 Connection device between different types of buses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63269520A JP2503059B2 (en) 1988-10-27 1988-10-27 Connection device between different types of buses

Publications (2)

Publication Number Publication Date
JPH02116945A true JPH02116945A (en) 1990-05-01
JP2503059B2 JP2503059B2 (en) 1996-06-05

Family

ID=17473536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63269520A Expired - Fee Related JP2503059B2 (en) 1988-10-27 1988-10-27 Connection device between different types of buses

Country Status (1)

Country Link
JP (1) JP2503059B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129628A (en) * 1982-01-29 1983-08-02 Nec Corp Data channel device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129628A (en) * 1982-01-29 1983-08-02 Nec Corp Data channel device

Also Published As

Publication number Publication date
JP2503059B2 (en) 1996-06-05

Similar Documents

Publication Publication Date Title
US7340552B2 (en) Bus control system
US4459661A (en) Channel address control system for a virtual machine system
EP1012734B1 (en) Address translation in computer bus bridge devices
US6832303B2 (en) Method and system for managing an allocation of a portion of a memory
US5963976A (en) System for configuring a duplex shared storage
US6078742A (en) Hardware emulation
US6092170A (en) Data transfer apparatus between devices
JPH02297116A (en) Data transfer between non-synchronous buses
JPH01298457A (en) Computer system
JPH02116945A (en) Connecting device for different kinds of buses
EP0500967A1 (en) Method of nonsynchronous access to shared memory
EP0316251A2 (en) Direct control facility for multiprocessor network
KR100251849B1 (en) I/o control board having multiplexing function
JPS63228358A (en) Bus control system
JPS59119465A (en) Microcomputer
JPS59722A (en) Channel device
JPH01133444A (en) System bus controller
JPH0423159A (en) Shared memory device
JPH0429101B2 (en)
JPS60124755A (en) Information processing unit
JPH01111252A (en) Data transfer control system
JPS6084657A (en) By-pass control system of data transfer request stack
JPS5848160A (en) Multiprocessor system
JPH07219890A (en) Method for transmitting data
JPH0786869B2 (en) Information transmission method of multiprocessor system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees