JPH05128048A - Information processor - Google Patents

Information processor

Info

Publication number
JPH05128048A
JPH05128048A JP28804891A JP28804891A JPH05128048A JP H05128048 A JPH05128048 A JP H05128048A JP 28804891 A JP28804891 A JP 28804891A JP 28804891 A JP28804891 A JP 28804891A JP H05128048 A JPH05128048 A JP H05128048A
Authority
JP
Japan
Prior art keywords
bus
data
address
register
memory
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
JP28804891A
Other languages
Japanese (ja)
Inventor
Takayuki Matsumoto
隆行 松本
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 JP28804891A priority Critical patent/JPH05128048A/en
Publication of JPH05128048A publication Critical patent/JPH05128048A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve the occupation rate of a data bus at the time of continuously transferring data by means of direct memory access(DMA) by converting data from a bus with a large size into the bus size of a data bus through a data register, an address register and a bus conversion register. CONSTITUTION:In the case that the memory reading of continuous addresses based upon DMA transfer is executed through a bus 2 whose bus size is larger than that of a data bus 4, a data register 13 stores data read out from the memory through the bus 2 and an address register 14 in a register control circuit 16 stores the address of the data. When the circuit 16 judges that the address corresponds to data in the range of the register 13 in each data transfer, a bus conversion register 15 converts the data into the bus size of the data bus 4 and outputs the converted data to the bus 4. Consequently the occupation rate of the bus 2 can be improved (lowered) and the continuous transfer of data can efficiently be executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置に関し、特
にサイズが異なり転送能力も異なる2つのバスを持つ装
置におけるデータ転送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and more particularly to a data transfer system in an apparatus having two buses having different sizes and different transfer capacities.

【0002】[0002]

【従来の技術】従来、この種の情報処理装置におけるデ
ータ転送方式は、一例を図5に示すように、バスサイズ
が小さくデータの転送はシングル転送のみが可能なバス
1に接続されたI/Oボード51 、52 、…、5n から
バスサイズがバス1より大きくデータの連続転送が可能
なバス2に接続されているメモリ7へリードアクセスす
るには、データ転送するごとにバス1をアクセスしてバ
ス使用権を獲得してアドレスを出力し、バス変換機能2
6で受けたアドレスをバス2の規格に変換し、バス2を
アクセスしバス使用権を獲得して変換したアドレスをメ
モリ7へ出力し、メモリ7より読み出したデータをバス
変換機能26内のデータレジスタ(不図示)に一度保持
してからバス1のサイズに合う必要なデータだけを取り
出してバス1のデータバス4に出力し、これをI/Oボ
ード51 、52 、…、5n が取り込んでいた。
2. Description of the Related Art Conventionally, as shown in FIG. 5, an example of a data transfer system in an information processing apparatus of this type is an I / I connected to a bus 1 having a small bus size and capable of only single transfer of data. For read access from the O boards 5 1 , 5 2 , ..., 5 n to the memory 7 connected to the bus 2 having a bus size larger than that of the bus 1 and capable of continuous data transfer, the bus 1 is used every time data is transferred. Access the bus to acquire the bus usage right, output the address, and convert the bus 2
The address received in 6 is converted to the standard of the bus 2, the bus 2 is accessed to acquire the bus use right, the converted address is output to the memory 7, and the data read from the memory 7 is the data in the bus conversion function 26. Once stored in a register (not shown), only the necessary data that fits the size of the bus 1 is taken out and output to the data bus 4 of the bus 1, and this is output to the I / O boards 5 1 , 5 2 , ..., 5 n Was being captured.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のデータ
転送方式では、バス1に接続されたI/Oボード51
2 、…、5n がメモリリードするたびに、バス1とバ
ス2をアクセスしてメモリ7より受けたデータをバス変
換機能26で必要なデータだけ取り出しバス1のデータ
バス4のサイズに変換しているため、ダイレクトメモリ
アクセス(以後DMAと称する)による連続したアドレ
スのデータ転送の場合、例えばバス2がバス1の2倍の
サイズであれば、バス変換機能26では図6(a)に示
すように、最初にバス1のデータバス4のバスサイズに
見合うバス2の1/2に当る下位バイト27をバス変換
レジスタ29に送ってバス1のデータバス4に出力し、
バス1のアドレスバス3が次の連続したアドレスを出力
するとバス2では同じアドレスのデータを再度読み出し
て今度は図6(b)に示すように、バス1のデータバス
4のバスサイズに見合うバス2の1/2に当る上位バイ
ト28をバス変換レジスタ29に送ってバス1のデータ
バス4に出力する。このため、バス2を占有する割合が
多くなり、さらに、バス2はデータの連続転送が可能で
あるにも拘らずバス1のデータバス4はシングル転送し
かできないため、バス2もシングル転送しかできないの
で転送効率が悪いという欠点がある。
In the above-mentioned conventional data transfer system, the I / O board 5 1 connected to the bus 1 ,
Each time 5 2 , ..., 5 n reads the memory, the bus 1 and the bus 2 are accessed and the data received from the memory 7 is taken out by the bus conversion function 26 and converted into the size of the data bus 4 of the bus 1. Therefore, in the case of data transfer of continuous addresses by direct memory access (hereinafter referred to as DMA), for example, if the bus 2 has a size twice that of the bus 1, the bus conversion function 26 is shown in FIG. As shown, first, the lower byte 27 corresponding to 1/2 of the bus 2 corresponding to the bus size of the data bus 4 of the bus 1 is sent to the bus conversion register 29 and output to the data bus 4 of the bus 1.
When the address bus 3 of the bus 1 outputs the next continuous address, the data of the same address is read again on the bus 2, and this time, as shown in FIG. 6B, a bus corresponding to the bus size of the data bus 4 of the bus 1 is obtained. The upper byte 28 corresponding to 1/2 of 2 is sent to the bus conversion register 29 and output to the data bus 4 of the bus 1. As a result, the bus 2 occupies a large proportion, and further, the data bus 4 of the bus 1 can only perform single transfer even though the bus 2 can continuously transfer data. Therefore, the bus 2 can also perform only single transfer. Therefore, there is a drawback that transfer efficiency is poor.

