JPH0264840A - Data transfer equipment - Google Patents

Data transfer equipment

Info

Publication number
JPH0264840A
JPH0264840A JP21522088A JP21522088A JPH0264840A JP H0264840 A JPH0264840 A JP H0264840A JP 21522088 A JP21522088 A JP 21522088A JP 21522088 A JP21522088 A JP 21522088A JP H0264840 A JPH0264840 A JP H0264840A
Authority
JP
Japan
Prior art keywords
data
byte
word
circuit
low
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
JP21522088A
Other languages
Japanese (ja)
Inventor
Yoshihiko Kitamikado
北御門 好彦
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP21522088A priority Critical patent/JPH0264840A/en
Publication of JPH0264840A publication Critical patent/JPH0264840A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To stably transfer words between a central processing unit and plural peripheral equipments by using a data decision signal showing the decision of a high byte and a low byte. CONSTITUTION:A data decision circuit 13 transmits transmission data switched in a multiplexer 2 to a data bus 8 and transmits the data decision signal 14 to the peripheral equipments by generating the data decision signal 14 by a high/low switching signal 11 and controlling a buffer circuit 3. At that time, a byte switching timing circuit 5 transmits timings which transmission data decides in the high byte and the low byte to the peripheral equipments as data timing pulses 9. Thus, the data decision signal 14 is provided and the decision of data of the high byte and the low byte is instructed to the peripheral equipments. Thus, data is stably transferred between the central processing unit 1 and the peripheral equipments.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ転送装置に間し、特に、中央処理装置
と複数の周辺装置間でワード転送を安定して行なうデー
タ転送装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer device, and particularly to a data transfer device that stably performs word transfer between a central processing unit and a plurality of peripheral devices.

[従来の技術] 第2図は、従来のデータ転送装置のブロック図である。[Conventional technology] FIG. 2 is a block diagram of a conventional data transfer device.

同図において、lは中央処理装置(CPU)、2はマル
チプレクサ、3,7はバッファ回路、4はワードバイト
識別回路、5はバイト切換タイミング回路、6はラッチ
回路、8は8ビツトデータバスである。
In the figure, l is a central processing unit (CPU), 2 is a multiplexer, 3 and 7 are buffer circuits, 4 is a word byte identification circuit, 5 is a byte switching timing circuit, 6 is a latch circuit, and 8 is an 8-bit data bus. be.

上記構成において、16ビツトの中央処理装置1が周辺
装置とバイトアクセスを行なうときには、ワードバイト
識別回路4でバイトアクセスであることを識別し、識別
信号をバイト切換タイミング回路5へ送出する。バイト
切換タイミング回路5は、この識別信号を受信すると、
ハイ/ロー切り換え信号線11を介してマルチプレクサ
2に切り換え信号を送出する。
In the above configuration, when the 16-bit central processing unit 1 performs byte access with a peripheral device, the word byte identification circuit 4 identifies a byte access and sends an identification signal to the byte switching timing circuit 5. When the byte switching timing circuit 5 receives this identification signal,
A switching signal is sent to the multiplexer 2 via the high/low switching signal line 11.

一方、マルチプレクサ2では、送信データをハイバイト
とローバイトに切り換え、中央処理装置1からワードバ
イト識別回路4へ送出される二度の信号に応じてそれぞ
れバッファ回路3を介して8ビツトデータバス8へ送出
する。
On the other hand, the multiplexer 2 switches the transmission data into a high byte and a low byte, and transmits the data to the 8-bit data bus 8 via the buffer circuit 3 in response to the two signals sent from the central processing unit 1 to the word byte identification circuit 4. Send to.

この場合、バイト切換タイミング回路5は、送信データ
がハイバイトとローバイトでそれぞれ確定するタイミン
グを、データタイミングパルス9として各周辺装置へ出
力する。従って、周辺装置側では、このデータタイミン
グパルス9によって読み取る送信データのハイバイ!・
とローバイトを切り換える。
In this case, the byte switching timing circuit 5 outputs the timing at which the transmission data is determined as a high byte and a low byte, respectively, as a data timing pulse 9 to each peripheral device. Therefore, on the peripheral device side, the transmission data read by this data timing pulse 9 is hi-bye!・
and switch the low bite.

