JP2629027B2 - Interface method - Google Patents

Interface method

Info

Publication number
JP2629027B2
JP2629027B2 JP19632588A JP19632588A JP2629027B2 JP 2629027 B2 JP2629027 B2 JP 2629027B2 JP 19632588 A JP19632588 A JP 19632588A JP 19632588 A JP19632588 A JP 19632588A JP 2629027 B2 JP2629027 B2 JP 2629027B2
Authority
JP
Japan
Prior art keywords
bidirectional bus
write signal
data
state buffer
shaping circuit
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.)
Expired - Lifetime
Application number
JP19632588A
Other languages
Japanese (ja)
Other versions
JPH0245858A (en
Inventor
貴弥 笠作
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP19632588A priority Critical patent/JP2629027B2/en
Publication of JPH0245858A publication Critical patent/JPH0245858A/en
Application granted granted Critical
Publication of JP2629027B2 publication Critical patent/JP2629027B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 〔概要〕 双方向性バスを利用してデータ通信するインタフェー
ス方式に関し、 装置と双方向性バスとの間に3ステートバッファを設
けてリード信号によってこれを駆動すると共に終端を短
くしたライト信号を用いて相手装置がデータを双方向バ
スから取り込み、動作タイミングの異なる2つの装置間
を双方向性バスを用いて接続して通信を行うことを目的
とし、 データ通信しようとする装置間に設けた双方向性バス
と、自装置とこの双方向性バスとの間に設けた双方向性
の3ステートバッファと、自装置から送出して相手装置
が使用するライト信号の終端部分を短くするライト信号
整形回路とを備え、リード時に自装置がリード信号を相
手装置に送出してデータを上記双方向性バスに送出させ
ると共にリード信号を上記3ステートバッファに入力し
て双方向性バスに送出されたデータを自装置内に取り込
み、一方、ライト時に自装置がライト信号を上記ステー
トバッファに入力してデータを上記双方向性バス(1)
に送出すると共に上記ライト信号整形回路によってライ
ト信号の終端部分を短くしたライト信号によって相手装
置が双方向性バスからデータを取り込むように構成す
る。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding an interface system for performing data communication using a bidirectional bus, a three-state buffer is provided between a device and a bidirectional bus, and is driven by a read signal and terminated. The other device captures data from a bidirectional bus using a write signal with a shorter length, and uses a bidirectional bus to connect two devices having different operation timings for communication. A bidirectional bus provided between the devices to be connected, a bidirectional three-state buffer provided between the own device and the bidirectional bus, and a termination of a write signal transmitted from the own device and used by a partner device. And a write signal shaping circuit for shortening the portion. When reading, the own device sends a read signal to the partner device to send data to the bidirectional bus and raises the read signal. The data input to the 3-state buffer and sent to the bidirectional bus are taken into the device itself. On the other hand, at the time of writing, the device inputs a write signal to the state buffer to transfer data to the bidirectional bus (1). )
And the other device takes in the data from the bidirectional bus by a write signal whose write signal shaping circuit shortens the end portion of the write signal.

〔産業上の利用分野〕[Industrial applications]

本発明は、双方向性バスを利用してデータ通信するイ
ンタフェース方式に関するものである。
The present invention relates to an interface system for performing data communication using a bidirectional bus.

〔従来の技術の発明が解決しようとする課題〕[Problems to be solved by the prior art invention]

従来、第1図(ハ)に示すような双方向性バスを利用
して例えば装置Aと装置Bとが相互にデータ通信する場
合、第4図(イ)、(ロ)、(ハ)および第5図
(イ)、(ロ)、(ハ)に示すように、インタフェース
しようとする両者間の動作タイミングが異なっている
と、相互に接続することができず、通信し得ないという
問題があった。具体的に説明すれば、装置Bから装置A
にデータ通信する場合、第4図(ロ)で例えば63nsの
間データが出力されすぎていた。また、装置Aから装置
Bにデータ通信する場合、第5図(ロ)で例えば7ns
の間データの保持時間が足りなかった。
Conventionally, when, for example, the device A and the device B mutually communicate data using a bidirectional bus as shown in FIG. 1 (c), FIGS. 4 (a), (b), (c) and As shown in FIGS. 5 (a), 5 (b) and 5 (c), if the operation timings of the interfaces to be interfaced are different, they cannot be connected to each other and cannot communicate. there were. More specifically, the apparatus B to the apparatus A
In FIG. 4 (b), when data communication was performed, data was output too much for, for example, 63 ns. When data communication is performed from the device A to the device B, for example, 7 ns in FIG.
Data retention time was insufficient during the period.

