JPH103449A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH103449A
JPH103449A JP15541496A JP15541496A JPH103449A JP H103449 A JPH103449 A JP H103449A JP 15541496 A JP15541496 A JP 15541496A JP 15541496 A JP15541496 A JP 15541496A JP H103449 A JPH103449 A JP H103449A
Authority
JP
Japan
Prior art keywords
data
address
data transfer
bus
transfer 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.)
Pending
Application number
JP15541496A
Other languages
Japanese (ja)
Inventor
Tsutomu Sato
努 佐藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP15541496A priority Critical patent/JPH103449A/en
Publication of JPH103449A publication Critical patent/JPH103449A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To vary the number of transfer data and also to decide the number of data by providing a 2nd data transfer device which counts up an address counter when the transmitted contents are the data. SOLUTION: A 1st data transfer device 30 compares the preceding address with the present address which are received from a bus master 10. Then the device 30 outputs no address to a local bus 40 and unilaterally outputs data when those compared addresses continuously vary. A 2nd data transfer device 50 judges whether the signal sent via the bus 40 is an address or data. If the signal is judged to be an address, this address is loaded. Meanwhile, the address is updated if the data are judged. When the data are received (this case can be judged by the data strobe), these data are counted up. Thus, the coincidence is secured between the counter length and the address length, and the number of block transfer data is never limited. Therefore, the data transfer efficiency is improved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータを含
む計測または制御システムにおける各モジュール間のデ
ジタルデータを転送するためのデータ転送システムに関
し、特にデータ転送効率の改善に関するものである。
The present invention relates to a data transfer system for transferring digital data between modules in a measurement or control system including a computer, and more particularly to an improvement in data transfer efficiency.

【0002】[0002]

【従来の技術】従来よりよく知られているデータ転送シ
ステムは、近年アドレス幅とデータ幅とも長くなる傾向
にあるが、更にこれに併せてハードウェアの小型化の要
求も高くなってきている。
2. Description of the Related Art In a data transfer system which has been well known, the address width and the data width tend to be longer in recent years, but in accordance with this, the demand for downsizing of hardware is also increasing.

【0003】[0003]

【発明が解決しようとする課題】ところで、従来のデー
タ転送方式においては、アドレスとデータが別々のライ
ン(信号線)となっているものがあり、アドレスとデー
タの幅が長くなると各モジュールを結ぶ信号線数も増大
し、小型化の阻害要因となる。
Incidentally, in the conventional data transfer system, there are some lines in which the address and the data are separate lines (signal lines). When the width of the address and the data becomes long, each module is connected. The number of signal lines also increases, which hinders miniaturization.

【0004】従来のデータ転送装置の中には、アドレス
とデータのラインを共通にしてアドレスとデータをマル
チプレクスしてデータ転送を行う方式のものがある。こ
の方式では、信号線数を節約できるけれども、アドレス
とデータを交互に送っているため全体としての転送速度
は遅くなる。これを解消する方式として、アドレスが連
続している場合にはデータのみを連続して送るブロック
転送方式がある。
[0004] Some conventional data transfer devices employ a system in which address and data are multiplexed and data is transferred using a common address and data line. In this method, although the number of signal lines can be reduced, the overall transfer speed is reduced because addresses and data are sent alternately. As a method for solving this, there is a block transfer method for continuously transmitting only data when addresses are continuous.

【0005】しかしながら、この転送方式においては、
データ数が固定であるため、アドレスが連続しているデ
ータ数が固定データ数より少ない場合は無駄なデータを
送る必要があり、転送効率が悪いという欠点がある。
However, in this transfer method,
Since the number of data is fixed, if the number of data having continuous addresses is smaller than the fixed number of data, it is necessary to send useless data, and there is a disadvantage that transfer efficiency is poor.

【0006】本発明の目的は、このような点に鑑み、ブ
ロック転送においてデータ転送効率を上げるため、転送
データ数を可変にすると共にそのデータ数を決定するこ
とのできるデータ転送装置を実現することにある。
SUMMARY OF THE INVENTION In view of the foregoing, it is an object of the present invention to provide a data transfer apparatus capable of changing the number of data to be transferred and determining the number of data to increase the data transfer efficiency in block transfer. It is in.

【0007】[0007]