さて、周辺装置は、転送方向を指示するライト信号を受
信すると、確定しているデータタイミングパルス9で中
央処理装置1からのハイバイトとローバイトをラッチす
る。
Now, when the peripheral device receives a write signal instructing the transfer direction, it latches the high byte and low byte from the central processing unit 1 using the established data timing pulse 9.

これに対し、各周辺装置からの送信データを受信すると
きには、ワードバイト識別回路4でワードアクセスであ
ることを識別し、識別信号をバイト切換タイミング回路
5へ送出する。バイト切換タイミング回路5は、識別信
号を受信すると、ラッチ回路6に対してラッチパルス1
2を送出する。
On the other hand, when receiving transmission data from each peripheral device, the word byte identification circuit 4 identifies word access and sends an identification signal to the byte switching timing circuit 5. When the byte switching timing circuit 5 receives the identification signal, it sends a latch pulse 1 to the latch circuit 6.
Send 2.

すると、ラッチ回路6は8ビツトデータバス8を介して
送られてきた最初のバイトデータをラッチする。そして
、8ビツトデータバス8を介してバッファ回路7に人力
された次のバイトデータとともに、中央処理装置lにワ
ードとして取り込まれる。
Then, the latch circuit 6 latches the first byte data sent via the 8-bit data bus 8. Then, along with the next byte data input to the buffer circuit 7 via the 8-bit data bus 8, it is taken in as a word into the central processing unit 1.

従来のデータ転送装置は、以上のようにしてワード転送
を行なっていた。
Conventional data transfer devices perform word transfer as described above.

[解決すべき課題] 上述した従来のデータ転送装置は、送信データのハイバ
イトとローバイトの切り換えの際にバッファ回路から雑
音が発生すると、ライト信号が途中で変化してしまうた
め、周辺装置で送信データのハイバイトとローバイトを
正常にラッチできなくなるという課題があった。
[Problems to be solved] In the conventional data transfer device described above, if noise is generated from the buffer circuit when switching between the high byte and low byte of the transmission data, the write signal changes midway, so it is difficult for peripheral devices to There was a problem in that the high byte and low byte of the transmitted data could not be latched correctly.

また、中央処理装置が周辺装置のデータを読み取る場合
にも、周辺装置からの送信データのハイバイトとローバ
イトの切り換えで雑音が発生すると、リード信号が途中
で変化してしまい、送信データを正常に中央処理装置へ
送れないという課題があった。
Also, when the central processing unit reads data from a peripheral device, if noise occurs due to switching between high byte and low byte of data sent from the peripheral device, the read signal changes midway, causing the data to be sent correctly. There was a problem that the data could not be sent to the central processing unit.

本発明は、上記課題にかんがみてなされたもので、中央
処理装置と複数の周辺装置間でワード転送を安定して行
なうデータ転送装置の提供を目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a data transfer device that stably performs word transfer between a central processing unit and a plurality of peripheral devices.

