JPS58220542A - Data communication interface circuit - Google Patents

Data communication interface circuit

Info

Publication number
JPS58220542A
JPS58220542A JP57104463A JP10446382A JPS58220542A JP S58220542 A JPS58220542 A JP S58220542A JP 57104463 A JP57104463 A JP 57104463A JP 10446382 A JP10446382 A JP 10446382A JP S58220542 A JPS58220542 A JP S58220542A
Authority
JP
Japan
Prior art keywords
data
circuit
host
communication interface
data communication
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
JP57104463A
Other languages
Japanese (ja)
Inventor
Ikuo Kodama
児玉 育雄
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
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57104463A priority Critical patent/JPS58220542A/en
Publication of JPS58220542A publication Critical patent/JPS58220542A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Abstract

PURPOSE:To reduce an overhead of a software, and also to decrease a hardware quantity, by storing in common a work area of a logical operation and transmitting and receiving data in a data storing circuit, using the data storing circuit as a buffer area of the transmitting and receiving data by executing the control of a controlling circuit, and executing the data communication. CONSTITUTION:In case when a transmitting request from a host computer (hereinafter called a host) connected through buses (an address bus 19, a data bus 20, I/OW' and I/OR'), and a receiving data from a circuit do not exist, a processor 11 waits for them, executing an instruction which is not referred to an RAM (random access memory) in a data storing circuit 16. When the transmitting request exists, a transmitting data is written to the data storing circuit 16 from the host side by use of the address bus 19, the data bus 20 and the I/OW', and after it ends, its fact is informed to the processor 11 by some means (for instance, interruption, etc.) from the host side.

Description

【発明の詳細な説明】 本発明はコンピュータを用いたデータ通信において、コ
ンピュータのバスに接続されるデータ通信インタフェー
ス回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data communication interface circuit connected to a computer bus in data communication using a computer.

従来知られているデータ通信インタフェース回路の第1
の例として、コンピュータのパスに直接接続される通信
インタフェース用集積回路と若干の付加回路等で構成さ
れる場合について述べる。
First of the conventionally known data communication interface circuits
As an example, a case will be described in which the device is composed of a communication interface integrated circuit that is directly connected to a computer path, and some additional circuits.

送信動作においてはコンピュータの語長(8ビツトある
いは16ビツト等)と等しい並列データを前記通信イン
タフェース用集積回路へ送出し、並列直列変換後、同期
符号等が付加され回線の伝送速度で送出される。一方受
信動作においては前記送信動作と逆の動作が実行される
。このデータ通信インタフェース回路では、回線のデー
タがコンピュータの語長を単位としてコンピュータから
アクセスされ、そのつど割込等によりコンピータへ入出
力する必要があるため、ソフトウェアによる制御実行時
のオーバヘッドが多大であるという欠点を有していた。
In the transmission operation, parallel data equal to the word length of the computer (8 bits or 16 bits, etc.) is sent to the communication interface integrated circuit, and after parallel to serial conversion, a synchronization code etc. is added and sent out at the transmission speed of the line. . On the other hand, in the receiving operation, an operation opposite to the transmitting operation is performed. In this data communication interface circuit, data on the line is accessed from the computer in units of computer word length, and each time it must be input/output to the computer using interrupts, etc., there is a large amount of overhead when executing software control. It had the following drawback.