【0004】本発明の目的は、データの転送がシングル
転送のみ可能な第1のバスに接続されたI/Oボードか
らデータの連続転送が可能で第1のバスよりもバスサイ
ズの大きい第2のバスに接続されたメモリにDMAによ
りリードアクセスしてデータを連続転送する場合、メモ
リが接続されたバスの占有率を大きくせず効率よくデー
タ転送が行なえる情報処理装置を提供することである。
It is an object of the present invention to continuously transfer data from an I / O board connected to a first bus capable of transferring data only in a single transfer, and a second bus having a larger bus size than the first bus. It is an object of the present invention to provide an information processing device capable of efficiently performing data transfer without increasing the occupation rate of the bus connected to the memory when the DMA is read-accessed to the memory connected to the bus to continuously transfer the data. ..

【0005】[0005]

【課題を解決するための手段】本発明の情報処理装置
は、バス変換機能は、I/Oボードがメモリリードアク
セスしようとしたときのアドレスを保持するアドレスレ
ジスタと、データレジスタに格納されたデータのバスサ
イズを第1のバスのバスサイズに変換するバス変換レジ
スタと、前記I/Oボードが第1のバスを通してダイレ
クトメモリアクセスによる前記メモリへのメモリリード
をしようとしたとき、前記I/Oボードからのアドレス
を前記アドレスレジスタに格納されているアドレスと比
較し、前記データレジスタに格納されている範囲外のア
ドレスであれば該アドレスを第2のバスの規格に合わせ
て前記メモリにリードアクセスして連続転送を行ない、
メモリから読み出したデータを前記データレジスタへ格
納するとともに前記アドレスレジスタの内容をアクセス
したアドレスに更新し、次に前記I/Oボードからメモ
リリードアクセスを受けたとき、第1のバスを通して送
られてきたアドレスと前記アドレスレジスタに格納され
ているアドレスを比較して、データレジスタに格納され
ている範囲内のアドレスであれば、前記データレジスタ
から該当するアドレスのデータをセレクトして前記バス
変換レジスタにより第1のバスのバスサイズにサイズを
変換してI/Oボード側に送出し、かつ第2のバスをコ
マンド監視して前記データレジスタに格納されている範
囲内のアドレスでメモリライトアクセスがあれば前記デ
ータレジスタ内部のデータを無効にするレジスタ制御回
路とを含む。
According to the information processing apparatus of the present invention, the bus conversion function has an address register for holding an address when the I / O board attempts a memory read access, and a data stored in the data register. And a bus conversion register for converting the bus size of the I / O board to the bus size of the first bus, and the I / O board when the I / O board attempts to perform a memory read to the memory by direct memory access through the first bus. The address from the board is compared with the address stored in the address register, and if the address is outside the range stored in the data register, the address is read-accessed to the memory according to the standard of the second bus. And perform continuous transfer,
The data read from the memory is stored in the data register, the contents of the address register are updated to the accessed address, and when the memory read access is received from the I / O board, the data is sent through the first bus. The address stored in the data register is compared with the address stored in the address register, and if the address is within the range stored in the data register, the data at the corresponding address is selected from the data register and the bus conversion register is used. Convert the size to the bus size of the first bus and send it to the I / O board side, and monitor the second bus for a command, and perform memory write access at an address within the range stored in the data register. For example, a register control circuit for invalidating the data in the data register.