[課題の解決手段] 上記目的を達成するため、本発明のデータ転送装置は、
ワード転送を行なうCPUと、ワード転送によるデータ
送信の際、ワードデータをハイバイトとローバイトに切
り換えて出力するマルチプレクサと、ワード転送による
データ受信の際、連続して転送されるハイバイトをラッ
チし、ローバイトのデータとともにてワードデータとし
て上記CPUに出力するラッチ回路と、入出力データを
一時記憶するバッファ回路と、上記CPUによるワード
アクセスを検出するワードバイト識別回路と、このワー
ドバイト識別回路によってワードアクセスが検出された
とき、上記マルチプレクサとラッチ回路を制御してハイ
バイトとローバイトの切り換えを行なわしめるバイト切
換タイミング回路と、このバイト切換タイミング回路に
よる切り換えタイミングに応じて、ハイバイトとローバ
イトのデータの確定時にデータの送信および受信を行な
わしめるデータ確定回路とを備えた構成としである。
[Means for solving the problem] In order to achieve the above object, the data transfer device of the present invention has the following features:
A CPU that performs word transfer, a multiplexer that switches and outputs word data into high byte and low byte when transmitting data by word transfer, and a multiplexer that latches the high byte that is continuously transferred when receiving data by word transfer. , a latch circuit that outputs the low byte data as word data to the CPU, a buffer circuit that temporarily stores input/output data, a word byte identification circuit that detects word access by the CPU, and this word byte identification circuit. When a word access is detected, a byte switching timing circuit controls the multiplexer and latch circuit to switch between high byte and low byte, and the high byte and low byte are switched according to the switching timing by this byte switching timing circuit. The configuration includes a data confirmation circuit that transmits and receives data when the data is confirmed.

すなわち、CPUからのワード転送指令に対応して送信
データをハイバイトとローバイトに切り換え、連続して
周辺装置へデータを転送する際、安定してデータを転送
するためにハイバイトとローバイトの確定を示すデータ
確定信号を使用している。
In other words, the transmission data is switched between high byte and low byte in response to a word transfer command from the CPU, and when data is continuously transferred to a peripheral device, the high byte and low byte are switched in order to transfer data stably. A data confirmation signal is used to indicate confirmation.

また、同様に周辺装置からCPUヘデータを安定して転
送するために、周辺装置からのハイバイトとローバイト
が確定した時点でデータ確定信号によってデータの送出
を指示している。
Similarly, in order to stably transfer data from the peripheral device to the CPU, a data confirmation signal is used to instruct data transmission when the high byte and low byte from the peripheral device are confirmed.

[実施例] 以下、図面にもとづいて本発明の詳細な説明する。[Example] Hereinafter, the present invention will be explained in detail based on the drawings.

第1図は、本発明の一実施例に係るデータ転送装置のブ
ロック図である。なお、従来例と共通または対応する部
分については同一の符号で表す。
FIG. 1 is a block diagram of a data transfer device according to an embodiment of the present invention. Note that parts common to or corresponding to those of the conventional example are denoted by the same reference numerals.

同図において、13はデータ確定回路である。In the figure, 13 is a data confirmation circuit.

上記構成において、16ビツトの中央処理装置lが周辺
装置とバイトアクセスを行なうときには、ワードバイト
識別回路4とバイト切換タイミング回路5、およびマル
チプレクサ2によって送信データをハイバイトとローバ
イトに切り換えて送信する。この基本的処理は従来と変
わるところはない。
In the above configuration, when the 16-bit central processing unit 1 performs byte access with a peripheral device, the word byte identification circuit 4, the byte switching timing circuit 5, and the multiplexer 2 switch the transmission data into a high byte and a low byte and transmit the data. . This basic processing is unchanged from the conventional one.

しかし、データ確定回路13は、ハイ/ロー切り換え信
号11によってデータ確定信号14を作成する。そして
、バッファ回路3を制御することにより、マルチプレク
サ2で切り換えられた送信データを8ビツトデータバス
8へ送出するとともに、データ確定信号14を周辺装置
へ送出する。
However, the data confirmation circuit 13 creates the data confirmation signal 14 based on the high/low switching signal 11. By controlling the buffer circuit 3, the transmission data switched by the multiplexer 2 is sent to the 8-bit data bus 8, and the data confirmation signal 14 is sent to the peripheral device.

このとき、バイト切換タイミング回路5は、送信データ
がハイバイトとローバイトでそれぞれ確定するタイミン
グをデータタイミングパルス9として各周辺装置へ送出
する。
At this time, the byte switching timing circuit 5 sends the timing at which the transmission data is determined as a high byte and a low byte to each peripheral device as a data timing pulse 9.

