JPH01292460A - General purpose parallel interface - Google Patents

General purpose parallel interface

Info

Publication number
JPH01292460A
JPH01292460A JP12328588A JP12328588A JPH01292460A JP H01292460 A JPH01292460 A JP H01292460A JP 12328588 A JP12328588 A JP 12328588A JP 12328588 A JP12328588 A JP 12328588A JP H01292460 A JPH01292460 A JP H01292460A
Authority
JP
Japan
Prior art keywords
bus
data
signal
cpu
parallel interface
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
JP12328588A
Other languages
Japanese (ja)
Inventor
Yoshitomo Honda
本田 善友
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 Office Systems Ltd
Original Assignee
NEC Office Systems 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 Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP12328588A priority Critical patent/JPH01292460A/en
Publication of JPH01292460A publication Critical patent/JPH01292460A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To make it possible to connect a device having a different bit wait by providing a general purpose parallel interface with a circuit for switching the bit weight of transfer data between a CPU bus and an interface bus. CONSTITUTION:The device is constituted of a CPU bus A, a CPU 1 connected to the bus A, the general purpose parallel interface 2, and the bit weight switching circuit 5 connected to the interface 2 and an interface bus (IEEE-488 bus) J to receive a bit weight switching signal K through an AND circuit 6. On the other hand, peripheral devices 3, 4 are connected to the bus J. When a switching instruction signal K from the CPU 1 is '1' (effective) and an ATN signal H is '1' (data mode), the switching circuit 5 converts transmitted/received data into data with reverse bit weight by a switching signal L '1' (effective) outputted from the circuit 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、汎用パラレルインタフェース、特にコンピュ
ータシステムにおいてCPUと多種の周辺装置を結合す
る汎用パラレルインタフェースに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a general purpose parallel interface, and more particularly to a general purpose parallel interface for coupling a CPU and various peripheral devices in a computer system.

〔従来の技術〕[Conventional technology]

コンピュータシステムにおいて、CPUと多種の周辺装
置を結合する汎用パラレルインタフェースは、IEEE
で規格化されており、r I EEEStandard
 488〜1978」 (以下、IEEE−488バス
という)として標準化されている。IEEE−488バ
スは、各種計測機器や周辺装置などを複数台並列に接続
し、コマンドによるリモートコントロールやデータ転送
を標準化することによって容易にシステムを構築するこ
とができる汎用パラレルインタフェースバスである。I
EEE−488バスは、データバス8本、転送制御バス
3本、管理バス5本の合計16本の信号線から成る。バ
スに接続された各種装置間のデータ転送は、3本の転送
制御線によって行なわれる(3線ハンドシ工−ク方式)
。異なった転送速度の装置間でも確実な転送が可能であ
る。
In computer systems, the general-purpose parallel interface that connects the CPU and various peripheral devices is the IEEE standard.
It is standardized by r IEE Standard.
488-1978'' (hereinafter referred to as IEEE-488 bus). The IEEE-488 bus is a general-purpose parallel interface bus that allows systems to be easily constructed by connecting a plurality of various measuring instruments and peripheral devices in parallel and standardizing remote control and data transfer using commands. I
The EEE-488 bus consists of a total of 16 signal lines: 8 data buses, 3 transfer control buses, and 5 management buses. Data transfer between various devices connected to the bus is performed using three transfer control lines (3-wire handshake method).
. Reliable transfer is possible even between devices with different transfer speeds.

第2図は、従来の汎用パラレルインタフェースによるコ
ンピュータシステムと周辺装置との結合を示すブロック
図である。
FIG. 2 is a block diagram illustrating the coupling of a computer system and peripheral devices using a conventional general-purpose parallel interface.

汎用パラレルインタフェース2は、IEEE−488で
定義されるトーカとリスナの機能を備えている。トーカ
とは、データをI EEE−488バスJ上に送出する
機能を持つものであり、リスナとは、データをIEEE
−488バスJ上のデータを取り込む機能を持つもので
ある。IEEE−488バスJに接続される周辺装置3
および4はトーカ、リスナの内の少なくとも一つの機能
を備えている。第2図には、便宜上周辺装置が二つしか
示されていないが、IEEE−488の電気的な規格を
満足しさえすれば、二つ以上存在しても構わない。
The general-purpose parallel interface 2 has talker and listener functions defined by IEEE-488. A talker has the function of sending data onto the IEEE-488 bus J, and a listener has the function of sending data onto the IEEE-488 bus J.
It has the function of importing data on the -488 bus J. Peripheral device 3 connected to IEEE-488 bus J
and 4 have at least one function of a talker and a listener. Although only two peripheral devices are shown in FIG. 2 for convenience, two or more peripheral devices may be present as long as they satisfy the electrical standards of IEEE-488.