【0006】[0006]

【作用】DMA転送による連続したアドレスのメモリリ
ードを行ったときに、第1のバスを通じてI/Oボード
と対応するバス変換部の各チャンネルごとにデータレジ
スタにデータが、アドレスレジスタにアドレスが保持さ
れ、第1のバスがメモリリードのデータ転送を1ワード
もしくは1バイトごとの転送をするたびに第2のバスの
獲得要求を出してバスをアクセスせずに目的のアドレス
であれば前記データレジスタにアクセスして格納されて
いるデータを引き取ることができるので、メモリリード
時の第2のバスのバス占有率を下げることができる。ま
た、第2のバスがデータの連続転送が可能であるにも関
らず第1のバスがシングル転送しかできないことから第
2のバス2もシングル転送しかできなかったことによる
効率不足も併せて解消される。
When the memory read of consecutive addresses by the DMA transfer is performed, the data is held in the data register and the address is held in the address register for each channel of the bus conversion unit corresponding to the I / O board through the first bus. When the first bus issues a memory read data transfer word by word or byte by byte, a second bus acquisition request is issued and the target address is reached without accessing the bus. Since the stored data can be retrieved by accessing the memory, the bus occupation rate of the second bus at the time of memory read can be reduced. In addition, since the first bus can only perform single transfer even though the second bus can continuously transfer data, the second bus 2 can also perform only single transfer. Will be resolved.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の情報処理装置の一実施例の
ブロック図、図2は図1のバス変換部81 、82 、…、
n のブロック図、図3は図2のデータレジスタ13の
詳細図、図4は図2のバス変換レジスタ15におけるバ
スサイズ変換を示す図である。
FIG. 1 is a block diagram of an embodiment of an information processing apparatus of the present invention, and FIG. 2 is a bus conversion unit 8 1 , 8 2 , ..., Of FIG.
8 n is a block diagram, FIG. 3 is a detailed diagram of the data register 13 of FIG. 2, and FIG. 4 is a diagram showing bus size conversion in the bus conversion register 15 of FIG.

【0009】この情報処理装置はバス1とバス2とI/
Oボード51 、52、…、5n とバス変換機能6とメモリ
7とから構成されている。
This information processing apparatus has a bus 1, a bus 2, and an I / O.
O board 5 1, 5 2, ..., and a 5 n and bus converting function 6 and the memory 7.