一方、各周辺装置は、データ確定信号14によって目装
置側バッファ回路をイネーブルとし、データタイミング
パルス9によって送信データの取り込みおよびバイト切
り換えを行なう。
On the other hand, each peripheral device uses the data confirmation signal 14 to enable the device side buffer circuit, and uses the data timing pulse 9 to take in transmission data and switch bytes.

これに対し、各周辺装置からの送信データを受信すると
きには、ワードバイト識別回路4でワードアクセスであ
ることを識別し、バイト切換タイミング回路5からハイ
/ロー切り換え信号11をデータ確定回路13に送出す
る。すると、データ確定回路13は周辺装置の送信デー
タが確定した時点で周辺装置へデータ確定信号14を送
出し、周辺装置にデータを8ビツトデータバス8へ送出
するよう指示する。その後、従来と同様にしてラッチ回
路6とバッファ回路7でハイバイトとローバイトを受信
し、この後続くデータが確定した時点で中央処理装置l
にワードとして取り込まれる。
On the other hand, when receiving transmission data from each peripheral device, the word byte identification circuit 4 identifies word access, and the byte switching timing circuit 5 sends a high/low switching signal 11 to the data confirmation circuit 13. do. Then, the data confirmation circuit 13 sends a data confirmation signal 14 to the peripheral device when the transmission data of the peripheral device is confirmed, and instructs the peripheral device to send the data to the 8-bit data bus 8. Thereafter, the latch circuit 6 and buffer circuit 7 receive the high byte and low byte in the same way as in the past, and when the subsequent data is determined, the central processing unit l
is imported as a word.

このように本実施例は、中央処理装置と周辺装置との間
のデータ転送にあたり、中央処理装置からのワード転送
指令に応答してバイト切り換え手段で送信データをハイ
バイトとローバイトとに切り換え、連続して周辺装置へ
送出する際、データを安定して周辺装置へ送出するへく
、データ確定信号を設けてハイバイトとローバイトのデ
ータ確定を周辺装置へ指示している。
In this way, in this embodiment, when transferring data between the central processing unit and the peripheral device, the byte switching means switches the transmitted data between high byte and low byte in response to a word transfer command from the central processing unit. In order to stably send data to the peripheral device when continuously sending data to the peripheral device, a data confirmation signal is provided to instruct the peripheral device to confirm the high byte and low byte data.

また、同様に中央処理装置からのワード転送指令に対応
してデータ供給手段によって周辺装置から連続して送信
されるデータをハイバイトとローバイトに切り換えて受
信し、中央処理装置に供給する際、データを安定して周
辺装置から読み取るべく、データが安定したところでデ
ータ確定信号を周辺装置へ送出してデータを出力させて
いる。
Similarly, in response to a word transfer command from the central processing unit, the data supply means switches and receives data continuously transmitted from a peripheral device into high byte and low byte, and supplies the data to the central processing unit. In order to stably read data from the peripheral device, once the data is stable, a data confirmation signal is sent to the peripheral device to output the data.

[発明の効果] 以上説明したように本発明は、CP Uから送信データ
をワードとして送出するとともに、マルチプレクサによ
ってワードをハイバイトとローバイトに切り換えて連続
して送出し、また、周辺装置から8ビツトデータな二回
読み上げるデータ転送(バイトアクセス)において、デ
ータ確定信号を使用することにより、CPUと周辺装置
のデータ転送を安定して行なわしめるデータ転送装置を
提供できるという効果がある。
[Effects of the Invention] As explained above, the present invention transmits transmission data from the CPU as a word, and also uses a multiplexer to switch the word into a high byte and a low byte and transmits it continuously. By using the data confirmation signal in data transfer (byte access) in which bit data is read out twice, it is possible to provide a data transfer device that stably transfers data between the CPU and peripheral devices.

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