本発明は、装置と双方向性バスとの間に3ステートバ
ッファを設けてリード信号によってこれを駆動すると共
に終端を短くしたライト信号を用いて相手装置がデータ
を双方向バスから取り込み、動作タイミングの異なる2
つの装置間を双方向性バスを用いて接続して通信を行う
ことを目的としている。
According to the present invention, a three-state buffer is provided between a device and a bidirectional bus, and is driven by a read signal. At the same time, a partner device fetches data from the bidirectional bus by using a write signal whose terminating is shortened. Two different
It is intended to communicate between two devices by using a bidirectional bus.

〔課題を解決する手段〕[Means to solve the problem]

第1図を参照して課題を解決する手段を説明する。 Means for solving the problem will be described with reference to FIG.

第1図において、双方向性バス1は、装置間でデータ
を双方向に転送するものである。
In FIG. 1, a bidirectional bus 1 transfers data bidirectionally between devices.

3ステートバッファ2は、装置と双方性バス1との間
に設けたバッファである。
The three-state buffer 2 is a buffer provided between the device and the bi-directional bus 1.

ライト信号整形回路3は、ライト信号の終端を短くし
て整形したライト信号を送出するものである。
The write signal shaping circuit 3 sends out a write signal shaped by shortening the end of the write signal.

〔作用〕[Action]

本発明は、第1図に示すように、装置Aと双方向性バ
スとの間に3ステートバッファ2を設け、リード時に装
置Aがリード信号で3ステートバッファ2を駆動して装
置Bが双方向性バス1に出力したデータを取り込み(リ
ードし)、一方、ライト時に処理装置Aが3ステートバ
ッファ2を介してデータを双方向性バスに出力すると共
にライト信号整形回路3によって終端を短くしたライト
信号を用いて処理装置Bが双方向性バス1からデータを
取り込む(ライトする)ようにしている。
According to the present invention, as shown in FIG. 1, a three-state buffer 2 is provided between a device A and a bidirectional bus. The data output to the directional bus 1 is fetched (read). On the other hand, at the time of writing, the processor A outputs the data to the bidirectional bus via the three-state buffer 2 and the write signal shaping circuit 3 shortens the termination. The processing device B takes in (writes) data from the bidirectional bus 1 using a write signal.

従って、3ステートバッファ2およびライト信号整形
回路3を設けることにより、動作タイミングの異なる装
置Aと装置Bとの間で双方向性バス1を介して相互にデ
ータ通信することが可能となる。
Therefore, by providing the three-state buffer 2 and the write signal shaping circuit 3, it becomes possible to mutually exchange data via the bidirectional bus 1 between the devices A and B having different operation timings.

〔実施例〕〔Example〕

まず、第1図(ハ)を用いて全体の構成を説明する。 First, the overall configuration will be described with reference to FIG.

第1図(ハ)において、装置Aおよび装置Bは、動作
タイミングの異なる装置(IOポートなど)であって、例
えば第4図および第5図に示す動作タイミングを持つも
のである(後述する)。
In FIG. 1 (c), the devices A and B are devices (IO ports and the like) having different operation timings, for example, having operation timings shown in FIGS. 4 and 5 (described later). .

双方向性バス1は、双方向にデータを転送するための
バスである。
The bidirectional bus 1 is a bus for transferring data bidirectionally.