【0010】バス1は各々独立したアドレスバス3とデ
ータバス4とからなり、データバス4の幅は16ビット
でデータ転送はシングル転送のみが可能である。バス2
はコマンドアドレスとデータを時分割で使用するバスで
32ビットデータ幅で4回の連続転送が可能であり、メ
モリ7が接続されている。I/Oボード51 、52
…、5n はバス1に接続されており、メモリ7にメモリ
リードしようとするときはメモリリードコマンド信号9
とバスリクエスト信号121 、122 、…、12 n を発
行しバス1のバス使用権を獲得してビジー信号10を出
力し、アドレスバス3にアドレスを出力する。I/Oボ
ード51 、52 …、5n はさらにDMAによるデータ転
送であればDMAサイクル信号11をアクティブする。
バス変換機能6はバス変換部81 、82 、…、8n を備
えている。バス変換部81 、82 、…、8n はそれぞれ
対応するI/Oボード51、52 、…、5n とチャンネ
ルを形成しており、データレジスタ13とアドレスレジ
スタ14とバス変換レジスタ15とレジスタ制御回路1
6を備え、I/Oボード51 、52 、…、5nからのメ
モリリードコマンド信号9とバスリクエスト信号12
1 、122 、…、12nを受けて選択される。各バス変
換部81 、82 、…、8n 内での処理は次の通りであ
る。
The bus 1 and the address bus 3 are independent from each other.
Data bus 4 has a width of 16 bits.
Therefore, only single transfer is possible for data transfer. Bus 2
Is a bus that uses command addresses and data in a time division
With 32-bit data width, 4 consecutive transfers are possible.
Memory 7 is connected. I / O board 51 5,2 ,
... 5n Is connected to bus 1 and memory 7
When trying to read, the memory read command signal 9
And bus request signal 121 , 122 , ..., 12 n From
Go out and get the right to use bus 1 and issue a busy signal 10
And outputs the address to the address bus 3. I / O
Card 51 5,2 ... 5n Data transfer by DMA
If it is a transmission, the DMA cycle signal 11 is activated.
The bus conversion function 6 is a bus conversion unit 81 , 82 , ..., 8n Equipped
I am. Bus converter 81 , 82 , ..., 8n Are each
Corresponding I / O board 515,2 , ... 5n And channel
And the data register 13 and the address register.
Star 14, bus conversion register 15, and register control circuit 1
6 equipped with I / O board 51 5,2 , ... 5nFrom
Memory read command signal 9 and bus request signal 12
1 , 122 , ..., 12nWill be selected. Each bus strange
Exchange section 81 , 82 , ..., 8n The processing inside is as follows.
It

【0011】データレジスタ13には、メモリリード時
にバス2を通してメモリ7から読み出されたデータが格
納される。アドレスレジスタ14にはメモリリード時に
バス1のアドレスバス3がバス2を通してメモリ7をア
クセスしたアドレスが格納される。バス変換レジスタ1
5はメモリ7からバス2を通して読み出されデータレジ
スタ13に格納されたデータのバスサイズをバス1のデ
ータバス4のバスサイズに変換する。レジスタ制御回路
16は対応するI/Oボード51 、52 、…、5n から
ビジー信号10とアドレスバス3を通してアドレスを受
けると、DMAサイクル信号11がディセーブル状態で
あれば受けたアドレスをそのままバス2の規格に変換し
てメモリ7に出力して該当するアドレスのデータを転送
させる。また、DMAサイクル信号11がイネーブル状
態の時は比較した結果、アドレスバス3からのアドレス
がデータレジスタ13に格納されている範囲外のアドレ
ス誤差があれば、バス2に対するリードコマンドを生成
しアドレスバス3からのアドレスをバス2の規格に変換
しバス2を通してメモリ7から該当するアドレスのデー
タを連続転送させ、データレジスタ13へは1から順に
4回転送分格納する。そしてアドレスレジスタ14の内
容をこの時のアドレスに更新させておく。レジスタ制御
回路16はデータが格納されたデータレジスタ13から
バス1へ出力する為の指定されたデータをデータレジス
タセレクト信号17でセレクトしバス変換レジスタ15
へ送りバス1のデータバス4のバスサイズに変換させそ
のデータをバス1のデータバス4へ出す。次に、レジス
タ制御回路16は、アドレスバス3から送られたアドレ
スとアドレスレジスタ14の内容を比較した結果データ
レジスタ13に格納されている範囲内の誤差ならばデー
タレジスタセレクト信号17でデータレジスタ13から
指定されたデータをセレクトしバス変換レジスタ15へ
送ってデータバス4のバスサイズに変換したのちバス1
のデータバス4ヘ出力する。
The data register 13 stores the data read from the memory 7 through the bus 2 when the memory is read. The address register 14 stores the address at which the address bus 3 of the bus 1 accesses the memory 7 through the bus 2 when reading the memory. Bus conversion register 1
Reference numeral 5 converts the bus size of the data read from the memory 7 through the bus 2 and stored in the data register 13 into the bus size of the data bus 4 of the bus 1. When the register control circuit 16 receives an address from the corresponding I / O board 5 1 , 5 2 , ..., 5 n through the busy signal 10 and the address bus 3, it receives the received address if the DMA cycle signal 11 is disabled. As it is, it is converted to the standard of the bus 2 and output to the memory 7 to transfer the data of the corresponding address. When the DMA cycle signal 11 is enabled, as a result of comparison, if there is an address error outside the range where the address from the address bus 3 is stored in the data register 13, a read command for the bus 2 is generated and the address bus is generated. The address from No. 3 is converted into the standard of the bus 2, the data of the corresponding address is continuously transferred from the memory 7 through the bus 2, and the data register 13 is sequentially stored from 1 to 4 times. Then, the contents of the address register 14 are updated to the address at this time. The register control circuit 16 selects the designated data for outputting to the bus 1 from the data register 13 in which the data is stored by the data register select signal 17 to select the bus conversion register 15
To the data size of the data bus 4 of the bus 1 and outputs the data to the data bus 4 of the bus 1. Next, the register control circuit 16 compares the address sent from the address bus 3 with the contents of the address register 14, and if the error is within the range stored in the data register 13, the data register select signal 17 is used to output the data register 13 Selects the data specified from to send it to the bus conversion register 15 and converts it to the bus size of the data bus 4 and then the bus 1
To the data bus 4 of.