また、汎用パラレルインタフェースおよび周辺装置3お
よび4の内少なくとも一つはIEEE−488で定義さ
れるコントローラの機能を備えている。コントローラは
IEEE−488バスJを統括するもので、トーカおよ
びリスナは、コントローラから送出されるコマンドによ
りその機能を発揮する。
Further, at least one of the general-purpose parallel interface and peripheral devices 3 and 4 has a controller function defined by IEEE-488. The controller controls the IEEE-488 bus J, and the talker and listener perform their functions in response to commands sent from the controller.

データの送出は、IEEE−488バスJ上に接続され
たトーカからリスナに対して行なわれる。すなわち、汎
用パラレルインタフェース2がトーカとして機能すると
きは、IEEE−488バス上に接続された周辺装置の
内リスナとして機能する周辺装置からのデータを取り込
む。
Data is sent from a talker connected to the IEEE-488 bus J to a listener. That is, when the general-purpose parallel interface 2 functions as a talker, it takes in data from one of the peripheral devices connected to the IEEE-488 bus that functions as a listener.

第3図は、汎用パラレルインタフェースのデータ転送の
一例を示すタイムチャートである。以下に、第3図を参
照して、汎用パラレルインタフェースのデータおよびコ
マンドの転送について説明する。
FIG. 3 is a time chart showing an example of data transfer using a general-purpose parallel interface. The transfer of data and commands of the general-purpose parallel interface will be described below with reference to FIG.

IEEE−488バスJの動作には、コマンドモードと
データモードとがある。コマンドモードは、コントロー
ラがトーカまたはリスナに対して、I EEE−488
バスJを介してコマンドを送出し、トーカ/リスナの指
定等を行なうモードであり、コントローラが管理バスの
アテンション信号H(以下、ATN信号という)を論理
r□。
The IEEE-488 bus J operates in a command mode and a data mode. Command mode allows the controller to send IEEE-488
In this mode, commands are sent via bus J to specify talkers/listeners, etc., and the controller converts the attention signal H (hereinafter referred to as ATN signal) of the management bus to logic r□.

にすることで規定される。データモードは、トーカがリ
スナに対して、IEEE−488バスJを介してデータ
を送出すモードであり、コントローラが管理バスのAT
N信号Hを論理「1」にすることで規定される。いずれ
のモードであっても、情報の送り側と受け側は、転送制
御バス3本を使用した3線ハンドシエークを行なうこと
によって、IEEE−488バスを介した情報を送受を
行なう。
It is defined by The data mode is a mode in which the talker sends data to the listener via the IEEE-488 bus J, and the controller sends data to the listener via the management bus AT.
It is defined by setting the N signal H to logic "1". In either mode, the information sending and receiving sides send and receive information via the IEEE-488 bus by performing a three-wire handshake using three transfer control buses.

転送制御バスは、データバリッド信号(以下、DAV信
号という)Eと、not ready for dat
a信号(以下、NRFD信号という)Fと、not d
ataaccepted信号(以下、NDAC信号とい
う)Gとからなる。DAV信号は、トーカまたはコント
ローラが、データまたはコマンドをI EEE−488
バスJに送出する際に論理「0」にして、IEEE−4
88バスJ上のデータが有効であることを示す信号であ
る。NRFD信号は、リスナがデータを受け取る準備が
できていないときに論理「0」となり、準備ができた状
態で論理「1」となる、NDAC信号は、リスナがデー
タの受取りを完了したときに論理「1」となり、受取り
を完了しないとき論理「0」となる。
The transfer control bus has a data valid signal (hereinafter referred to as DAV signal) E and a not ready for data signal.
a signal (hereinafter referred to as NRFD signal) F and not d
ataaccepted signal (hereinafter referred to as NDAC signal) G. A DAV signal allows a talker or controller to send data or commands using IEEE-488
When sending to bus J, set it to logic "0" and
This signal indicates that the data on the 88 bus J is valid. The NRFD signal is a logic ``0'' when the listener is not ready to receive data and a logic ``1'' when it is ready.The NDAC signal is a logic ``0'' when the listener is finished receiving data. It becomes "1" and becomes logic "0" when the reception is not completed.