【課題を解決するための手段】このような目的を達成す
るために本発明では、バス・マスタとバス・スレーブ間
をローカル・バスで接続しこのローカル・バス経由でデ
ータ転送を行うデータ転送システムであって、前記バス
・マスタ側に接続され、バス・マスタからの前回のアド
レスと今回のアドレスを比較し、アドレスが連続的に変
化しているかどうかを判断し、アドレスが連続的に変化
しない場合は前記ローカル・バスへアドレスとデータを
出力し、アドレスが連続的に変化する場合はローカル・
バスへアドレスは出力しないでデータを一方的に出力す
る第1のデータ転送装置と、前記バス・スレーブ側に接
続され、前記ローカル・バス経由で伝送された内容がア
ドレスであるかデータであるかを判断し、データである
場合はアドレスカウンタをカウントアップし、アドレス
である場合はそのアドレスをそのまま出力する第2のデ
ータ転送装置を備えたことを特徴とする。
According to the present invention, there is provided a data transfer system in which a bus master and a bus slave are connected by a local bus and data is transferred via the local bus. And is connected to the bus master side, compares the previous address from the bus master with the current address, determines whether the address is continuously changing, and does not continuously change the address. In this case, the address and data are output to the local bus.
A first data transfer device that unidirectionally outputs data without outputting an address to a bus, and whether the content transmitted via the local bus is an address or data connected to the bus slave side And a second data transfer device that counts up an address counter when the data is data and outputs the address as it is when the data is an address.

【0008】[0008]

【発明の実施の形態】以下図面を用いて本発明を詳しく
説明する。図1は本発明に係るデータ転送システムの一
実施例を示す構成図である。図1において、10はバス
・マスタであり、例えば中央処理装置(CPU)モジュ
ール等である。30はホスト・バス20を介してバス・
マスタ10と接続される第1のデータ転送装置、50は
ローカル・バス40を介して第1のデータ転送装置30
と接続される第2のデータ転送装置、70はバス60を
介して第2のデータ転送装置50と接続されるバス・ス
レーブである。バス・スレーブ70は、例えばメモリモ
ジュール等である。本発明は、ローカル・バス40の信
号線数の削減とローカル・バス40を介して転送される
データ転送効率の向上を図るものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram showing one embodiment of a data transfer system according to the present invention. In FIG. 1, reference numeral 10 denotes a bus master, such as a central processing unit (CPU) module. Reference numeral 30 denotes a bus via the host bus 20.
The first data transfer device 50 connected to the master 10 is connected to the first data transfer device 30 via the local bus 40.
A second data transfer device 70 connected to the second data transfer device 50 is connected to the second data transfer device 50 via the bus 60. The bus slave 70 is, for example, a memory module or the like. The present invention aims to reduce the number of signal lines of the local bus 40 and improve the efficiency of data transfer transferred via the local bus 40.

【0009】第1のデータ転送装置30は、バス・マス
タ10からの前回のアドレスと今回のアドレスを比較
し、その比較結果からアドレスを出力するかどうかを判
断する装置である。第2のデータ転送装置50は、ロー
カル・バス40を経由して送られてきた信号がアドレス
なのかデータなのかを判断し、データの場合はアドレス
を更新し、アドレスの場合はそのアドレスをロードする
装置である。
The first data transfer device 30 is a device that compares the previous address from the bus master 10 with the current address and determines whether or not to output an address based on the result of the comparison. The second data transfer device 50 determines whether the signal transmitted via the local bus 40 is an address or data, updates the address in the case of data, and loads the address in the case of an address. It is a device to do.

【0010】第1のデータ転送装置30について図2を
参照して更に詳述する。図2において、31は前回のア
ドレスをラッチしておくラッチ回路、32は前回のアド
レスに1を加えた値が今回のアドレスと一致するかどう
か比較する比較器である。33は第1の制御回路であ
り、比較器32の結果や、ホスト・バスのライト信号、
アドレスストローブおよびデータストローブ信号を受
け、アドレス用バッファ36のイネーブルの制御ならび
にデータ用トランシーバ37の伝送方向(DIRECTION )
とイネーブルの制御を行うものである。
The first data transfer device 30 will be described in more detail with reference to FIG. In FIG. 2, reference numeral 31 denotes a latch circuit for latching the previous address, and reference numeral 32 denotes a comparator for comparing whether a value obtained by adding 1 to the previous address matches the current address. Reference numeral 33 denotes a first control circuit which outputs a result of the comparator 32, a write signal of the host bus,
In response to the address strobe signal and the data strobe signal, enable control of the address buffer 36 and transmission direction (DIRECTION) of the data transceiver 37 are performed.
And enable control.

【0011】34はローカル・バスのアドレスストロー
ブとデータストローブのタイミングを制御する第2の制
御回路、35はローカル・バスからのデータアクノリッ
ジ信号をもとにホスト・バスに出力するアクノリッジ信
号を作るアクノリッジ制御回路である。
Reference numeral 34 denotes a second control circuit for controlling the timing of the address strobe and data strobe of the local bus, and reference numeral 35 denotes an acknowledgment for generating an acknowledgment signal to be output to the host bus based on the data acknowledgment signal from the local bus. It is a control circuit.