【0012】また、レジスタ制御回路6では常にバス2
に接続されているボード(不図示)がメモリアクセスし
たときの状態を監視しており、データレジスタ13に格
納している範囲内のアドレスでメモリライトのコマンド
が発行されているのを検出すると、アドレスレジスタ1
4をイニシャライズしてデータレジスタ13の内容を無
効にする。
In the register control circuit 6, the bus 2 is always used.
When the board (not shown) connected to is monitoring the memory access state and detects that the memory write command is issued at an address within the range stored in the data register 13, Address register 1
4 is initialized to invalidate the contents of the data register 13.

【0013】次に、レジスタ制御回路16におけるアド
レス比較について説明する。まず比較するアドレスは下
位4ビット以外のアドレスである。バス2は32ビット
(4バイト)であり1度に4回分(16バイト)転送を
するのでアドレスバス3の下位4ビットを見る必要はな
く、下位4ビット以外の比較で一致すれば、データレジ
スタセレクト信号17を下位4ビットで生成する。図3
に示すように、下位4ビットの内の上位2ビット(A
3、A2)のアドレスの比較で4個ある32ビットデー
タレジスタ13の内斜線で示された1個を選択する。図
3(a)のように、A3=0、A2=0の時は1を選択
し、図3(b)のように、A3=0、A2=1の時は#
2を選択し、図3(c)のように、A3=1、A2=0
の時は#3を選択し、図3(d)のように、A3=1、
A2=1の時#4を選択する。次に、セレクトされたデ
ータレジスタ13を下位2ビット(A1、A0)のアド
レスで選択しバス1のデータバス4のバスサイズに変換
する。図4(a)のように、A1=1、A0=0の時は
上位2バイト、図4(b)のように、A1=0、A0=
0の時は下位2バイトのデータをバス変換レジスタ15
へ出力しバス1のデータバス4へ出力する。図4(c)
のように、A1=1、A0=1の時は上位2バイトの内
の上位1バイト、図4(d)のように、A1=0、A0
=1の時は下位2バイトの内の上位1バイトをバス変換
レジスタ15の下位バイト側にデータを送り、上位バイ
ト側は前のデータのままバス1のデータバス4に出力す
る。
Next, the address comparison in the register control circuit 16 will be described. First, the addresses to be compared are addresses other than the lower 4 bits. Bus 2 is 32 bits (4 bytes) and transfers 4 times (16 bytes) at a time, so it is not necessary to look at the lower 4 bits of address bus 3, and if there is a match other than the lower 4 bits, the data register The select signal 17 is generated by the lower 4 bits. Figure 3
As shown in, the upper 2 bits (A
The three 32-bit data registers 13 are selected by comparing the addresses 3 and A2). As shown in FIG. 3A, 1 is selected when A3 = 0 and A2 = 0, and when A3 = 0 and A2 = 1 as shown in FIG.
2 is selected, and A3 = 1 and A2 = 0 as shown in FIG.
In case of, # 3 is selected, and as shown in FIG. 3D, A3 = 1,
When A2 = 1, # 4 is selected. Next, the selected data register 13 is selected by the address of the lower 2 bits (A1, A0) and converted into the bus size of the data bus 4 of the bus 1. As shown in FIG. 4A, the upper 2 bytes when A1 = 1 and A0 = 0, and as shown in FIG. 4B, A1 = 0 and A0 =
When it is 0, the lower 2 bytes of data are transferred to the bus conversion register 15
To the data bus 4 of the bus 1. Figure 4 (c)
As shown in FIG. 4A, when A1 = 1 and A0 = 1, the upper 1 byte of the upper 2 bytes is A1 = 0, A0 as shown in FIG.
When = 1, the upper 1 byte of the lower 2 bytes is sent to the lower byte side of the bus conversion register 15, and the upper byte side outputs the previous data as it is to the data bus 4 of the bus 1.

