JPH06314252A - Data transfer system - Google Patents
Data transfer systemInfo
- Publication number
- JPH06314252A JPH06314252A JP10526793A JP10526793A JPH06314252A JP H06314252 A JPH06314252 A JP H06314252A JP 10526793 A JP10526793 A JP 10526793A JP 10526793 A JP10526793 A JP 10526793A JP H06314252 A JPH06314252 A JP H06314252A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data transfer
- cpu
- bus
- buffer
- 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
Links
Landscapes
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Abstract
(57)【要約】
【目的】CPUからI/Oへのデ−タ転送性能向上を図
ると共に、I/Oバスの利用効率向上を図る。
【構成】本発明は、CPU1と、I/Oバス制御機構2
と、I/O−3からなる情報処理装置において、I/O
バス制御機構2は、デ−タバッファ6と、デ−タ転送起
動フラグ7とを有しており、CPU1からI/O−3へ
のデ−タ転送に際し、一旦、デ−タバッファ6にデ−タ
を蓄え、デ−タ転送起動フラグ7へのアクセスで、デ−
タバッファ6からI/O−3へ、I/Oバス5のバ−ス
ト転送機能を使用してデ−タ転送を行う。
【効果】本発明によれば、I/Oバスのバ−スト転送機
能を有効に活用して、CPUからI/Oへのデ−タ転送
を行うことができ、デ−タ転送速度の向上を図ることが
できる。また、バ−スト転送を使用することで、単位デ
−タ転送あたりのバス占有時間を削減することができ、
I/Oバスの利用効率を向上することができる。
(57) [Abstract] [Purpose] To improve the data transfer performance from the CPU to the I / O and to improve the utilization efficiency of the I / O bus. [Structure] The present invention comprises a CPU 1 and an I / O bus control mechanism 2.
And an information processing device including I / O-3,
The bus control mechanism 2 has a data buffer 6 and a data transfer start flag 7, and temporarily transfers data to the data buffer 6 when transferring data from the CPU 1 to the I / O-3. Data is stored, and when the data transfer start flag 7 is accessed, the data is transferred.
Data is transferred from the data buffer 6 to the I / O-3 by using the burst transfer function of the I / O bus 5. According to the present invention, the burst transfer function of the I / O bus can be effectively utilized to perform data transfer from the CPU to the I / O, thus improving the data transfer speed. Can be achieved. In addition, by using burst transfer, the bus occupation time per unit data transfer can be reduced,
The utilization efficiency of the I / O bus can be improved.
Description
【0001】[0001]
【産業上の利用分野】本発明は、情報処理システムにお
けるデ−タ転送方式に係り、特にCPUからI/Oへの
バ−スト転送を使用し、高速デ−タ転送を可能にするデ
−タ転送方式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer system in an information processing system, and more particularly, it uses burst transfer from CPU to I / O to enable high speed data transfer. Data transfer method.
【0002】[0002]
【従来の技術】一般に、情報処理システムにおけるCP
UからI/Oへのデ−タアクセスは、ワ−ドと呼ばれる
CPUの取り扱う基本デ−タ長単位または、その部分長
単位で行われる。例えば32ビットマイクロプロセッサ
の場合は、その基本処理デ−タ長である32ビット(4
バイト)または、16ビット(2バイト)、8ビット
(1バイト)単位でI/Oへのデ−タアクセスが行われ
るのが普通である。2. Description of the Related Art Generally, a CP in an information processing system
Data access from the U to the I / O is performed in a basic data length unit handled by a CPU called a word or a partial length unit thereof. For example, in the case of a 32-bit microprocessor, the basic processing data length of 32 bits (4
In general, data access to I / O is performed in units of 16 bytes (2 bytes) or 8 bits (1 byte).
【0003】一方、I/Oが接続されるI/Oバスにお
いては、デ−タ転送処理速度の向上および、I/Oバス
利用効率の向上を目的とし、I/Oバスのデ−タ幅以上
のデ−タを1バスサイクルで転送するバ−スト転送機能
を有することが可能である。On the other hand, in the I / O bus to which the I / O is connected, the data width of the I / O bus is used for the purpose of improving the data transfer processing speed and improving the I / O bus utilization efficiency. It is possible to have a burst transfer function for transferring the above data in one bus cycle.
【0004】このバ−スト転送はバスサイクル中でバス
幅より大きなサイズのデ−タをバス幅単位に分割して連
続的に転送する方式である。This burst transfer is a method in which data having a size larger than the bus width is divided into bus width units and continuously transferred in a bus cycle.
【0005】[0005]
【発明が解決しようとする課題】前述した従来技術は、
CPUからI/Oへのデ−タ転送においては、CPUバ
スのデ−タを転送する単位が決定されているので、CP
Uの基本処理デ−タ長を超えるデ−タ長のデ−タ転送は
行えず、I/Oバスのバ−スト転送機能を有効に活用で
きないという問題点があった。DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In the data transfer from the CPU to the I / O, the unit for transferring the data of the CPU bus is determined, so CP
There is a problem that data transfer with a data length exceeding the basic processing data length of U cannot be performed, and the burst transfer function of the I / O bus cannot be effectively utilized.
【0006】本発明は上記に鑑みて成されたもので、そ
の目的とするところは、CPUからI/Oへのデ−タ転
送においても、I/Oバスのバ−スト転送機能を有効に
活用できるようにし、CPUからI/Oへのデ−タ転送
速度を向上するとともに、I/Oバスの利用効率を向上
することにある。The present invention has been made in view of the above, and an object thereof is to effectively use the burst transfer function of the I / O bus even in the data transfer from the CPU to the I / O. The purpose is to improve the data transfer speed from the CPU to the I / O and to improve the utilization efficiency of the I / O bus.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
本発明においては、CPUとI/O間のバス制御を行な
うI/Oバス制御機構に、CPUからI/Oへの最大デ
−タ転送サイズより大きいデ−タバッファと、I/Oへ
のデ−タ転送起動指示を行うためのデ−タ転送起動フラ
グとを設け、CPUからI/Oへデ−タ転送を行う場合
に、先ずCPUからI/Oへのデ−タ転送サイズ単位で
前記I/Oバス制御機構中のデ−タバッファにデ−タ転
送を行い、その後デ−タ転送起動フラグにアクセスする
ことで、前記デ−タバッファからI/Oへのデ−タ転送
を行うことにより達成できる。In order to achieve the above object, in the present invention, an I / O bus control mechanism for controlling the bus between the CPU and the I / O is provided with maximum data from the CPU to the I / O. When a data buffer larger than the transfer size and a data transfer activation flag for instructing the data transfer activation to the I / O are provided and data is transferred from the CPU to the I / O first, The data is transferred to the data buffer in the I / O bus control mechanism in units of data transfer size from the CPU to the I / O, and then the data transfer start flag is accessed to access the data. This can be achieved by transferring data from the data buffer to I / O.
【0008】[0008]
【作用】上記、デ−タバッファのサイズをI/Oバスの
バ−スト転送サイズとすることにより、デ−タ転送起動
フラグへのアクセスで、デ−タバッファ中のデ−タをI
/Oバスのバ−スト転送機能を用いてI/Oに転送する
ことが可能となり、CPUからI/Oへのデ−タ転送速
度を向上するとともに、I/Oバスの利用効率を向上す
ることができる。By setting the size of the data buffer to the burst transfer size of the I / O bus, the data transfer start flag is accessed to transfer the data in the data buffer to the I / O bus.
It becomes possible to transfer to the I / O using the burst transfer function of the I / O bus, which improves the data transfer speed from the CPU to the I / O and improves the utilization efficiency of the I / O bus. be able to.
【0009】また、前記デ−タバッファを複数個持つと
ともに、次にデ−タ転送を行うバッファがどれであるか
を示すデ−タバッファ指示フラグとを有し、CPUから
デ−タバッファへのアクセスが発生すると前記デ−タバ
ッファ指示フラグが示すデ−タバッファへ書き込み、デ
−タ転送起動フラグへのアクセスが発生すると、前記デ
−タバッファ指示フラグが示すデ−タバッファの内容を
I/Oに転送するとともに、前記デ−タバッファ指示フ
ラグの値を更新し、次のデ−タバッファを差し示すよう
に更新するようにすれば、デ−タバッファから、I/O
へのデ−タ転送中であっても、CPUから他のデ−タバ
ッファへのデ−タの格納が可能となり、CPUデ−タ処
理効率の向上も図ることができる。In addition to having a plurality of the data buffers, and having a data buffer instruction flag indicating which buffer is to perform the next data transfer, the CPU can access the data buffers. When it occurs, it writes to the data buffer indicated by the data buffer instruction flag, and when the access to the data transfer start flag occurs, the contents of the data buffer indicated by the data buffer instruction flag are transferred to the I / O and If the value of the data buffer instruction flag is updated and the next data buffer is updated as indicated, the I / O from the data buffer is changed.
Data can be stored in another data buffer from the CPU even during data transfer to the CPU, and the efficiency of CPU data processing can be improved.
【0010】更に、前記デ−タ転送起動フラグへのアク
セスによって起動されるデ−タバッファからI/Oへの
デ−タ転送サイクルに関し、サイクル開始後規定時間以
内にI/Oからデ−タ受け取り可能状態の通知を受けた
場合は、デ−タ転送を継続し、規定時間以内にI/Oか
らデ−タ受け取り可能状態の通知がない場合は、当該デ
−タ転送サイクルを中止するように制御すると共に、前
記デ−タ転送起動フラグへのアクセスをリ−ドアクセス
とし、前記デ−タ受け取り可能状態通知の有無を、当該
デ−タ転送起動フラグへのリ−ドアクセスに対するリ−
ドデ−タとして応答するようにしておけば、デ−タ転送
起動前にI/Oがデ−タを受け取れる状態であるかどう
かをチェックする必要がなくなり、CPUからI/Oへ
のデ−タ転送速度を向上することができる。Further, regarding the data transfer cycle from the data buffer to the I / O which is started by accessing the data transfer start flag, the data is received from the I / O within a specified time after the start of the cycle. When the notification of the available status is received, the data transfer is continued, and when the notification of the ready status of the data is not received from the I / O within the specified time, the data transfer cycle is stopped. In addition to the control, the access to the data transfer start flag is set as a read access, and the presence or absence of the data receivable state notification is read for the read access to the data transfer start flag.
By responding as data, it is not necessary to check whether or not the I / O is ready to receive the data before starting the data transfer, and the data from the CPU to the I / O is not required. The data transfer rate can be improved.
【0011】[0011]
【実施例】以下、本発明の実施例を図面を用いて説明す
る。Embodiments of the present invention will be described below with reference to the drawings.
【0012】図1は、本発明によるデ−タ転送方式の一
実施例を示す第1の概略構成図であり、図2は、図1に
おけるCPU1からI/O−3への動作を表すタイミン
グ図である。FIG. 1 is a first schematic block diagram showing an embodiment of a data transfer system according to the present invention, and FIG. 2 is a timing showing an operation from the CPU 1 to the I / O-3 in FIG. It is a figure.
【0013】図1において、1はCPU、2はI/Oバ
ス制御機構、3はI/O、4はCPU1とI/Oバス制
御機構2とを接続するCPUバス、5はI/Oバス制御
機構2とI/O−3とを接続するI/Oバスを示し、I
/Oバス制御機構2の内、6はデ−タバッファ、7はデ
−タ転送起動フラグ、8はI/Oバス出力デ−タバッフ
ァ、9はアドレスバッファ、10はCPUバス制御回
路、11はI/Oバス制御回路を示している。In FIG. 1, 1 is a CPU, 2 is an I / O bus control mechanism, 3 is I / O, 4 is a CPU bus connecting the CPU 1 and the I / O bus control mechanism 2, and 5 is an I / O bus. An I / O bus connecting the control mechanism 2 and the I / O-3 is shown.
In the / O bus control mechanism 2, 6 is a data buffer, 7 is a data transfer start flag, 8 is an I / O bus output data buffer, 9 is an address buffer, 10 is a CPU bus control circuit, and 11 is I. The / O bus control circuit is shown.
【0014】本実施例では、CPUバス4は、32ビッ
トのCPUバスデ−タ線12と、32ビットのCPUバ
スアドレス線13、およびCPUバスのデ−タ転送サイ
クルの種別、タイミング等を表すCPUバス制御線14
とを有する。また、I/Oバスは、32ビットのI/O
バスデ−タ線26、32ビットのI/Oバスアドレス線
27、I/Oバスのデ−タ転送サイクルの種別、タイミ
ング等を表すI/Oバス制御線28とを有する。デ−タ
バッファは、32バイト長であり、デ−タバッファへの
アクセスは、4バイト単位で可能である。In this embodiment, the CPU bus 4 is a CPU that represents the 32-bit CPU bus data line 12, the 32-bit CPU bus address line 13, and the type and timing of the data transfer cycle of the CPU bus. Bus control line 14
Have and. The I / O bus is a 32-bit I / O.
It has a bus data line 26, a 32-bit I / O bus address line 27, and an I / O bus control line 28 showing the type and timing of the data transfer cycle of the I / O bus. The data buffer has a length of 32 bytes, and access to the data buffer is possible in units of 4 bytes.
【0015】以下、図2を用いて、図1におけるCPU
1からがI/O−3へのデ−タ転送を詳細に説明する。The CPU in FIG. 1 will be described below with reference to FIG.
The data transfer from 1 to I / O-3 will be described in detail.
【0016】CPU1は、デ−タバッファ6に4バイト
(32ビット)単位で転送デ−タの書き込みを行う。こ
れは、CPUバスに対して、図2に示す4バイトライト
サイクル−29a、29b、29cを8回起動すること
で行われる。この時、CPUバス制御回路10は、CP
Uバス4のCPUバスアドレス線13およびCPUバス
制御線14の情報からデ−タバッファ6の内、現在ライ
トサイクルの対象となっている4バイトに対し、デ−タ
書き込みパルス信号15を出力し、CPUバスデ−タ線
12のデ−タがデ−タバッファ6に書き込まれる。The CPU 1 writes transfer data in the data buffer 6 in units of 4 bytes (32 bits). This is performed by activating the 4-byte write cycle -29a, 29b, 29c shown in FIG. 2 eight times to the CPU bus. At this time, the CPU bus control circuit 10
From the information of the CPU bus address line 13 and the CPU bus control line 14 of the U bus 4, the data write pulse signal 15 is output to the 4 bytes currently in the write cycle in the data buffer 6. The data of the CPU bus data line 12 is written in the data buffer 6.
【0017】次にCPU1は、デ−タ転送起動フラグ7
に対して図2のフラグアクセス30を行う。CPUバス
制御回路10は、デ−タバッファ6への書き込み時と同
様に、CPUバス4の情報から、デ−タ転送起動フラグ
7への書き込みパルス信号16を出力する。本実施例で
は、デ−タ転送起動フラグ7は1ビットであり、CPU
バスデ−タ線12の最下位ビットの値が書き込まれるも
のとし、本値が1の時、デ−タ転送の起動が行われるも
のとする。デ−タ転送起動フラグ7の値が1となると、
その出力デ−タ18はI/Oバス制御回路11に伝達さ
れる。I/Oバス制御回路11は、I/Oバスデ−タバ
ッファ8へのライトパルス信号19を出力し、デ−タバ
ッファ6に格納された32バイトのデ−タが、I/Oバ
スデ−タバッファ8に転送される。Next, the CPU 1 sends the data transfer start flag 7
The flag access 30 shown in FIG. The CPU bus control circuit 10 outputs the write pulse signal 16 to the data transfer start flag 7 from the information of the CPU bus 4 as in the case of writing to the data buffer 6. In this embodiment, the data transfer start flag 7 is 1 bit, and the CPU
The value of the least significant bit of the bus data line 12 is written, and when this value is 1, the data transfer is started. When the value of the data transfer start flag 7 becomes 1,
The output data 18 is transmitted to the I / O bus control circuit 11. The I / O bus control circuit 11 outputs a write pulse signal 19 to the I / O bus data buffer 8, and the 32 bytes of data stored in the data buffer 6 are transferred to the I / O bus data buffer 8. Transferred.
【0018】次に、I/Oバス制御回路11は、I/O
バス5に対し、図2に示す32バイトバ−スト転送31
を起動する。この時、I/Oバス制御線28には32バ
イトバ−スト転送を示す信号が出力され、I/Oバスデ
−タ線26にはI/Oバスデ−タバッファ8のデ−タ
が、4バイト単位で連続に出力される。これは、I/O
バスデ−タバッファ出力信号用セレクタ20および、I
/Oバスデ−タ出力信号用セレクタ21を、セレクト信
号23、24を用いて制御することにより行われる。ま
た、I/Oバスアドレス線27には、アドレスバッファ
9に格納されたアドレス情報が出力される。これは、ア
ドレス用セレクタ22をセレクト信号25を用いて制御
することにより行われる。なお、アドレスバッファ9の
内容は、CPU1から設定可能としても良いし、予め固
定値が格納されていても良い。Next, the I / O bus control circuit 11 operates the I / O bus.
A 32-byte burst transfer 31 shown in FIG.
To start. At this time, a signal indicating 32-byte burst transfer is output to the I / O bus control line 28, and the data of the I / O bus data buffer 8 is output to the I / O bus data line 26 in units of 4 bytes. Is output continuously. This is I / O
Bus data buffer output signal selector 20 and I
This is performed by controlling the selector 21 for the / O bus data output signal using the select signals 23 and 24. The address information stored in the address buffer 9 is output to the I / O bus address line 27. This is done by controlling the address selector 22 using the select signal 25. The content of the address buffer 9 may be set by the CPU 1 or a fixed value may be stored in advance.
【0019】なお、本実施例では、デ−タ転送起動フラ
グ7はフリップフロップ等のデ−タ保持手段で実現され
るが、デ−タ転送起動フラグ7のアドレスのみを規定し
ておき、当該アドレスへのアクセスが発生した際、CP
Uバス制御回路10がI/Oバス制御回路11に対し、
デ−タ転送起動信号17を出力するように構成しても良
い。In this embodiment, the data transfer start flag 7 is realized by a data holding means such as a flip-flop, but only the address of the data transfer start flag 7 is specified and When access to the address occurs, CP
The U bus control circuit 10 is
The data transfer start signal 17 may be output.
【0020】以上説明したように、本実施例によれば、
CPU1からI/O−3にデ−タ転送を行う際、一旦デ
−タバッファ6に転送デ−タを格納し、この後、デ−タ
転送起動フラグ7にアクセスすることにより、I/Oバ
ス5のバ−スト転送機能を使用してデ−タ転送を行うこ
とができるので、高速なデ−タ転送が行えると共に、I
/Oバスの利用効率の向上を図ることができる。As described above, according to this embodiment,
When data is transferred from the CPU 1 to the I / O-3, the transfer data is temporarily stored in the data buffer 6 and then the data transfer start flag 7 is accessed to access the I / O bus. Since the data transfer can be performed by using the burst transfer function of No. 5, the high speed data transfer can be performed and the I
The utilization efficiency of the / O bus can be improved.
【0021】図3は、本発明によるデ−タ転送方式の一
実施例を示す第2の概略構成図である。FIG. 3 is a second schematic block diagram showing an embodiment of the data transfer system according to the present invention.
【0022】図3において、32は2個のデ−タバッフ
ァ6a、6bに対しどちらのデ−タバッファを使用する
かを指示するデ−タバッファ指示フラグであり、デ−タ
バッファ指示フラグ32の出力によってデ−タ書き込み
パルス15をどちらのデ−タバッファに出力するかを切
り替えるANDゲ−ト33および、2個のデ−タバッフ
ァのデ−タをデ−タバッファ指示フラグ32の値によっ
て選択出力するデ−タバッファセレクタ34を有する構
成である。In FIG. 3, reference numeral 32 is a data buffer instruction flag for instructing the two data buffers 6a and 6b which data buffer is to be used. The data buffer instruction flag 32 outputs data. An AND gate 33 for switching which data buffer the data write pulse 15 is output to, and data for selectively outputting the data of the two data buffers according to the value of the data buffer instruction flag 32. This is a configuration including a buffer selector 34.
【0023】CPU1からデ−タバッファ6a、6bへ
のデ−タの書き込みの際は、デ−タバッファ指示フラグ
32の値によって、いずれかのANDゲ−ト33の出力
が有効となり、いずれかのデ−タバッファにのみ、書き
込みが行われる。デ−タバッファ6a、6bからI/O
−3へのデ−タ転送の際は、デ−タバッファセレクタ3
4によって、いずれかのデ−タバッファ6a、6bが選
択され、I/Oバスデ−タバッファ8にデ−タが転送さ
れる。デ−タバッファ指示フラグ32の値は、デ−タ転
送起動が行われた時点で、I/Oバス制御回路11から
のデ−タバッファ切り替え信号35によって切り替えら
れる。When writing data from the CPU 1 to the data buffers 6a and 6b, the output of any AND gate 33 becomes valid depending on the value of the data buffer instruction flag 32, and any data is output. -Only the data buffer is written. I / O from the data buffers 6a and 6b
-3, the data buffer selector 3 is used for data transfer.
One of the data buffers 6a and 6b is selected by 4 and the data is transferred to the I / O bus data buffer 8. The value of the data buffer instruction flag 32 is switched by the data buffer switching signal 35 from the I / O bus control circuit 11 when the data transfer is activated.
【0024】本実施例によれば、デ−タバッファからI
/Oへのデ−タ転送中にも、他のデ−タバッファにデ−
タの書き込みができるため、CPUの処理効率を向上す
ることができる。According to the present embodiment, the data buffer I
While data is being transferred to the I / O, the data is transferred to another data buffer.
Since the data can be written, the processing efficiency of the CPU can be improved.
【0025】図4は、本発明によるデ−タ転送方式の一
実施例を示す第3の概略構成図であり、デ−タ転送軌道
フラグ7へのアクセス時、デ−タ転送の起動指示を行う
と共に、I/O−3がデ−タを受け取ることが可能な状
態であるかどうかを応答することを特徴とした実施例で
ある。FIG. 4 is a third schematic block diagram showing an embodiment of the data transfer system according to the present invention. When the data transfer trajectory flag 7 is accessed, a data transfer start instruction is issued. In this embodiment, the I / O-3 responds whether or not the data can be received while the I / O-3 is performing.
【0026】図4において、デ−タ転送起動フラグ7へ
のアクセスはリ−ドアクセスとして規定され、そのリ−
ドアクセスのリ−ドデ−タは、I/O−3へのデ−タ転
送に対し、このI/Oがデ−タ受け取り可能状態にある
かどうかを示す値としている。デ−タ転送起動フラグ7
へのリ−ドアクセスが発生すると、CPUバス制御回路
10はI/Oバス制御回路11に対し、デ−タ転送起動
指示を行う。この後、I/Oバス制御回路11は、図1
の実施例で説明した手順でデ−タバッファ6からI/O
−3へのデ−タ転送を行う。この際、デ−タ転送サイク
ル中に、I/Oバス制御信号線28の内、I/O−3が
出力するデ−タ受け取り可能状態信号の値が、規定時間
以内にデ−タ受け取り可能状態を示した場合はデ−タ転
送を継続すると共に、デ−タ転送起動フラグ7に対する
リ−ドデ−タをデ−タ受け取り可能状態を示す値とす
る。しかし、規定時間以内にI/O−3がデ−タ受け取
り可能状態とならない場合は、このデ−タ転送サイクル
を中止する共に、デ−タ転送起動フラグ7に対するリ−
ドデ−タをデ−タ受け取りが可能でない状態を示す値と
する。本実施例によれば、I/Oの状態チェックとI/
O−3へのデ−タ転送起動指示を1つのアクセスで実現
することができ、処理性能の向上を図ることができる。In FIG. 4, access to the data transfer activation flag 7 is defined as read access, and the read access is defined.
The read access read data has a value indicating whether or not this I / O is in a data receivable state for data transfer to the I / O-3. Data transfer start flag 7
When a read access to the CPU occurs, the CPU bus control circuit 10 issues a data transfer start instruction to the I / O bus control circuit 11. After this, the I / O bus control circuit 11
I / O from the data buffer 6 according to the procedure described in the above embodiment.
Data transfer to -3. At this time, during the data transfer cycle, the value of the data receivable state signal output from the I / O-3 of the I / O bus control signal line 28 is receivable within a specified time. When the status is indicated, the data transfer is continued and the read data for the data transfer start flag 7 is set to a value indicating the data receivable status. However, if the I / O-3 is not ready to receive the data within the specified time, this data transfer cycle is stopped and the data transfer start flag 7 is read.
The data is set to a value indicating that the data cannot be received. According to the present embodiment, I / O status check and I / O
The data transfer start instruction to O-3 can be realized by one access, and the processing performance can be improved.
【0027】[0027]
【発明の効果】以上説明したように、本発明によれば、
I/Oバスのバ−スト転送機能を有効に活用して、CP
UからI/Oへのデ−タ転送を行う時、デ−タ転送速度
の向上を図ることができる。また、バ−スト転送を使用
することで、単位デ−タ転送あたりのバス占有時間を削
減することができ、I/Oバスの利用効率を向上するこ
とができる。As described above, according to the present invention,
Utilizing the burst transfer function of the I / O bus effectively, CP
When data is transferred from U to I / O, the data transfer speed can be improved. Further, by using the burst transfer, the bus occupation time per unit data transfer can be reduced and the utilization efficiency of the I / O bus can be improved.
【図1】本発明によるデ−タ転送方式の一実施例を示す
第1の概略構成図FIG. 1 is a first schematic configuration diagram showing an embodiment of a data transfer system according to the present invention.
【図2】図1におけるCPU1からI/O3への動作を
表すタイミング図FIG. 2 is a timing chart showing an operation from CPU 1 to I / O 3 in FIG.
【図3】本発明によるデ−タ転送方式の一実施例を示す
第2の概略構成図FIG. 3 is a second schematic configuration diagram showing an embodiment of a data transfer system according to the present invention.
【図4】本発明によるデ−タ転送方式の一実施例を示す
第3の概略構成図FIG. 4 is a third schematic configuration diagram showing an embodiment of a data transfer system according to the present invention.
1−CPU、2−I/Oバス制御機構、3−I/O、4
−CPUバス、5−I/Oバス、6−デ−タバッファ、
7−デ−タ転送起動フラグ、8−I/Oバスデ−タバッ
ファ、9−アドレスバッファ、10−CPUバス制御回
路、11−I/Oバス制御回路、32−デ−タバッファ
指示フラグ1-CPU, 2-I / O bus control mechanism, 3-I / O, 4
-CPU bus, 5-I / O bus, 6-data buffer,
7-data transfer start flag, 8-I / O bus data buffer, 9-address buffer, 10-CPU bus control circuit, 11-I / O bus control circuit, 32-data buffer instruction flag
Claims (4)
するI/Oバス制御機構を含む情報処理システムにおい
て、 前記I/Oバス制御機構は、前記CPUから前記I/O
へ出力される最大のデ−タ転送のサイズより大きいサイ
ズのデ−タバッファと、該デ−タバッファに対し、前記
デ−タ転送を前記I/Oへ送出する起動指示を行うデ−
タ転送起動フラグとを有し、 前記CPUから前記I/Oへの前記デ−タ転送を行う
時、前記CPUから出力される前記デ−タ転送の単位で
前記デ−タバッファに一時格納を行い、前記CPUから
前記デ−タ転送起動フラグへのアクセスすることで、前
記デ−タバッファから前記I/Oへのデ−タ転送を行う
ことを特徴とするデ−タ転送方式。1. An information processing system including an I / O bus control mechanism that enables a connection between a CPU and an I / O bus, wherein the I / O bus control mechanism is operated from the CPU to the I / O bus.
To a data buffer having a size larger than the maximum size of the data transfer output to the I / O, and a data buffer for instructing the data buffer to send the data transfer to the I / O.
A data transfer start flag, and when the data transfer from the CPU to the I / O is performed, temporary storage is performed in the data buffer in units of the data transfer output from the CPU. A data transfer system characterized in that data is transferred from the data buffer to the I / O by accessing the data transfer start flag from the CPU.
タバッファは複数個有し、且つ、前記複数のデ−タバッ
ファへのデ−タ転送時に前記デ−タバッファの選択を行
なうデ−タバッファ指示フラグとを有し、 前記CPUから前記デ−タバッファへのアクセスが発生
すると前記デ−タバッファ指示フラグが示す前記デ−タ
バッファへ書き込み、前記デ−タ転送起動フラグへのア
クセスが発生すると、前記デ−タバッファ指示フラグが
指定する前記デ−タバッファの内容を前記I/Oに転送
するとともに、前記デ−タバッファ指示フラグの値を更
新することを特徴とする請求項1記載のデ−タ転送方
式。2. In the information processing system, the data
There is a plurality of data buffers, and a data buffer instruction flag for selecting the data buffers at the time of data transfer to the plurality of data buffers, and access from the CPU to the data buffers. Is generated, the contents are written in the data buffer indicated by the data buffer instruction flag, and when the access to the data transfer start flag occurs, the contents of the data buffer designated by the data buffer instruction flag are written in the I buffer. 2. The data transfer system according to claim 1, wherein the value of the data buffer instruction flag is updated while the data is transferred to / O.
タ転送起動フラグへのアクセスによって起動される前記
デ−タバッファから前記I/Oへのデ−タ転送サイクル
に関し、前記デ−タ転送起動フラグは前記デ−タ転送サ
イクル開始後規定時間以内に前記I/Oからデ−タ受け
取り可能状態の通知を受けた時、前記デ−タ転送を継続
し、前記規定時間以内に前記I/Oから前記通知がない
時、該デ−タ転送サイクルを中止する制御をすると共
に、前記デ−タ転送起動フラグは前記CPUに対し前記
通知の有無を応答することを特徴とする請求項1記載の
デ−タ転送方式。3. In the information processing system, the data
Regarding the data transfer cycle from the data buffer to the I / O which is started by accessing the data transfer start flag, the data transfer start flag is set within the specified time after the start of the data transfer cycle. When the notification of the data receivable state is received from the I / O, the data transfer is continued, and when the notification is not received from the I / O within the specified time, the data transfer cycle is stopped. 2. The data transfer system according to claim 1, wherein said data transfer start flag responds to said CPU whether or not there is said notification.
タ転送起動フラグへのアクセスによって起動される前記
デ−タバッファから前記I/Oへのデ−タ転送サイクル
に関し、前記デ−タ転送起動フラグは前記デ−タ転送サ
イクル開始後規定時間以内に前記I/Oからデ−タ受け
取り可能状態の通知を受けた時、前記デ−タ転送を継続
し、前記規定時間以内に前記I/Oから前記通知がない
時、該デ−タ転送サイクルを中止する制御と前記デ−タ
バッファ指示フラグの値の更新を抑止する制御と共に、
前記デ−タ転送起動フラグは前記CPUに対し前記通知
の有無を応答することを特徴とする請求項2記載のデ−
タ転送方式。4. In the information processing system, the data
Regarding the data transfer cycle from the data buffer to the I / O which is started by accessing the data transfer start flag, the data transfer start flag is set within the specified time after the start of the data transfer cycle. When the notification of the data receivable state is received from the I / O, the data transfer is continued, and when the notification is not received from the I / O within the specified time, the data transfer cycle is stopped. Together with the control to suppress the update of the value of the data buffer instruction flag,
The data transfer start flag responds to the CPU as to whether or not there is the notification.
Data transfer method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10526793A JPH06314252A (en) | 1993-05-06 | 1993-05-06 | Data transfer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10526793A JPH06314252A (en) | 1993-05-06 | 1993-05-06 | Data transfer system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06314252A true JPH06314252A (en) | 1994-11-08 |
Family
ID=14402890
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10526793A Pending JPH06314252A (en) | 1993-05-06 | 1993-05-06 | Data transfer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06314252A (en) |
-
1993
- 1993-05-06 JP JP10526793A patent/JPH06314252A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5581731A (en) | Method and apparatus for managing video data for faster access by selectively caching video data | |
| US5526508A (en) | Cache line replacing system for simultaneously storing data into read and write buffers having multiplexer which controls by counter value for bypassing read buffer | |
| US6584512B1 (en) | Communication DMA device for freeing the data bus from the CPU and outputting divided data | |
| EP0690382A2 (en) | Computer system with a multiplexed address bus and pipelined write operations | |
| JPH0696007A (en) | DMA transfer method | |
| JPH06314252A (en) | Data transfer system | |
| EP0787326B1 (en) | System and method for processing of memory data and communication system comprising such system | |
| JP2001176272A (en) | Plural line buffer type memory lsi | |
| JP3039391B2 (en) | Memory system | |
| JP2570986B2 (en) | Data transfer control device and method | |
| KR100265056B1 (en) | Interface method between processor and serial input/output controller | |
| JP2581144B2 (en) | Bus control device | |
| JP3264316B2 (en) | Direct memory access controller | |
| JPS62274349A (en) | Data processing system | |
| JPH02254557A (en) | Communication control processing device | |
| JPH02189627A (en) | Access circuit for data memory | |
| JPS6269347A (en) | Direct memory access controller | |
| JP2003122701A (en) | Interface and input / output devices | |
| JPH02133854A (en) | Dma controller capable of access to transfer enable/ unable memory | |
| JPH0817401B2 (en) | LAN connection system | |
| JPS6393057A (en) | Cache memory | |
| JPH03208152A (en) | Dma transfer system | |
| JPH1185660A (en) | Data transfer system | |
| JPH104420A (en) | Data transfer method | |
| JPH01320556A (en) | Data processor |