第1図は本発明の一実施例に係るデータ転送装置のブロ
ック図、第2図は従来のデータ転送装置のブロック図で
ある。 1:中央処理装置 2:マルチプレクサ 3.7:バッフ7回路 4:ワードバイト識別回路 5:バイト切換タイミング回路 6:ラッチ回路 13:データ確定回路
FIG. 1 is a block diagram of a data transfer device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional data transfer device. 1: Central processing unit 2: Multiplexer 3.7: Buffer 7 circuit 4: Word byte identification circuit 5: Byte switching timing circuit 6: Latch circuit 13: Data confirmation circuit

Claims (1)

【特許請求の範囲】[Claims] ワード転送を行なうCPUと、ワード転送によるデータ
送信の際、ワードデータをハイバイトとローバイトに切
り換えて出力するマルチプレクサと、ワード転送による
データ受信の際、連続して転送されるハイバイトをラッ
チし、ローバイトのデータとともにてワードデータとし
て上記CPUに出力するラッチ回路と、入出力データを
一時記憶するバッファ回路と、上記CPUによるワード
アクセスを検出するワードバイト識別回路と、このワー
ドバイト識別回路によってワードアクセスが検出された
とき、上記マルチプレクサとラッチ回路を制御してハイ
バイトとローバイトの切り換えを行なわしめるバイト切
換タイミング回路と、このバイト切換タイミング回路に
よる切り換えタイミングに応じて、ハイバイトとローバ
イトのデータの確定時にデータの送信および受信を行な
わしめるデータ確定回路とを具備することを特徴とする
データ転送装置。
A CPU that performs word transfer, a multiplexer that switches and outputs word data into high byte and low byte when transmitting data by word transfer, and a multiplexer that latches the high byte that is continuously transferred when receiving data by word transfer. , a latch circuit that outputs the low byte data as word data to the CPU, a buffer circuit that temporarily stores input/output data, a word byte identification circuit that detects word access by the CPU, and this word byte identification circuit. When a word access is detected, a byte switching timing circuit controls the multiplexer and latch circuit to switch between high byte and low byte, and the high byte and low byte are switched according to the switching timing by this byte switching timing circuit. 1. A data transfer device comprising: a data confirmation circuit that transmits and receives data when data is confirmed.
JP21522088A 1988-08-31 1988-08-31 Data transfer equipment Pending JPH0264840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21522088A JPH0264840A (en) 1988-08-31 1988-08-31 Data transfer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21522088A JPH0264840A (en) 1988-08-31 1988-08-31 Data transfer equipment

Publications (1)

Publication Number Publication Date
JPH0264840A true JPH0264840A (en) 1990-03-05

Family

ID=16668689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21522088A Pending JPH0264840A (en) 1988-08-31 1988-08-31 Data transfer equipment

Country Status (1)

Country Link
JP (1) JPH0264840A (en)

Similar Documents

Publication Publication Date Title
JPH0535668A (en) Signal processor
US5978877A (en) Translating SCSI bus control and/or data signals between differential and single-ended formats
JPH0264840A (en) Data transfer equipment
CA2095514A1 (en) Digital switching system interconnecting buses with incompatible protocols
JPH02226419A (en) Data array conversion control system
KR970007157Y1 (en) Interface apparatus between system bus and multiple parallel port
JPH0738399A (en) Bidirectional buffer circuit
JPS62245356A (en) Data transfer system
JP2820292B2 (en) Daisy-chain type additional data transmission equipment
JP2636003B2 (en) Data transfer control device
JPH10177547A (en) Serial data communication circuit
JP2680200B2 (en) Communication control device
KR900006798Y1 (en) Device for sharing printers
JP2616010B2 (en) Packet network
JPS58195341A (en) Loop terminal equipment
JPH0218076A (en) Image forming device
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
JPH0426504B2 (en)
JPS63170760A (en) Data bus terminal equipment
JPS63110838A (en) Synchronizing signal transfer system
JPH0870295A (en) Signal transmission method
JPH04336726A (en) Data transmitter
JPH03150657A (en) Line system among input devices
JPS57199357A (en) Data transmission controller
JPH0695700B2 (en) Data communication device