【0014】バス1のデータバス4を通して送られてき
たデータはI/Oボード51 、52、…5n 側で必要に
応じて16ビット全てか下位8ビットのデータがボード
内に引き取られる。
As for the data sent through the data bus 4 of the bus 1, all 16 bits or lower 8 bits of data are taken into the board on the side of the I / O boards 5 1 , 5 2 , ... 5 n as required. ..

【0015】上記の処理を行うことによって、例えばバ
ス1に接続されるI/Oボード51と52 がDMAによ
るメモリリードのデータ転送を同時に行おうとしている
場合、バス1を交互にアクセスしてもデータレジスタ1
3を各I/Oボードごとに独立して持っているために、
I/Oボード51 がメモリリードした後にI/Oボード
2 がメモリリードしてもI/Oボード51 のデータレ
ジスタ13は中身を破壊されることなく、I/Oボード
5が、再度メモリリードしたときにアドレスレジスタ1
3に格納されている範囲内のアドレスであればデータレ
ジスタ13からデータを引き取ることが出来るので、メ
モリリード時のバス2のバス占有率を下げることができ
る。すなわち、本実施例ではバス2の1回のメモリリー
ド転送でバス1の1回から最大16回分のデータ転送が
でき、バス1とバス2のデータ転送能力の相異から、バ
ス2もバス1と同等のシングル転送しかできなかったこ
とによる効率不良も解消される。
By performing the above processing, for example, when the I / O boards 5 1 and 5 2 connected to the bus 1 are simultaneously trying to transfer the data of the memory read by the DMA, the bus 1 is alternately accessed. Even data register 1
In order to have 3 independently for each I / O board,
Without the I / O board 5 2 data register 13 also the I / O board 5 1 and memory read is being destroyed contents after the I / O board 5 1 has a memory read, I / O board 5 is, again Address register 1 when memory is read
Since the data can be fetched from the data register 13 if the address is within the range stored in 3, it is possible to reduce the bus occupation rate of the bus 2 at the time of memory read. That is, in this embodiment, one memory read transfer of the bus 2 can transfer data from one time of the bus 1 to a maximum of 16 times. Due to the difference in the data transfer capacities of the bus 1 and the bus 2, the bus 2 and the bus 1 are also different. The inefficiency due to the fact that only single transfer equivalent to the above was possible is also eliminated.

【0016】[0016]