▲▼、▲▼は、ここでは、装置Aが双方向性
バス1の方向を決定したことに対応して、送出するリー
ド信号、ライト信号である。装置Aは第1図(イ)およ
び(ロ)構成を持つようにする。尚、ライト信号整形回
路3は受信側の装置Bが持つようにしてもよい。
▲ and ▼ are read signals and write signals to be transmitted in response to the determination of the direction of the bidirectional bus 1 by the device A. Apparatus A has the configuration shown in FIGS. 1A and 1B. The write signal shaping circuit 3 may be included in the receiving device B.

次に、第1図(イ)および第2図(イ)を用いてリー
ド時、即ち装置Bから装置Aにデータ通信する場合の構
成および動作を詳細に説明する。
Next, the configuration and operation at the time of reading, that is, when data communication is performed from the device B to the device A, will be described in detail with reference to FIGS. 1A and 2A.

第1図(イ)において、3ステートバッファ2は装置
Aが持つものであって、装置AからLレベルのリード信
号を入力された場合(リード時の場合)、双方向性バス
1からデータを当該装置A内に取り込むようにしてい
る。尚、Hレベルのリード信号を当該3ステートバッフ
ァ2に入力した場合(ライト時の場合)、装置Aからデ
ータが双方向性バス1に出力される。
In FIG. 1A, the three-state buffer 2 is included in the device A. When an L-level read signal is input from the device A (when reading), data is transferred from the bidirectional bus 1. The data is taken into the device A. When an H-level read signal is input to the three-state buffer 2 (at the time of writing), data is output from the device A to the bidirectional bus 1.

従って、第2図(イ)に示すように、装置Bから双方
向性バス1を介して装置Aにデータ通信する場合、当該
装置Aがリード信号を装置Bに通知して双方向性バス1
に出力させたデータを当該3ステートバッファ2を介し
て内部に取り込む際に、図中リード信号の終端の立ち
上がりの部分で実線を用いて示すように無くなり、従来
の点線を用いて示すような状態を防止することが可能と
なる。これにより、第4図異なる動作タイミングを持つ
装置Bから双方向性バス1を介して装置Aにデータ通信
することが可能となる(第4図を用いて具体的に後述す
る)。
Therefore, as shown in FIG. 2 (a), when data communication is performed from the device B to the device A via the bidirectional bus 1, the device A notifies the device B of a read signal and transmits the read signal to the device B.
When the output data is taken in through the three-state buffer 2, it disappears as shown by the solid line at the rising edge of the end of the read signal in FIG. Can be prevented. This enables data communication from the device B having different operation timing to the device A via the bidirectional bus 1 in FIG. 4 (to be specifically described later with reference to FIG. 4).

次に、第1図(ロ)、第2図(ロ)および第3図を用
いてライト時、即ち装置Aから装置Bにデータ通信する
場合の構成および動作を詳細に説明する。
Next, the configuration and operation at the time of writing, that is, when data communication is performed from the device A to the device B will be described in detail with reference to FIGS. 1 (b), 2 (b) and 3.

第1図(ロ)ライト信号整形回路3は装置Aが持つも
のであって、装置AからLレベルのライト信号を入力さ
れた場合(ライト時の場合)、第2図(ロ)に示すよ
うに終端を短くしたライト信号を装置Bに送出するもの
である。これは、第1図(ロ)ライト信号整形回路3の
波形図を第3図に示すように、入力した本来のライト信
号についてシフトレジスタ3−1を用いて所定クロッ
クパルス分だけ終端を短くしたライト信号を生成する
ようにしている。
FIG. 1 (b) The write signal shaping circuit 3 is included in the device A, and when an L level write signal is input from the device A (when writing), as shown in FIG. 2 (b). And sends a write signal having a shorter end to the device B. This is because the end of the input original write signal is shortened by a predetermined clock pulse by using the shift register 3-1 as shown in FIG. A write signal is generated.