情報の送り側のデバイスは、送りたい情報をIEEE−
488バスJ上に送出するのに引き続いて、DAV信号
を論理r□、にする。受け側のデバイスは、DAV信号
が論理「0」になったことで、情報がIEEE−488
バスJ上に送出されたことを検知し、NRFD信号を論
理「0」とすると同時に情報を取り込む動作を開始する
。この動作を完了したデバイスは、そのNDAC信号の
を論理「1」にする、この場合に複数個の受け側デバイ
スがあれば、NDAC信号はワイヤードオア結合になっ
ているから、最も取り込みの遅いデバイスが取り込みを
完了して初めてNDAC信号が論理「1」となる。
The device sending the information sends the information to IEEE-
Subsequent to sending on the 488 bus J, the DAV signal is set to logic r□. When the DAV signal becomes logic “0”, the receiving device receives the information from IEEE-488.
It detects that it has been sent onto bus J, and at the same time sets the NRFD signal to logic "0", it starts the operation of taking in information. A device that completes this operation sets its NDAC signal to logic "1". In this case, if there are multiple receiving devices, the NDAC signal is a wired-or combination, so the device that takes in the slowest The NDAC signal becomes logic "1" only after the data acquisition is completed.

送り側デバイスは、NDAC信号が論理「1」になった
ことを検知して、すべての受け側のデバイスがデータバ
ス上の情報の受け取りを完了したと判断し、DAV信号
を論理r1.にし、情報の送出を停止する。受け側のデ
バイスは各々にDA■信号が論理「1」にもどったこと
を検知して、NDAC信号を論理「O」にすると同時に
NRFD出力を論理「1」にする。NRFD信号線もワ
イヤードオア結語されているので、最も遅いデバイスが
NRFD信号を論理rQJにして初めてNRFD信号が
論理「0」となる。これにより、複数個の受け側デバイ
スがあっても、その内で最も動作の遅いデバイスに合せ
てハンドシェイク動作が実行される。
The sending device detects that the NDAC signal becomes logic "1", determines that all receiving devices have completed receiving information on the data bus, and changes the DAV signal to logic r1. and stop sending information. Each receiving device detects that the DA■ signal has returned to logic "1" and simultaneously sets the NDAC signal to logic "O" and simultaneously sets the NRFD output to logic "1". Since the NRFD signal line is also wired-OR connected, the NRFD signal becomes logic "0" only when the slowest device makes the NRFD signal logic rQJ. As a result, even if there are a plurality of receiving devices, the handshake operation is performed according to the slowest device among them.

CPUIと汎用パラレルインタフェース2とのデータの
受け渡しは、CPUバスAを介して行なわれる。汎用パ
ラレルインタフェース2は、CPU1からのライト命令
CによりI EEE−488バスJに送出するコマンド
やデータを、CPUバスから取り込み、リード命令りに
より、I EEE−488バスJから取り込んだコマン
ドやデータをCPUバスA上に送出する。
Data is exchanged between the CPUI and the general-purpose parallel interface 2 via the CPU bus A. The general-purpose parallel interface 2 takes in commands and data to be sent to the IEEE-488 bus J from the CPU bus in response to a write command C from the CPU 1, and receives commands and data taken in from the IEEE-488 bus J in response to a read command. Send on CPU bus A.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の汎用パラレルインタフェースを使用して
、CPUと多種の周辺装置を結合する場合に、例えばそ
れらの装置の中に、CPUが内部で扱うデータとは異な
るビットウェイトの装置がある場合には、ビットウェイ
トを同じにするために、汎用パラレルインタフェースの
データバス線の結線を変えるか、またはCPU側でビッ
トウェイト変換の処理を行なわなければならない、前者
の方法では、コマンドの送受が正常に行なえなくなり、
後者の方法では処理が遅くなるという欠点がある。
When connecting a CPU and various peripheral devices using the conventional general-purpose parallel interface described above, for example, if some of those devices have a bit weight that is different from the data handled internally by the CPU, In order to make the bit weights the same, it is necessary to change the wiring of the data bus line of the general-purpose parallel interface, or to perform bit weight conversion processing on the CPU side. With the former method, commands cannot be sent and received normally. gone,
The latter method has the disadvantage of slow processing.