【0012】図3は第2のデータ転送装置50の詳細を
示す構成図である。図において、51はアドレスを供給
するカウンタであり、アドレス/データラインにアドレ
スが来た場合(アドレスストローブで判断できる)はア
ドレスをロードし、データが来た場合(データストロー
ブで判断できる)はカウントアップする回路で、カウン
タ長をアドレス長に合わせることによりブロック転送デ
ータ数に制限がなくなる。
FIG. 3 is a block diagram showing the details of the second data transfer device 50. In the figure, reference numeral 51 denotes a counter for supplying an address. When an address comes to an address / data line (determined by an address strobe), the address is loaded. When data comes (a data strobe can be determined), a counter is counted. By increasing the counter length to the address length in the circuit to be increased, the number of block transfer data is not limited.

【0013】52は制御回路であり、ローカル・バスの
データストローブとアドレスストローブおよびライト信
号を受けてデータ用トランシーバ53の伝送方向(DIRE
CTION )とイネーブルの制御を行うものである。
Reference numeral 52 denotes a control circuit which receives a data strobe, an address strobe and a write signal of a local bus and transmits the data in a transmission direction (DIRE) of a data transceiver 53.
CTION) and enable control.

【0014】このような構成における動作を図4および
図5のタイミングチャートを参照して次に説明する。ロ
ーカル・バス40に接続されるモジュールにデータを転
送する(またはデータを取り込む)場合(図4のライト
サイクルに相当)、ホスト・バス20からのアドレスを
前回のホスト・バス20からのアドレスと比較し、次の
動作に別れる。
The operation in such a configuration will be described below with reference to the timing charts of FIGS. When data is transferred (or fetched) to a module connected to the local bus 40 (corresponding to the write cycle in FIG. 4), the address from the host bus 20 is compared with the previous address from the host bus 20. Then, the operation is divided into the following operations.

【0015】1)アドレスが連続していない場合(アド
レスがAi からAj へ、あるいはAj+1 からAk へ変わ
る場合) ローカル・バス40にアドレスとアドレスストローブ
を出力する。 ローカル・バス40にデータとデータストローブを出
力する(データ取り込み)。 2)アドレスが連続している場合(アドレスがAj から
j+1 へ変わる場合) ローカル・バス40にデータとデータストローブを出
力する(データ取り込み)。
[0015] 1) address may not be continuously (address from A i to A j, or if from A j + 1 change to the A k) is output to the address and the address strobe local bus 40. The data and the data strobe are output to the local bus 40 (data fetch). 2) When addresses are continuous (when the address changes from A j to A j + 1 ) Data and data strobe are output to the local bus 40 (data fetch).

【0016】アクノリッジはスレーブ側がマスタ側に返
す信号であり、サイクルの終了タイミングを知らせてい
る。なお、リードサイクルについてもアドレスが連続す
るかしないかで動作は上記と同様に別れる。各動作につ
いてはライトサイクルの場合と同様であるので説明を省
略する。
The acknowledgment is a signal returned from the slave side to the master side, and notifies the end timing of the cycle. In the read cycle, the operation is separated in the same manner as described above depending on whether or not addresses are continuous. Each operation is the same as that in the case of the write cycle, and the description is omitted.

【0017】このような本発明の転送方式と従来の転送
方式におけるデータ転送回数を比較すると次表のように
なる。
The following table shows a comparison of the number of data transfers between the transfer method of the present invention and the conventional transfer method.

【0018】なお、以上の本発明の説明は、説明および
例示を目的として特定の好適な実施例を示したに過ぎな
い。したがって本発明はその本質から逸脱せずに多くの
変更、変形をなし得ることは明らかである。
It is to be noted that the above description of the present invention has been presented by way of illustration and example only of a particular preferred embodiment. Thus, it is apparent that the present invention can be modified and changed in many ways without departing from the essence thereof.

【0019】[0019]

【発明の効果】以上説明したように本発明によれば、第
1のデータ転送装置と第2のデータ転送装置の間のロー
カル・バス上でのデータ転送効率を容易に上げることが
できると同時にローカル・バスの信号線数も簡単に削減
することができる。
As described above, according to the present invention, the data transfer efficiency on the local bus between the first data transfer device and the second data transfer device can be easily increased. The number of signal lines of the local bus can be easily reduced.

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

【図1】本発明に係るデータ転送システムの一実施例を
示す構成図
FIG. 1 is a configuration diagram showing one embodiment of a data transfer system according to the present invention.

【図2】第1のデータ転送装置の構成図FIG. 2 is a configuration diagram of a first data transfer device;

【図3】第2のデータ転送装置の構成図FIG. 3 is a configuration diagram of a second data transfer device.