【発明の効果】以上説明したように本発明は、バスサイ
ズの小さい第1のバスが、メモリの接続されている第1
のバスよりバスサイズの大きい第2のバスにDMA転送
による連続したアドレスのメモリリードを行ったときに
第2のバスを通じて各チャンネルごとにデータレジスタ
にデータを、またアドレスレジスタにアドレスを保持さ
せ、第1のバスがメモリリードのデータ転送を1ワード
もしくは1バイトごとの転送をするたびに第2のバスの
獲得要求を出しバスをアクセスせずに目的のアドレスで
あれば前記データレジスタへアクセスして格納されてい
るデータを引き取ることにより、メモリリード時の第2
のバスのバス占有率を下げることができ、第1のバスが
データのシングル転送しかできないので、第2のバスが
連続転送が可能であるにも拘らず、データのシングル転
送しかできなかったことによる効率不良も解消されると
いう効果がある。
As described above, according to the present invention, the first bus having a small bus size is the first bus to which the memory is connected.
When a memory read of continuous addresses by DMA transfer is performed to a second bus having a bus size larger than that of the above bus, the data register and the address register hold the data for each channel through the second bus, Whenever the first bus transfers the memory read data by one word or one byte, the second bus acquisition request is issued and the data register is accessed if the target address is reached without accessing the bus. By reading the data stored in
Since the bus occupancy rate of the second bus can be reduced and the first bus can only perform single transfer of data, the second bus can only perform single transfer of data, while the second bus can perform continuous transfer of data. This has the effect of eliminating the inefficiency due to.

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

【図1】本発明の情報処理装置の一実施例のブロック図
である。
FIG. 1 is a block diagram of an embodiment of an information processing apparatus of the present invention.

【図2】図1のバス変換部81 、82、…、8n のブロッ
ク図である。
FIG. 2 is a block diagram of bus conversion units 8 1 , 8 2, ..., 8 n shown in FIG.

【図3】図2のデータレジスタ13の詳細図である。FIG. 3 is a detailed diagram of a data register 13 in FIG.

【図4】図2のバス変換レジスタ15におけるバスサイ
ズ変換を示す図である。
4 is a diagram showing bus size conversion in the bus conversion register 15 of FIG.

【図5】情報処理装置の従来例のブロック図である。FIG. 5 is a block diagram of a conventional example of an information processing apparatus.

【図6】図5の情報処理装置におけるバスサイズ変換を
示す図である。
6 is a diagram showing bus size conversion in the information processing apparatus of FIG.

【符号の説明】[Explanation of symbols]