さらに従来知られているデータ通信インタフェース回路
の第2の例を第1図に示す。このインタフェース回路は
内部にプロセッサlをもち、固定記憶回路2内の制御プ
ログラムによシ伝送制御手順を実行する。従ってバス(
アドレスバス91データバス10 、170Vf’、 
110R’)を介して接続されるホストコンピュータと
回線とのデータ送受は前記第1の例の如きホストコンピ
ータの語長を単位とするのではなく、伝送制御手順上の
テキスト(文字列)のレベルで行なわれる。従って第1
の例の如きソフトウェアのオーバヘッドの低減が可能と
なる。つtシ、半二重動作においては、テキストに対す
るレスポンスを受けとらない限り次のテキストを送信で
きない。従って送信時では、ホスト側がバッファメモリ
6へ送信データを順次書き込み、その終了後プロセッサ
1が前記バッファメモリ6から順次読み出して回線へ送
出し、受信時ではプロセッサ1が回線からの受信データ
を前記バッファメモリ6へ書き込み、受信データの終了
後ホスト側から前椰バッファメモリ6の内容を読み出す
ことになるすこのような動作ではホヘト側からのアクセ
スとプロセッサ1からのアクセスが同時に発生しない。
Further, a second example of a conventionally known data communication interface circuit is shown in FIG. This interface circuit has a processor l therein, and executes a transmission control procedure based on a control program in a fixed storage circuit 2. Therefore, the bus (
address bus 91 data bus 10, 170Vf',
Data transmission and reception between the host computer and the line connected via 110R') is not based on the word length of the host computer as in the first example, but on the text (character string) level based on the transmission control procedure. It will be held in Therefore, the first
It is possible to reduce the software overhead as in the example shown in FIG. However, in half-duplex operation, no further text can be sent until a response to the text is received. Therefore, when transmitting, the host side sequentially writes transmission data into the buffer memory 6, and after completion, the processor 1 sequentially reads data from the buffer memory 6 and sends it to the line, and when receiving, the processor 1 writes the received data from the line into the buffer memory 6. In such an operation in which data is written to the memory 6 and the contents of the front buffer memory 6 are read from the host side after the received data is completed, access from the host side and access from the processor 1 do not occur at the same time.

従って前記バッファメモリ6においては、単にホストと
プロセッサlのアドレスと誓き込みパルスを切替えるだ
けで構成することが可能である。
Therefore, the buffer memory 6 can be constructed by simply switching the addresses and pledge pulses of the host and processor 1.

しかしながら第1図の例ではプロセッサ1が制御実行す
るためにその°作業エリアとなる作業エリア記憶回路3
が必要となシ、バッファメモリ6と合せて2つのデータ
記憶回路を有していた。
However, in the example shown in FIG.
In addition to the buffer memory 6, it had two data storage circuits.

本発明の目的は前記第1の例におけるソフトウェアのオ
ーバヘッドを低減させ、さらに第2の例における2つの
データ記憶回路を1つにすること。
An object of the present invention is to reduce the software overhead in the first example, and further to combine two data storage circuits into one in the second example.

によシバ−ドウエア量を減少させることが可能なデータ
通信インタフェース回路を提供することにある。
An object of the present invention is to provide a data communication interface circuit that can reduce the amount of hardware required.

本発明であるデータ通信インタフェース回路は、半二重
動作であることに着目して、その伝送制御手順の制御プ
ログラムを固冗記憶回路に収容し、論理動作の作業エリ
ア及び送受信データを共通にデータ記憶回wl″に記1
誓し、制御回路(ブ・セ、す)の制御実行によシ前記デ
ータ記憶回路を送受信データのバッファ領域としてデー
タ通信を行うようにしたものである。
Focusing on the fact that the data communication interface circuit of the present invention is half-duplex, the control program for the transmission control procedure is accommodated in a fixed redundant memory circuit, and the working area for logical operation and the transmitted and received data are shared in common. Recorded in memory episode wl''1
Under the control of the control circuit, data communication is performed using the data storage circuit as a buffer area for transmitted and received data.

次に本発明の詳細な説明する。第2図は本発明によるデ
ータ通信インタフェース回路の一実施例である。第2図
において、バス(アドレスバス19、データバス20 
、 l10W’、 110R’)を介して接続されるホ
ストコンピュータ(以下ホストという)からの送信要求
及び回線からの受信データがないときはプロセ、す11
はデータ記憶回路16内のRAM(ランダムアクセスメ
モリ)を参照しない命令を実行しながらそれらを待って
いるとする。送信要求があるときはアドレスバス19と
データバス20とl10W’ を用いてホスト側からデ
ータ記憶回路16へ送信データが書き込まれ、その終了
後ホスト側から何らかの手段(例えば割込み等)によシ
プロセ、す11へその旨通知される。
Next, the present invention will be explained in detail. FIG. 2 is an embodiment of a data communication interface circuit according to the present invention. In FIG. 2, buses (address bus 19, data bus 20
, 110W', 110R') when there is no transmission request from the host computer (hereinafter referred to as host) or data received from the line.
Assume that the command is waiting for instructions that do not refer to the RAM (random access memory) in the data storage circuit 16 while executing them. When there is a transmission request, transmission data is written from the host side to the data storage circuit 16 using the address bus 19, data bus 20, and l10W', and after the writing is completed, the host side sends the transmission data by some means (such as an interrupt). 11 will be notified to that effect.

これ以後データ記憶回路16において、アクセス切替信
号18をプロセッサ11によって反転させ、プロセ、す
11がアクセス可能となるようにし、データ記憶回路1
6からデータを読み出して回線へ送υ出す。受信時では
前述の動作と逆を行えば良いが、ホストが受信データを
すべて読み終ったときホストから割込み等を用いてプロ
セッサ11へ通知すれば、プロセッサ11は送信要求あ
るいは受信データ待ちの元の状態に復帰することが可能
となる。
After this, in the data storage circuit 16, the access switching signal 18 is inverted by the processor 11 so that the processor 11 can access the data storage circuit 16.
6 and sends it to the line. At the time of reception, the operation described above can be performed in reverse, but if the host notifies the processor 11 using an interrupt or the like when the host has finished reading all the received data, the processor 11 will respond to the original request for transmission or waiting for the received data. It is possible to return to the current state.

以上のような動作ではプロセッサ11がデータ記憶回路
16へのアクセス時、すなわち回線とのデータの送受を
実行しているときのみ作業エリアを必要とし、それ以外
のときは作業エリアを必要としない。従って送受信デー
タバッファ(域と作業エリアを共通のRAM(データ記
憶回路16)によって実現できるのである。
In the above operation, a work area is required only when the processor 11 accesses the data storage circuit 16, that is, when transmitting and receiving data with the line, and does not require a work area at other times. Therefore, the transmit/receive data buffer (area) and work area can be realized by a common RAM (data storage circuit 16).

以上の説明から明らかなように本発明によるデータ通信
インタフェース回路によれば、従来回路構成に比ベホス
トのソフトウェアオーバヘッドを低減させ、かつFLA
Mを共通にもつことによりハードウェアの減少を図るこ
とが可能となる。
As is clear from the above description, the data communication interface circuit according to the present invention reduces the software overhead of the host compared to the conventional circuit configuration, and also reduces the FLA.
By having M in common, it is possible to reduce the amount of hardware.

【図面の簡単な説明】 第1図は従来のデータ通信インタフェース回路を示すブ
ロック図、第2図は本発明によるデータ通信インタフェ
ース回路の芙施例を示すブロック図である。 1・・・・・・プロセッサ(制御回路)、2・・・・・
固定記憶回路、3・・・・・・作業エリア記憶回路、4
・・・・・・通信インタフェース、5・・・・・・アク
セス選択回路、6・・・・・・バッファメモリ、7・・
・・・・双方向バッファ、8・・・・・・アクセス切替
信号、9・・・・・・アドレスバス(ホスト)、10・
・・・・・データバス(ホスト)、11・・・・・プロ
セッサ(制御回路)、12・・・・・・固定記憶回路。 14・・・・・・通信インタフェース、15・・・・・
・アクセス選択回路、16・・・・・・データ記憶回路
、17・・・・・・双方向バッファ% 18・・・・・
・アクセス切替信号、19・・・・・・アドレスバス(
ホスト)、20・・・・・・データバス(ホスト)。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a conventional data communication interface circuit, and FIG. 2 is a block diagram showing another embodiment of the data communication interface circuit according to the present invention. 1... Processor (control circuit), 2...
Fixed memory circuit, 3... Working area memory circuit, 4
...Communication interface, 5...Access selection circuit, 6...Buffer memory, 7...
...Bidirectional buffer, 8...Access switching signal, 9...Address bus (host), 10.
... Data bus (host), 11 ... Processor (control circuit), 12 ... Fixed memory circuit. 14... Communication interface, 15...
・Access selection circuit, 16... Data storage circuit, 17... Bidirectional buffer% 18...
・Access switching signal, 19...address bus (
host), 20...data bus (host).

Claims (1)

【特許請求の範囲】[Claims] 送信と受信を同時に行なわない半二重動作のデータ通信
において、伝送制御手順の制御プログラムを記憶する固
定記憶回路と、前記制御プログラムによシ論理動作を制
御実行する制御回路と、論理動作の作業エリア及び送受
信データを共通に記憶するデータ記憶回路とを有し、前
記データ記憶回路を送受信データのバッファ領域として
データ通信を行うことを特徴とするデータ通信インタフ
ェース回路。
In half-duplex data communication in which transmission and reception are not performed simultaneously, a fixed storage circuit stores a control program for a transmission control procedure, a control circuit controls and executes a logical operation based on the control program, and a logical operation is performed. 1. A data communication interface circuit comprising an area and a data storage circuit that commonly stores transmitted and received data, and performs data communication using the data storage circuit as a buffer area for transmitted and received data.
JP57104463A 1982-06-17 1982-06-17 Data communication interface circuit Pending JPS58220542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57104463A JPS58220542A (en) 1982-06-17 1982-06-17 Data communication interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57104463A JPS58220542A (en) 1982-06-17 1982-06-17 Data communication interface circuit

Publications (1)

Publication Number Publication Date
JPS58220542A true JPS58220542A (en) 1983-12-22

Family

ID=14381277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57104463A Pending JPS58220542A (en) 1982-06-17 1982-06-17 Data communication interface circuit

Country Status (1)

Country Link
JP (1) JPS58220542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100498901B1 (en) * 1997-08-30 2005-09-28 삼성전자주식회사 Apparatus to interface between computer and hardware device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100498901B1 (en) * 1997-08-30 2005-09-28 삼성전자주식회사 Apparatus to interface between computer and hardware device

Similar Documents

Publication Publication Date Title
US3940743A (en) Interconnecting unit for independently operable data processing systems
US4158227A (en) Paged memory mapping with elimination of recurrent decoding
US5283872A (en) SCSI device having transfer parameter storage memory blocks which correspond to each apparatus
KR860009351A (en) I / O control system
JPH0258649B2 (en)
KR920008448B1 (en) Data process
JPS58109960A (en) Data processing system
JPS58220542A (en) Data communication interface circuit
JPS61165170A (en) Bus controlling system
JPS59173828A (en) Data processing system
KR0145932B1 (en) Dma controller in high speed computer system
JP3201439B2 (en) Direct memory access control circuit
JPS61153770A (en) Image processor
JPS5886623A (en) Memory control system
GB2248128A (en) A single board computer
JPS61233857A (en) Data transfer equipment
JP2552025B2 (en) Data transfer method
SU1156080A1 (en) Port-to-port interface operating in computer system
JPH0221376A (en) Picture processing system
JPS63247859A (en) Shared memory device
JPS5836380B2 (en) Direct memory access method in multiprocessor systems
JPS5953929A (en) Data transfer device
JPH0293971A (en) Memory access circuit
JPH11161598A (en) Dma data transfer system
JPH0689248A (en) Serial communication circuit