【図4】ライトサイクルのタイミングチャートFIG. 4 is a timing chart of a write cycle.

【図5】リードサイクルのタイミングチャートである。FIG. 5 is a timing chart of a read cycle.

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

10 バス・マスタ 20 ホスト・バス 30 第1のデータ転送装置 31 ラッチ回路 32 比較器 33 第1の制御回路 34 第2の制御回路 35 アクノリッジ制御回路 36 バッファ 37 トランシーバ 40 ローカル・バス 50 第2のデータ転送装置 51 カウンタ 52 制御回路 53 トランシーバ 60 バス Reference Signs List 10 bus master 20 host bus 30 first data transfer device 31 latch circuit 32 comparator 33 first control circuit 34 second control circuit 35 acknowledge control circuit 36 buffer 37 transceiver 40 local bus 50 second data Transfer device 51 counter 52 control circuit 53 transceiver 60 bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】バス・マスタとバス・スレーブ間をローカ
ル・バスで接続しこのローカル・バス経由でデータ転送
を行うデータ転送システムであって、 前記バス・マスタ側に接続され、バス・マスタからの前
回のアドレスと今回のアドレスを比較し、アドレスが連
続的に変化しているかどうかを判断し、アドレスが連続
的に変化しない場合は前記ローカル・バスへアドレスと
データを出力し、アドレスが連続的に変化する場合はロ
ーカル・バスへアドレスは出力しないでデータを一方的
に出力する第1のデータ転送装置と、 前記バス・スレーブ側に接続され、前記ローカル・バス
経由で伝送された内容がアドレスであるかデータである
かを判断し、データである場合はアドレスカウンタをカ
ウントアップし、アドレスである場合はそのアドレスを
そのまま出力する第2のデータ転送装置を備えたことを
特徴とするデータ転送システム。
1. A data transfer system for connecting a bus master and a bus slave by a local bus and performing data transfer via the local bus, wherein the data transfer system is connected to the bus master and is connected to the bus master. The previous address is compared with the current address to determine whether the address changes continuously.If the address does not change continuously, the address and data are output to the local bus, and the address is A first data transfer device that unidirectionally outputs data without outputting an address to the local bus when the address changes to a local bus, and a content that is connected to the bus slave side and transmitted via the local bus. Judge whether it is an address or data, and if it is data, count up the address counter. Data transfer system characterized by comprising a second data transfer device that outputs the.
JP15541496A 1996-06-17 1996-06-17 Data transfer system Pending JPH103449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15541496A JPH103449A (en) 1996-06-17 1996-06-17 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15541496A JPH103449A (en) 1996-06-17 1996-06-17 Data transfer system

Publications (1)

Publication Number Publication Date
JPH103449A true JPH103449A (en) 1998-01-06

Family

ID=15605482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15541496A Pending JPH103449A (en) 1996-06-17 1996-06-17 Data transfer system

Country Status (1)

Country Link
JP (1) JPH103449A (en)

Similar Documents

Publication Publication Date Title
US6742063B1 (en) Method and apparatus for efficient transfer of data packets
US6078983A (en) Multiprocessor system having distinct data bus and address bus arbiters
US7403525B2 (en) Efficient routing of packet data in a scalable processing resource
US6571303B1 (en) Communication control method and apparatus utilizing a shared buffer which is shared by a system processor and a communication controller using a virtual address or a real address
EP2312457B1 (en) Data processing apparatus, data processing method and computer-readable medium
US4742446A (en) Computer system using cache buffer storage unit and independent storage buffer device for store through operation
CN1922591A (en) Intelligent pci bridging consisting of prefetching all data prior to sending data to requesting service
US7694044B2 (en) Stream under-run/over-run recovery
JP4584457B2 (en) Flexible memory channel
US20050144338A1 (en) Data transfer apparatus
US6208645B1 (en) Time multiplexing of cyclic redundancy functions in point-to-point ringlet-based computer systems
US20040230717A1 (en) Processing device
JPH103449A (en) Data transfer system
US7724775B2 (en) Data transmission circuit and method for controlling the data transmission circuit
JPH0661074B2 (en) Access controller, method for minimizing bus idle time, DMA controller, and DMA data transfer method
JP3953732B2 (en) Data transceiver
JPH1063617A (en) Serial communication device
EP0609082A1 (en) Information transfer in a data processing system
JPH069036B2 (en) I / O controller
US7239640B1 (en) Method and apparatus for controlling ATM streams
EP0609083A1 (en) Information transfer in a data processing system
JPH07319823A (en) Inter-processor communication system
JP2000115480A (en) Image reader
JPH11122275A (en) Serial communication system
KR940007480B1 (en) Brank line treatment method and circuit led printer