従って、第2図(ロ)に示すように、装置Aから双方
向性バス1を介して装置Bにデータ通信する場合、装置
Aが終端の短いライト信号を装置Bに通知して双方向
性バス1に出力したデータを当該装置Bの内部に取ませ
る際に、′の部分を短くしたことによって、第5図
(ロ)に示すデータ保持時間が足りない問題を解決す
ることが可能となる。これにより、第5図異なる動作タ
イミングを持つ装置Aから双方向性バス1を介して装置
Bにデータ通信することが可能となる。
Therefore, as shown in FIG. 2 (b), when data communication is performed from the device A to the device B via the bidirectional bus 1, the device A notifies the device B of a short-terminating write signal to the device B, and When the data output to the bus 1 is taken inside the device B, by shortening the portion ', it is possible to solve the problem of insufficient data retention time shown in FIG. 5 (b). . Thereby, it becomes possible to perform data communication from the device A having different operation timing to the device B via the bidirectional bus 1 in FIG.

次に、第4図を用いて装置Aおよび装置Bのリード時
(装置Bから双方向性バス1を介して装置Aにデータ転
送する時)における動作タイミングの違いの解決例につ
いて具体的に説明する。ここで、第4(イ)は、装置A
の読み込みタイミングを示し、第4図(ロ)は装置Bの
出力タイミング(双方向性バス1へのデータの出力タイ
ミング)を示し、第4図(ハ)は各ないしの動作説
明を示し、第4図(ニ)は双方向性バス1を介して通信
を行うために必要な条件を示す。
Next, a specific example of a solution to the difference in operation timing when reading the device A and the device B (when transferring data from the device B to the device A via the bidirectional bus 1) will be specifically described with reference to FIG. I do. Here, the fourth (a) is the device A
FIG. 4 (b) shows the output timing of the device B (data output timing to the bidirectional bus 1), and FIG. 4 (c) shows the explanation of each operation. FIG. 4 (d) shows the conditions necessary for performing communication via the bidirectional bus 1.

これら第4図(イ)および(ロ)に示す動作タイミン
グを持つ装置Aおよび装置Bが双方向性バス1を介して
通信するには、第4図(ニ)に示す条件が必要である。
For the devices A and B having the operation timings shown in FIGS. 4A and 4B to communicate via the bidirectional bus 1, the conditions shown in FIG. 4D are required.

条件(a)は、第4図(イ)および第4図(ロ)に示
すように本来的に満足されている。
The condition (a) is originally satisfied as shown in FIGS. 4 (a) and 4 (b).

条件(b)のうち、<が満足されていなく、この
例ではに示すように63nsデータが出されすぎるので、
既述した第1図(イ)3ステートバッファ2を装置Aに
設けてリード信号によって駆動して双方向性バス1から
装置Aに取り込むデータの終端を第2図(イ)に示すよ
うにカットし、見掛け上装置Aから見て≒0に強制的
にするようにしている。これにより当該条件(b)が装
置Aから見て満足されることとなる。
In the condition (b), <is not satisfied, and in this example, 63 ns data is output too much as shown in
As described above, FIG. 1 (A) is provided with the 3-state buffer 2 in the device A, and the end of data to be driven by the read signal and taken into the device A from the bidirectional bus 1 is cut as shown in FIG. 2 (A). Then, apparently from the apparatus A, it is forcibly set to $ 0. As a result, the condition (b) is satisfied from the viewpoint of the apparatus A.

条件(c)は、第4図(イ)および第4図(ロ)に示
すように本来的に満足されている。
The condition (c) is originally satisfied as shown in FIGS. 4 (a) and 4 (b).

以上のように、リード時に装置Aに3ステートバッフ
ァ2を設けてリード信号で駆動することにより、第4図
(ニ)通信を行うための条件を満足させることが可能と
なる。
As described above, by providing the three-state buffer 2 in the device A at the time of reading and driving by the read signal, it becomes possible to satisfy the condition for performing the communication shown in FIG.