本発明の目的は、簡単な回路構成で、処理速度を落とさ
ず、しかもコマンドの送受も正常に行なえるような汎用
パラレルインタフェースを提供することである。
An object of the present invention is to provide a general-purpose parallel interface that has a simple circuit configuration, does not reduce processing speed, and can also send and receive commands normally.

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

本発明によれば、CPUとデータの受け渡しを直接行な
うCPUバスと、周辺装置とデータの受け渡しを行なう
インタフェースバスとの間に設けられ、CPUの指示に
応じて両バス間のデータの受け渡しを行なう汎用パラレ
ルインタフェースにおいて、CPUの指示に応じて、両
バス間の受け渡しデータのビットウェイトを切り換える
切換回路を具備する汎用パラレルインタフェースが得ら
れる。
According to the present invention, a bus is provided between a CPU bus that directly exchanges data with the CPU, and an interface bus that exchanges data with peripheral devices, and exchanges data between the two buses in accordance with instructions from the CPU. In the general-purpose parallel interface, a general-purpose parallel interface is provided that includes a switching circuit that switches the bit weight of data transferred between both buses in accordance with instructions from the CPU.

〔実施例〕〔Example〕

次に、本発明の一実施例を示した図面を参照して、本発
明の詳細な説明する。
Next, the present invention will be described in detail with reference to the drawings showing one embodiment of the present invention.

第1図は、本発明の一実施例の汎用パラレルインタフェ
ースにより、コンピュータシステムと周辺装置とを結合
したものである。第1図における参照番号が第2図にお
ける参照番号と同じものは、同一の機能を有する。
FIG. 1 shows a computer system and peripheral devices coupled by a general purpose parallel interface in accordance with one embodiment of the present invention. Components having the same reference numbers in FIG. 1 as those in FIG. 2 have the same functions.

本実施例において、汎用パラレルインタフェース2とI
EEE−488バスJとの間にビットウェイト切換回路
5が設けられている。切換回路5は、切換信号りが論理
「0」のときは、通常のビットウェイトのデータを送受
信し、論理「1」のときは、ビットウェイトを逆にした
データに切換えて送受信する。信号にはCPIIからの
切換命令の信号であり、論理「1」のときに有効となり
、ビットウェイトが逆のデータに切換える命令である1
、切換命令信号にとATN信号Hとは論理積回路6によ
り切換信号りとなる。データ送受信の際に、切換命令信
号Kが有効、すなわち論理「1」でかつATN信号Hが
データモードすなわち論理「1」のときは、論理積回路
6により、切換信号りが有効、すなわち論理「1」とな
り、ビットウェイトが逆のデータに切換えられる。これ
により、I EEE−488バスJに接続されている周
辺装置の中に、CPUIが内部で扱うデータとは異なる
ビットウェイトの装置が有る場合でも、汎用パラレルイ
ンタフェース2は切換回路5を通して、CPU 1が扱
うデータと同じビットウェイトのデータを受け取り、ビ
ットウェイトが異なる装置と同じビットウェイトのデー
タを送出できる。
In this embodiment, general-purpose parallel interface 2 and I
A bit weight switching circuit 5 is provided between the EEE-488 bus J and the EEE-488 bus J. The switching circuit 5 transmits and receives data with normal bit weight when the switching signal is logic "0", and switches to data with the bit weight reversed when the switching signal is logic "1". The signal is a switching command signal from CPII, which becomes valid when the logic is "1", and is a command to switch to data with the opposite bit weight.
, the switching command signal and the ATN signal H are converted into a switching signal by an AND circuit 6. During data transmission/reception, when the switching command signal K is valid, that is, logic "1", and the ATN signal H is in data mode, that is, logic "1", the AND circuit 6 causes the switching signal to be valid, that is, logic "1". 1'' and the bit weight is switched to data with the opposite bit weight. As a result, even if there is a device among the peripheral devices connected to the IEEE-488 bus J that has a bit weight that is different from the data that the CPU handles internally, the general-purpose parallel interface 2 can transfer the data to the CPU 1 through the switching circuit 5. It can receive data with the same bit weight as the data handled by the device, and send data with the same bit weight as a device with a different bit weight.