1、2 バス 3 アドレスバス 4 データバス 51 、52 、…、5n I/Oボード 6 バス変換機能 7 メモリ 81 、82 、…、8n バス変換部 9 メモリリードコマンド信号 10 ビジー信号 11 DMAサイクル信号 121 、122 、…、12n バスリクエスト信号 13 データレジスタ 14 アドレスレジスタ 15 バス変換レジスタ 16 レジスタ制御回路 17 データレジスタセレクト信号1, 2 bus 3 address bus 4 data bus 5 1 , 5 2 , ..., 5 n I / O board 6 bus conversion function 7 memory 8 1 , 8 2 , ..., 8 n bus conversion unit 9 memory read command signal 10 busy Signal 11 DMA cycle signal 12 1 , 12 2 , ..., 12 n Bus request signal 13 Data register 14 Address register 15 Bus conversion register 16 Register control circuit 17 Data register select signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データのシングル転送のみが可能な第1
のバスに接続されているI/Oボードから受けたリード
アクセスのためのアドレスを、データの連続転送が可能
で第1のバスのバスサイズより大きいバスサイズをもつ
第2のバスに接続されているメモリへ第2のバスの規格
に変換して出力し、前記メモリより読み出したデータの
うち、指定されたデータを第1のバスのバスサイズに変
換して前記O/Iボードに出力するバス変換機能を有す
る情報処理装置において、 前記バス変換機能は、 前記I/Oボードが前記メモリへリードアクセスしよう
としたときのアドレスを保持するアドレスレジスタと、 前記メモリより読み出されたデータが格納されるアドレ
スレジスタと、 前記データレジスタに格納されたデータのバスサイズを
第1のバスのバスサイズに変換するバス変換レジスタ
と、 前記I/Oボードが第1のバスを通してダイレクトメモ
リアクセスによる前記メモリへのメモリリードをしよう
としたとき、前記I/Oボードからのアドレスを前記ア
ドレスレジスタに格納されているアドレスと比較し、前
記データレジスタに格納されている範囲外のアドレスで
あれば該アドレスを第2のバスの規格に合わせて前記メ
モリにリードアクセスして連続転送を行ない、メモリか
ら読み出したデータを前記データレジスタへ格納すると
ともに前記アドレスレジスタの内容をアクセスしたアド
レスに更新し、次に前記I/Oボードからメモリリード
アクセスを受けたとき、第1のバスを通して送られてき
たアドレスと前記アドレスレジスタに格納されているア
ドレスを比較して、データレジスタに格納されている範
囲内のアドレスであれば、前記データレジスタから該当
するアドレスのデータをセレクトして前記バス変換レジ
スタにより第1のバスのバスサイズにサイズを変換して
I/Oボード側に送出し、かつ第2のバスをコマンド監
視して前記データレジスタに格納されている範囲内のア
ドレスでメモリライトアクセスがあれば前記データレジ
スタ内部のデータを無効にするレジスタ制御回路とを含
む、前記I/Oボードに対応して設けられたバス変換部
を有することを特徴とする情報処理装置。
1. A first device capable of performing only a single transfer of data.
The address for read access received from the I / O board connected to the first bus is connected to the second bus which has a bus size larger than the first bus and capable of continuous data transfer. A bus for converting the specified data out of the data read from the memory into the bus size of the first bus and outputting the converted data to the O / I board. In the information processing device having a conversion function, the bus conversion function stores an address register that holds an address when the I / O board attempts read access to the memory, and data read from the memory. An address register for converting the bus size of the data stored in the data register to the bus size of the first bus; When the I / O board attempts to read a memory into the memory by direct memory access through the first bus, the address from the I / O board is compared with the address stored in the address register to obtain the data. If the address is out of the range stored in the register, the address is read-accessed to the memory according to the standard of the second bus for continuous transfer, and the data read from the memory is stored in the data register. When the contents of the address register are updated to the accessed address and the memory read access is received from the I / O board next, the address sent through the first bus and the address stored in the address register are updated. Compare and compare with an address within the range stored in the data register. For example, the data at the corresponding address is selected from the data register, the size is converted to the bus size of the first bus by the bus conversion register, the size is sent to the I / O board side, and the second bus is command monitored. And a register control circuit that invalidates the data in the data register if there is a memory write access at an address within the range stored in the data register, and is provided corresponding to the I / O board. An information processing device having a bus converter.
JP28804891A 1991-11-01 1991-11-01 Information processor Pending JPH05128048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28804891A JPH05128048A (en) 1991-11-01 1991-11-01 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28804891A JPH05128048A (en) 1991-11-01 1991-11-01 Information processor

Publications (1)

Publication Number Publication Date
JPH05128048A true JPH05128048A (en) 1993-05-25

Family

ID=17725163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28804891A Pending JPH05128048A (en) 1991-11-01 1991-11-01 Information processor

Country Status (1)

Country Link
JP (1) JPH05128048A (en)

Similar Documents

Publication Publication Date Title
US6189062B1 (en) Apparatus and method for address translation in bus bridge devices
US7814257B2 (en) Data transfer apparatus and data transfer method
JPS62120574A (en) Vector processor
KR920010977B1 (en) Memory bus architecture
JPH05128048A (en) Information processor
JP3620173B2 (en) Address conversion circuit and multiprocessor system
JP2534321B2 (en) Data transfer control method and apparatus
JPH0140432B2 (en)
JP3145765B2 (en) Information processing device
JP2594919B2 (en) Logic LSI
JPH04348442A (en) Address converter
JPH05189311A (en) Cache memory system
KR100268178B1 (en) A caching unit on the pci bus
JPS61188656A (en) Memory access device
JP2696899B2 (en) Multiprocessor system
JPH04352267A (en) Information processor
JP2581484B2 (en) Data processing system
JP2789906B2 (en) MPU peripheral device
JPH09269890A (en) Endian conversion system
JPH04337851A (en) Memory access system
JPH1196103A (en) I/o controller with memory monitoring function
JPH0223059B2 (en)
JPH07210498A (en) Bus arbiter
JPH01315849A (en) Information processor
JPH0962562A (en) Processing circuit for memory