次に、第5図を用いて装置Aおよび装置Bのライト時
(装置Aから双方向性バス1を介して装置Bにデータ転
送する時)における動作タイミングの違いの解決例につ
いて具体的に説明する。ここで、第5(イ)は、装置A
の出力タイミングを示し、第5図(ロ)は装置Bの読み
込みタイミングを示し、第5図(ハ)は各ないしの
動作説明を示し、第5図(ニ)は双方向性バス1を介し
て通信を行うために必要な条件を示す。
Next, with reference to FIG. 5, a specific example of a solution of the difference in operation timing between the device A and the device B at the time of writing (when data is transferred from the device A to the device B via the bidirectional bus 1) will be specifically described. I do. Here, the fifth (a) is the device A
5 (b) shows the read timing of the device B, FIG. 5 (c) shows the description of each operation, and FIG. 5 (d) shows the output timing via the bidirectional bus 1. Indicates the conditions required for communication.

これら第5図(イ)および(ロ)に示す動作タイミン
グを持つ装置Aおよび装置Bが双方向性バス1を介して
通信するには、第5図(ニ)に示す条件が必要である。
In order for the devices A and B having the operation timings shown in FIGS. 5A and 5B to communicate via the bidirectional bus 1, the conditions shown in FIG. 5D are required.

条件(a)、(b)は、第5図(イ)および第5図
(ロ)に示すように本来的に満足されている。
The conditions (a) and (b) are originally satisfied as shown in FIGS. 5 (a) and 5 (b).

条件(c)は、満足されていなく、この例ではに示
すように7nsデータ保持時間が足りないので、既述した
第1図(ロ)ライト信号整形回路3を装置Aに設けて終
端を短くしたライト信号を装置Bに通知し、第2図
(ロ)に示すように装置Bの読み込みタイミングの終端
を短くし、即ち第5図(ロ)の終端を短くしてこの短
くした分だけ図上でを左側にシフトして、の7nsデ
ータ保持時間が足りない問題を解決するようにしてい
る。これにより、当該条件(c)が装置Bから見て満足
されることとなる。
Since the condition (c) is not satisfied and the data retention time of 7 ns is not enough in this example as shown in (1), the write signal shaping circuit 3 described above in FIG. The write signal is notified to the device B, and the end of the read timing of the device B is shortened as shown in FIG. 2 (b), that is, the end of FIG. The top is shifted to the left to solve the problem of insufficient 7ns data retention time. As a result, the condition (c) is satisfied when viewed from the device B.

以上のように、ライト時に装置Aあるいは装置Bにラ
イト信号整形回路3を設けて終端を短くしたライト信号
によって装置Bがデータを取り込むことにより、第5図
(ニ)通信を行うための条件を満足させることが可能と
なる。
As described above, when the write signal shaping circuit 3 is provided in the device A or the device B at the time of writing, and the device B takes in the data by the write signal whose terminal is shortened, the condition for performing the communication shown in FIG. It is possible to satisfy.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、双方向性バス
1を介して装置間でデータ通信する場合に、3ステート
バッファ2およびライト信号整形回路3を設けて動作タ
イミングの違いを吸収する構成を採用しているため、動
作タイミングの異なる装置間例えばIOポート間を双方向
性バスを用いて直接に接続して効率的かつ高速にデータ
通信を行うことができる。
As described above, according to the present invention, when data communication is performed between devices via the bidirectional bus 1, the three-state buffer 2 and the write signal shaping circuit 3 are provided to absorb a difference in operation timing. Therefore, efficient and high-speed data communication can be performed by directly connecting devices having different operation timings, for example, between IO ports using a bidirectional bus.

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