なお、ATN信号Hがコマンドモード、すなわち論理r
□、のときは、切換信号りは無効、すなわち論理「0」
となり、ビットウェイトが逆のデータに切り換わること
はないので、コマンドの送受信の際もビットエエイトが
逆になってしまうという不都合は生じない。
Note that the ATN signal H is in command mode, that is, logic r
□, the switching signal is invalid, that is, logic "0"
Since the bit weight is never switched to data with the opposite bit weight, the inconvenience of the bit weight being reversed does not occur when sending and receiving commands.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、コマンドインタ
フェースを正常に行ない、かつデータの送受信のときの
みデータのビットウェイトの切換えを行なうことにより
、簡単な回路構成で、IEEE−488バスに接続され
る複数装置の中にデータのピントウェイトが異なる装置
があっても、その装置とのデータ送受信が正常に行なえ
るという効果がある。
As explained above, according to the present invention, the command interface is performed normally and the data bit weight is switched only when transmitting/receiving data, thereby connecting to the IEEE-488 bus with a simple circuit configuration. Even if there are devices with different data focus weights among the multiple devices, data can be transmitted and received normally with the devices.

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

第1図は本発明の一実施例の汎用パラレルインタフェー
スによるコンピュータと周辺装置との接続を示すブロッ
ク図、第2図は従来の汎用パラレルインタフェースによ
るコンピュータと周辺装置との接続を示すブロック図、
第3図は汎用パラレルインタフェースによるデータ転送
の制御を表すタイムチャートである。 1:CPU、2:汎用パラレルインタフェース、3.4
二周辺装置、5:ビットウェイト切換回路、6:論理回
路。 代理人 弁理士  内 原  音
FIG. 1 is a block diagram showing the connection between a computer and peripheral devices using a general-purpose parallel interface according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the connection between a computer and peripheral devices using a conventional general-purpose parallel interface.
FIG. 3 is a time chart showing control of data transfer by the general-purpose parallel interface. 1: CPU, 2: General-purpose parallel interface, 3.4
2 peripheral devices, 5: bit weight switching circuit, 6: logic circuit. Agent Patent Attorney Oto Uchihara

Claims (1)

【特許請求の範囲】[Claims] CPUとデータの受け渡しを直接行なうCPUバスと、
周辺装置とデータの受け渡しを行なうインタフェースバ
スとの間に設けられ、前記CPUの指示に応じて前記両
バス間のデータの受け渡しを行なう汎用パラレルインタ
フェースにおいて、前記CPUの指示に応じて、前記両
バス間の受け渡しデータのビットウェイトを切り換える
切換回路を具備することを特徴とする汎用パラレルイン
タフェース。
A CPU bus that directly exchanges data with the CPU,
A general-purpose parallel interface is provided between a peripheral device and an interface bus for exchanging data, and is configured to exchange data between the two buses in response to an instruction from the CPU. A general-purpose parallel interface characterized by comprising a switching circuit for switching the bit weight of data transferred between the interfaces.
JP12328588A 1988-05-19 1988-05-19 General purpose parallel interface Pending JPH01292460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12328588A JPH01292460A (en) 1988-05-19 1988-05-19 General purpose parallel interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12328588A JPH01292460A (en) 1988-05-19 1988-05-19 General purpose parallel interface

Publications (1)

Publication Number Publication Date
JPH01292460A true JPH01292460A (en) 1989-11-24

Family

ID=14856783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12328588A Pending JPH01292460A (en) 1988-05-19 1988-05-19 General purpose parallel interface

Country Status (1)

Country Link
JP (1) JPH01292460A (en)

Similar Documents

Publication Publication Date Title
JPS6450150A (en) Fault tolerant digital data processor with improved input/output controller
EP0183431B1 (en) System control network for multiple processor modules
JPH01292460A (en) General purpose parallel interface
JPS60194647A (en) Data transmission system
JPS6126706B2 (en)
JPH0795734B2 (en) Circuit for polling communication
JP2636003B2 (en) Data transfer control device
JPS6130300B2 (en)
JPH05252163A (en) Remote input/output device
JPH05324545A (en) Bus controller
JP2616010B2 (en) Packet network
JPH03271960A (en) Intelligent inter-cpu adapter
JPS60246149A (en) Data transmission equipment
JPS58202643A (en) Controlling system of communication bus route
JPS60220639A (en) Serial bus communication device
JPS62293453A (en) Multiple bus system data processor
JPH051505B2 (en)
JPH04148262A (en) Broadcast transfer device
JPH0828710B2 (en) LAN multi-procedure simultaneous operation processing device
JPS59218570A (en) Computer network system
JPS6261976B2 (en)
JPS58213336A (en) Communication controller
JPH03258139A (en) Ieee-488 interface network
JPS6057097B2 (en) Data transmission method between central processing units
JPS6113845A (en) Communication control equipment