第1図は本発明の1実施例構成図、第2図、第4図、第
5図はインタフェース説明図、第3図は第1図(ロ)の
波形図を示す。 図中、1は双方向性バス、2は3ステートバッファ、3
はライト信号整形回路、3−1はシフトレジスタを表
す。
FIG. 1 is a block diagram of an embodiment of the present invention, FIGS. 2, 4, and 5 are explanatory diagrams of an interface, and FIG. 3 is a waveform diagram of FIG. In the figure, 1 is a bidirectional bus, 2 is a 3-state buffer, 3
Denotes a write signal shaping circuit, and 3-1 denotes a shift register.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】双方向性バスを利用してデータ通信するイ
ンタフェース方式において、 データ通信しようとする装置間に設けた双方向性バス
(1)と、 自装置とこの双方向性バスとの間に設けた双方向性の3
ステートバッファ(2)と、 自装置から送出して相手装置が使用するライト信号の終
端部分を短くするライト信号整形回路(3)とを備え、 リード時に自装置がリード信号を相手装置に送出してデ
ータを上記双方向性バス(1)に送出させると共にリー
ド信号を上記3ステートバッファ(2)に入力して双方
向性バスに送出されたデータを自装置内に取り込み、一
方、ライト時に自装置がライト信号を上記ステートバッ
ファ(2)に入力してデータを上記双方向性バス(1)
に送出すると共に上記ライト信号整形回路(3)によっ
てライト信号の終端部分を短くしたライト信号によって
相手装置が双方向性バス(1)からデータを取り込むよ
うに構成したことを特徴とするインタフェース方式。
An interface system for performing data communication using a bidirectional bus, comprising: a bidirectional bus (1) provided between devices to perform data communication; 3
A state buffer (2) and a write signal shaping circuit (3) for shortening the end portion of a write signal sent from the own device and used by the other device, and the own device sends a read signal to the other device at the time of reading. To send data to the bidirectional bus (1) and input a read signal to the three-state buffer (2) to fetch the data sent to the bidirectional bus into its own device. A device inputs a write signal to the state buffer (2) and transfers data to the bidirectional bus (1).
And the other device takes in data from the bidirectional bus (1) by a write signal whose write signal shaping circuit (3) shortens the end of the write signal by the write signal shaping circuit (3).
JP19632588A 1988-08-06 1988-08-06 Interface method Expired - Lifetime JP2629027B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19632588A JP2629027B2 (en) 1988-08-06 1988-08-06 Interface method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19632588A JP2629027B2 (en) 1988-08-06 1988-08-06 Interface method

Publications (2)

Publication Number Publication Date
JPH0245858A JPH0245858A (en) 1990-02-15
JP2629027B2 true JP2629027B2 (en) 1997-07-09

Family

ID=16355943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19632588A Expired - Lifetime JP2629027B2 (en) 1988-08-06 1988-08-06 Interface method

Country Status (1)

Country Link
JP (1) JP2629027B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04326449A (en) * 1991-04-26 1992-11-16 Sharp Corp Interface device

Also Published As

Publication number Publication date
JPH0245858A (en) 1990-02-15

Similar Documents

Publication Publication Date Title
US5430847A (en) Method and system for extending system buses to external devices
US4984190A (en) Serial data transfer system
US5067075A (en) Method of direct memory access control
JPH01133167A (en) Data transfer driver
US6487617B1 (en) Source-destination re-timed cooperative communication bus
JP2962787B2 (en) Communication control method
JP2629027B2 (en) Interface method
US6282593B1 (en) Extension of electronic buses and their bus protocols using signal-propagation timing compensation
JPS6361533A (en) Serial data transfer device
KR960006507B1 (en) Computer system, system expansion unit, bus linkage unit and bus signal transfer method
KR19990008189A (en) Method and apparatus for reducing the latency of an interface by overlapping transmitted packets
KR100606698B1 (en) Interfacing apparatus
RU1807495C (en) Process-to-process interface
SU1221656A1 (en) Multichannel device for controlling information exchange among computers
KR950002316B1 (en) Data transmission device for fax
SU1614016A1 (en) Data input device
SU1672459A1 (en) Computer-to-external storage interface unit
SU1539787A1 (en) Multichannel processor-to-subscribers interface
SU1257656A1 (en) Interface for linking digital computer with peripheral unit
SU1399751A1 (en) Device for interfacing two computers
KR0118651Y1 (en) Interface apparatus between pc and image processor
KR900003621Y1 (en) Data exchange apparatus among different processors
SU809143A1 (en) Device for interfacing with computer system common line
JPH0681158B2 (en) Data transfer control device
JPS61216192A (en) Memory writing system