JPH0311143B2 - - Google Patents

Info

Publication number
JPH0311143B2
JPH0311143B2 JP57002574A JP257482A JPH0311143B2 JP H0311143 B2 JPH0311143 B2 JP H0311143B2 JP 57002574 A JP57002574 A JP 57002574A JP 257482 A JP257482 A JP 257482A JP H0311143 B2 JPH0311143 B2 JP H0311143B2
Authority
JP
Japan
Prior art keywords
transmission
register
out shift
character
memory
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
Application number
JP57002574A
Other languages
Japanese (ja)
Other versions
JPS58120347A (en
Inventor
Masaki Tsucha
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP57002574A priority Critical patent/JPS58120347A/en
Publication of JPS58120347A publication Critical patent/JPS58120347A/en
Publication of JPH0311143B2 publication Critical patent/JPH0311143B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明はキヤラクタバツフア方式による送信用
回線アダプタに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a transmission line adapter using a character buffer method.

一般に、データ通信システムに適用される送信
データの制御方式として、データ処理装置PUか
らの送信データを通信制御装置LCが受取り、回
線アダプタLAにおいてビツトシリアルに分解し
たのち、回線に送出する方法が採用されている。
この系統を概略的に示すと、第1図のようにな
る。この方式においては、通信制御装置LCが特
殊な送信キヤラクタを受取つた場合、一時的にそ
のキヤラクタに対する送信処理に長い時間を要す
ることがある。例えば、トランスペアレント伝送
におけるDLEコードを受けたときのDLEの付加、
あるいは、ハイデータリンクコントロール
(HDLC)モードにおけるアドレスキヤラクタを
受けたときのコントロールフイールドの生成等の
場合である。このような場合においても、回線の
伝送速度に間に合つて次のキヤラクタを送信でき
るように、通信制御装置LCのキヤラクタ処理時
間を短縮させたもの、回線アダプタに複数個のキ
ヤラクタバツフアを設けたもの、又はフアースト
イン・フアーストアウトシフトメモリを設けたも
の等が考えられている。
In general, as a transmission data control method applied to data communication systems, a method is adopted in which the communication control unit LC receives transmission data from the data processing unit PU, decomposes it into bit serial data in the line adapter LA, and then sends it out to the line. has been done.
This system is schematically shown in Figure 1. In this system, when the communication control device LC receives a special transmission character, it may temporarily take a long time to process the transmission for that character. For example, adding DLE when receiving a DLE code in transparent transmission,
Another example is the generation of a control field when an address character is received in high data link control (HDLC) mode. Even in such cases, in order to be able to transmit the next character in time for the transmission speed of the line, it is possible to shorten the character processing time of the communication control device LC, or to install multiple character buffers in the line adapter. A type with a first-in/first-out shift memory is considered.

キヤラクタ処理時間を短縮させる方法において
は、回線の伝送速度が高速の場合、通信制御装置
におけるキヤラクタ処理を全て1キヤラクタ伝送
時間内に行うのが難かしくなるという欠点があ
り、複数個のキヤラクタバツフアを設ける方法に
おいては回線アダプタの回路が増大するという欠
点がある。そのために、現在はフアーストイン・
フアーストアウトシフトメモリを設ける方法が採
用されている。たとえば特開昭58−19062号公報
には、通信制御部からの送信キヤラクタを一時蓄
積するバツフアレジスタと、送信キヤラクタをビ
ツトシリアルに分解するシフトレジスタと、これ
らの各種レジスタ動作を制御し、通信制御部との
入出力動作を制御する送信制御回路とを有する回
線アダプタのシフトレジスタの後段に配置したフ
アーストイン・フアーストアウトシフトメモリと
を設け、送信側制御回路により通信制御部からの
送信データを前記フアーストイン・フアーストア
ウトシフトメモリに順次蓄積しながら、該フアー
ストイン・フアーストアウトシフトメモリの内容
を回線のビツト伝送速度で回線に送り出す方式を
採用することによつて通信制御部のキヤラクタ処
理時間の一時的なピーク値を緩和できることが示
されている(発明者は本願の発明者と同じであ
る。)。しかし、フアーストイン・フアーストアウ
トシフトメモリを用いても、回線に送出するデー
タのビツト伝送速度とフアーストイン・フアース
トアウトシフトメモリにシフトレジスタから移送
するデータの速度との差が十分にとれない場合
に、従来は、送信キヤラクタバツフアが空のと
き、通信制御装置から送信キヤラクタバツフアに
送信キヤラクタがセツトされるまで送信シフトレ
ジスタからフアーストイン・フアーストアウトシ
フトメモリへの送信データビツトの入力を禁止す
るため、フアーストイン・フアーストアウトシフ
トメモリに送信データが無くなつてしまうという
欠点があつた。
The method of reducing character processing time has the disadvantage that if the transmission speed of the line is high, it becomes difficult to perform all character processing in the communication control device within one character transmission time. The method of providing a network adapter has the disadvantage that the number of circuits for the line adapter increases. To that end, we are currently working on First Inn.
A method of providing a first-out shift memory is adopted. For example, JP-A-58-19062 describes a buffer register that temporarily stores transmission characters from a communication control section, a shift register that decomposes transmission characters into bit serials, and a system that controls the operations of these various registers and A first-in/first-out shift memory is provided after the shift register of the line adapter, which has a transmission control circuit that controls input/output operations with the control unit, and the transmission side control circuit transmits data transmitted from the communication control unit. By adopting a method of sequentially storing data in the first-in/first-out shift memory and transmitting the contents of the first-in/first-out shift memory to the line at the bit transmission rate of the line, the character processing time of the communication control unit can be reduced. It has been shown that temporary peak values can be alleviated (the inventor is the same as the inventor of the present application). However, even if a first-in/first-out shift memory is used, if the difference between the bit transmission speed of the data sent to the line and the speed of the data transferred from the shift register to the first-in/first-out shift memory is insufficient, Conventionally, when the transmit character buffer is empty, the transmit data bits are input from the transmit shift register to the first-in/first-out shift memory until the transmit character is set from the communication control device to the transmit character buffer. Since this is prohibited, there is a drawback that the transmission data will be lost in the first-in/first-out shift memory.

本発明の目的は、回線への送信データのビツト
伝送速度とフアーストイン・フアーストアウトシ
フトメモリに送信データビツトを格納する速度と
の差が十分にとれない場合でも、フアーストイ
ン・フアーストアウトシフトメモリが空になるこ
とのない高速処理の可能な通信制御用回線アダプ
タを提供するにある。
An object of the present invention is to enable the first-in/first-out shift memory to maintain a high speed even when the difference between the bit transmission speed of the transmission data to the line and the speed at which the transmission data bits are stored in the first-in/first-out shift memory is insufficient. To provide a communication control line adapter capable of high-speed processing without becoming empty.

本発明によれば、通信制御装置からの送信キヤ
ラクタを一時蓄積するバツフアレジスタと、該バ
ツフアレジスタから得られる送信キヤラクタをビ
ツトシリアルに分解するシフトレジスタと、該シ
フトレジスタの出力を記憶するフアーストイン・
フアーストアウトシフトメモリと、前記通信制御
装置から前記バツフアレジスタに送信キヤラクタ
を与え、前記シフトレジスタを介して前記フアー
ストイン・フアーストアウトシフトメモリに順次
蓄積しながら該フアーストイン・フアーストアウ
トシフトメモリの内容を回線に送出し、前記フア
ーストイン・フアーストアウトシフトメモリが
「満」の状態になるか、若しくは前記バツフアレ
ジスタの内容が前記シフトレジスタに移送され、
該バツフアレジスタが「空」の状態になり、且つ
前記シフトレジスタの内容がフアーストイン・フ
アーストアウトシフトメモリへ所要ビツト数マイ
ナス1ビツト移送された後、前記フアーストイ
ン・フアーストアウトシフトメモリへの送信デー
タビツトの移送を一時停止し、前記フアーストイ
ン・フアーストアウトシフトメモリが「空」の状
態になるか、若しくは前記バツフアレジスタに送
信キヤラクタがセツトされている場合には、前記
フアーストイン・フアーストアウトシフトメモリ
へ送信データビツトを移送するように制御する送
信制御回路とを有する回線アダプタが得られる。
According to the present invention, there is provided a buffer register that temporarily stores transmission characters from a communication control device, a shift register that decomposes the transmission characters obtained from the buffer register into bit serials, and a first input register that stores the output of the shift register.・
a first-out shift memory; and a transmission character is given from the communication control device to the buffer register, and the first-in/first-out shift memory is sequentially stored in the first-in/first-out shift memory via the shift register. sending the contents to the line and either the first-in/first-out shift memory becomes "full" or the contents of the buffer register are transferred to the shift register;
After the buffer register becomes "empty" and the contents of the shift register are transferred to the first-in/first-out shift memory by the required number of bits minus one bit, the data is sent to the first-in/first-out shift memory. If the transfer of data bits is temporarily stopped and the first-in/first-out shift memory becomes "empty", or if the transmit character is set in the buffer register, the first-in/first-out shift memory is A line adapter is obtained having a transmission control circuit for controlling the transfer of transmission data bits to a shift memory.

次に、本発明による回線アダプタについて実施
例を挙げ、図面を参照して詳細に説明する。
Next, examples of the line adapter according to the present invention will be described in detail with reference to the drawings.

第2図は本発明による実施例の構成をブロツク
図により示したものである。また、第4図は、こ
の実施例の動作を説明するためのタイムチヤート
である。なお、この例では8ビツト/キヤラクタ
とする。第2図において、通信制御部LCからの
送信キヤラクタは、送信バツフアレジスタ1によ
つて受取られる。第4図についていえば、送信バ
ツフア「満」信号が“0”であるとLCは送信バ
ツフアレジスタ1に送る。送信バツフアレジスタ
1に送信キヤラクタがセツトされるので、送信バ
ツフア「満」信号が“1”になる。送信バツフア
レジスタ1の送信キヤラクタはシフトレジスタ2
に送られ、第4図についていえば、シフトレジス
タセツトタイミング信号で送信バツフアレジスタ
1の送信号キヤラクタがシフトレジスタ2に送ら
れる。ここでビツトシリアルに分解されたのち、
フアーストイン・フアーストアウトシフトメモリ
3に送り込まれる。第4図についていえば、キヤ
ラクタ分解タイミング信号(FIFO入力タイミン
グ)によつて逐次フアーストイン・フアーストア
ウトシフトメモリに入力される。すなわち、第3
図におけるフアーストイン・フアーストアウトシ
フトメモリの具体的な例に見られるように、初段
のシフトメモリ3−1に蓄積された送信データは
次段のシフトメモリ3−2が空になるのを待つて
そこに移される。以降、この送信データは同様の
動作によりn段目のシフトメモリ3−nに向つて
移動する。
FIG. 2 is a block diagram showing the structure of an embodiment according to the present invention. Further, FIG. 4 is a time chart for explaining the operation of this embodiment. In this example, 8 bits/character is used. In FIG. 2, the transmission character from the communication control unit LC is received by the transmission buffer register 1. In FIG. Referring to FIG. 4, when the transmit buffer "full" signal is "0", the LC sends it to the transmit buffer register 1. Since the transmit character is set in the transmit buffer register 1, the transmit buffer "full" signal becomes "1". The transmission character of transmission buffer register 1 is shift register 2.
Referring to FIG. 4, the transmit signal character of the transmit buffer register 1 is sent to the shift register 2 by the shift register set timing signal. After being decomposed into bit serials,
It is sent to the first-in/first-out shift memory 3. Regarding FIG. 4, the data is sequentially input to the first-in/first-out shift memory by the character decomposition timing signal (FIFO input timing). That is, the third
As seen in the specific example of the first-in/first-out shift memory in the figure, the transmission data stored in the first stage shift memory 3-1 waits for the next stage shift memory 3-2 to become empty. be transferred there. Thereafter, this transmission data is moved toward the n-th stage shift memory 3-n by a similar operation.

一方、フアーストイン・フアーストアウトシフ
トメモリ3の内容は、送信制御回路4の制御によ
り回線のビツト伝送速度に同期したタイミングで
回線に送信される。第4図においては、送信タイ
ミングによつてフアーストイン・フアーストアウ
トシフトメモリから出力データを(回線)送信デ
ータとして出力する。通常、回線のビツト伝送速
度よりフアーストイン・フアーストアウトシフト
メモリのシフト速度が速いため、これ等のシフト
メモリに送信データが順次蓄積され、ついにはシ
フトメモリ内に空の状態がなくなる場合がある。
第4図についていえば、フアーストイン・フアー
ストアウトシフトメモリ「満」信号が“1”の状
態にある。そのような場合は、送信制御回路4が
この状態を検出して、空の状態になるまでシフト
レジスタ2からフアーストイン・フアーストアウ
トシフトメモリ3へ送信データの移送を禁止す
る。また、フアーストイン・フアーストアウトシ
フトメモリ3に空の状態があり、かつ送信バツフ
アレジスタ1が満たされた場合には、フアースト
イン・フアーストアウトシフトメモリ3にシフト
レジスタ2の内容を移送させる。第4図において
は、シフトレジスタのDn−7ビツト目のデータ
をキヤラクタ分解タイミングでフアーストイン・
フアーストアウトシフトメモリに入力する。これ
でフアーストイン・フアーストアウトシフトメモ
リが一杯となつてフアーストイン・フアーストア
ウト「満」信号が“1”となり、次にフアースト
イン・フアーストアウトシフトメモリのデータが
送信タイミングで読出されるとフアーストイン・
フアーストアウト「満」信号が“0”になる。以
下同様の動作が行われる。この直後、シフトレジ
スタ2が1キヤラクタ分の送信データをフアース
トイン・フアーストアウトシフトレジスタ3に送
り込みの完了を検出すると、バツフアレジスタ1
の内容をシフトレジスタ2に移し、次の送信キヤ
ラクタが通信制御装置LCからセツトされるまで、
バツフアレジスタ1が「空」であることの表示を
送信制御回路4で行う。第4図においては送信バ
ツフア「満」信号が“0”の状態となつている。
送信制御回路4はバツフアレジスタ1が「空」で
あり、かつ所用ビツト数マイナス1ビツト後には
シフトレジスタ2からフアーストイン・フアース
トアウトシフトメモリ3への送信データビツトの
入力を禁止する。第4図においてはの区間であ
る。
On the other hand, the contents of the first-in/first-out shift memory 3 are transmitted to the line under the control of the transmission control circuit 4 at a timing synchronized with the bit transmission rate of the line. In FIG. 4, output data is output from the first-in/first-out shift memory as (line) transmission data depending on the transmission timing. Normally, the shift speed of the first-in/first-out shift memories is faster than the bit transmission speed of the line, so transmission data is sequentially stored in these shift memories, and eventually there may be no empty state in the shift memories.
Referring to FIG. 4, the first-in/first-out shift memory "full" signal is in the state of "1". In such a case, the transmission control circuit 4 detects this state and prohibits the transfer of transmission data from the shift register 2 to the first-in/first-out shift memory 3 until the register becomes empty. Further, when the first-in/first-out shift memory 3 is empty and the transmission buffer register 1 is filled, the contents of the shift register 2 are transferred to the first-in/first-out shift memory 3. In Fig. 4, the Dn-7th bit data of the shift register is first-ined at the character decomposition timing.
Enter into first out shift memory. With this, the first-in/first-out shift memory becomes full and the first-in/first-out "full" signal becomes "1". Next, when the data in the first-in/first-out shift memory is read at the transmission timing, the first-in/first-out shift memory becomes full.
The first out “full” signal becomes “0”. Similar operations are performed thereafter. Immediately after this, when the shift register 2 detects the completion of sending one character's worth of transmission data to the first-in/first-out shift register 3, the buffer register 1
The contents of are transferred to shift register 2, and the process continues until the next transmission character is set from communication control device LC.
The transmission control circuit 4 displays that the buffer register 1 is "empty". In FIG. 4, the transmission buffer "full" signal is in the state of "0".
The transmission control circuit 4 prohibits the input of transmission data bits from the shift register 2 to the first-in/first-out shift memory 3 when the buffer register 1 is "empty" and after the required number of bits minus one bit. In FIG. 4, this is the section.

フアーストイン・フアーストアウトシフトメモ
リ3への送信データビツトの入力禁止の理由を説
明するために、例えば、回線のビツト伝送速度が
48kbpsであり、シフトレジスタ2からフアース
トイン・フアーストアウトシフトメモリ3に送信
データビツトを移送する速度が64kbps、所要ビ
ツト数が8ビツト、バツフアレジスタ1が「空」
の状態であり、通信制御装置LCがバツフアレジ
スタ1に送信キヤラクタをセツトするまでの時間
を100μSと仮定すると、従来の方式では、48kbps
の速度で1キヤラクタタイム約166.4μS、64kbps
の速度で1キヤラクタタイム約124.8μSかかる。
このことから、バツフアレジスタ1が「空」の状
態になり、通信制御装置LCが送信キヤラクタを
セツトし、現在シフトレジスタ2にセツトされて
いる送信キヤラクタがフアーストイン・フアース
トアウトシフトメモリ3に移されるまでの時間
は、通信制御装置が送信バツフアレジスタに送信
キヤラクタをセツトするまでの時間に64kbpsの
速度における1キヤラクタの時間を加えた約
224.8μSとなり、48kbpsの速度における1キヤラ
クタの時間(約166.4μS)を超えてしまう。これ
は、フアーストイン・フアーストアウトシフトメ
モリの存在により、これに入力するデータの速度
が出力する速度よりも速いのにもかかわらず、フ
アーストイン・フアーストアウトシフトメモリに
データを蓄積することができず、一時的のピーク
を救うことができないばかりか、通常の状態にあ
つても、回線のビツト伝送速度で送信できないと
いうことを意味する。すなわち、フアーストイ
ン・フアーストアウトシフトメモリ3から回線に
出力される1キヤラクタ時間(166.4μs)よりも、
シフトレジスタ2からフアーストイン・フアース
トアウトシフトメモリ3に入力する1キヤラクタ
時間100μS+124.8μs=224.8μs)が長いため、フ
アーストイン・フアーストアウトシフトメモリ3
に回線へ送り出すデータが無くなつてしまうこと
を意味する。これに反して、本発明の方式によれ
ば、第4図を参照すると、7ビツト分は既にシフ
トレジスタ2からフアーストイン・フアーストア
ウトシフトメモリ3に順次Do+1,0,Do+1,1
Do+1,2,……,Do+1,5,Do+1,6のように移送されて
おり、残りの1ビツトDo+1,7の移送は通信制御装
置LCから次に送信するデータDo+2が送信バツフ
アレジスタ1に送られてきたときに行うので、そ
の移送に要する時間は前述の仮定のもとでは約
15.6μSであり、これは1キヤラクタの時間
166.8μSより小さい。従つて一時的にシフトレジ
スタからフアーストイン・フアーストアウトシフ
トメモリへの送信データビツトの移送が禁止され
ても、従来技術のような欠点は生じない。
To explain the reason why the input of transmission data bits to the first-in/first-out shift memory 3 is prohibited, for example, if the bit transmission speed of the line is
The transmission speed is 48kbps, the speed at which transmission data bits are transferred from shift register 2 to first-in/first-out shift memory 3 is 64kbps, the required number of bits is 8 bits, and buffer register 1 is "empty".
Assuming that the time required for the communication control unit LC to set the transmission character in buffer register 1 is 100 μS, the conventional method would have a transmission speed of 48 kbps.
1 character time approximately 166.4μS, 64kbps at the speed of
At the speed of , it takes about 124.8μS for one character.
As a result, the buffer register 1 becomes "empty", the communication control device LC sets the transmit character, and the transmit character currently set in the shift register 2 is moved to the first-in/first-out shift memory 3. The time it takes for the communication controller to set the transmit character in the transmit buffer register is approximately equal to the time required for one character at a speed of 64 kbps.
This is 224.8μS, which exceeds the time for one character (approximately 166.4μS) at a speed of 48kbps. This is because due to the existence of the first-in/first-out shift memory, data cannot be accumulated in the first-in/first-out shift memory even though the speed of input data is faster than the speed of output. This means that not only can temporary peaks not be saved, but even under normal conditions, transmission cannot be done at the bit rate of the line. In other words, the time for one character (166.4 μs) output from the first-in/first-out shift memory 3 to the line is
Since the time for one character input from the shift register 2 to the first-in/first-out shift memory 3 (100 μS + 124.8 μs = 224.8 μs) is long, the first-in/first-out shift memory 3
This means that the data sent to the line will be lost. On the other hand, according to the method of the present invention, as shown in FIG . ,1 ,
The remaining 1 bit D o +1,7 is transferred from the communication control device LC to the next one. This is done when the data D o+2 to be transmitted is sent to the transmission buffer register 1, so the time required for the transfer is approximately
15.6μS, which is the time for one character
Less than 166.8μS. Therefore, even if the transfer of transmission data bits from the shift register to the first-in/first-out shift memory is temporarily prohibited, the drawbacks of the prior art do not occur.

また、通信制御装置による特殊キヤラクタ処理
等の為に、通信制御装置からの送信キヤラクタの
送出が一時的にバツフアレジスタが「空」になつ
てから所要ビツト数マイナス1ビツト経過して
も、回線上にはフアーストイン・フアーストアウ
トシフトレジスタに蓄積されている送信データが
正しく送信される。ここで、バツフアレジスタが
空になつてからの経過時間を所要ビツト数マイナ
ス1ビツトとした理由は、バツフアレジスタから
シフトレジスタへの送信キヤラクタを移送するタ
イミングを所要ビツト数により自動的にすること
と、従来はバツフアレジスタが「満」から「空」
になるまでの時間がシフトレジスタからフアース
トイン・フアーストアウトシフトメモリへデータ
を移送する速度×8ビツト(上記の例では約
124.8μS)であつたものを1ビツト(上記の例で
は15.6μS)にするためである。
In addition, due to special character processing by the communication control device, the sending of the transmission character from the communication control device may be delayed even if the required number of bits minus 1 bit has passed since the buffer register becomes “empty” temporarily. The transmission data stored in the first-in/first-out shift register is correctly transmitted on the line. Here, the reason why the elapsed time after the buffer register becomes empty is set to the required number of bits minus 1 bit is that the timing for transferring the transmission character from the buffer register to the shift register is automatically determined by the required number of bits. In the past, the buffer register changed from "full" to "empty".
The time it takes to
This is to change what was previously 124.8 μS to 1 bit (15.6 μS in the above example).

なお、上記実施例において、フアーストイン・
フアーストアウトシフトメモリが「空」の状態
で、更にシフトレジスタおよびバツフアレジスタ
が「空」の場合には、送信制御回路はアンダラン
エラーの検出を通信制御装置に通知する。使用さ
れるフアーストイン・フアーストアウトシフトメ
モリのビツト容量は、回線のビツト伝送速度と通
信制御装置の処理速度との差に関連して適当に定
めればよい。
In addition, in the above embodiment, first-in
When the first-out shift memory is "empty" and the shift register and buffer register are "empty", the transmission control circuit notifies the communication control device of the detection of an underrun error. The bit capacity of the first-in/first-out shift memory to be used may be appropriately determined in relation to the difference between the bit transmission speed of the line and the processing speed of the communication control device.

以上の説明により明らかなように、本発明によ
れば、回線への送信データのビツト伝送速度とフ
アーストイン・フアーストアウトシフトメモリに
格納するデータ速度との差が十分にとれない場合
においても、また通常の場合においても、フアー
ストイン・フアーストアウトシフトメモリが空に
なることがなく、さらに回路構成も簡単になる点
において、送信データの高速性および装置の経済
性に寄与すべく得られる効果は大きい。
As is clear from the above explanation, according to the present invention, even when the difference between the bit transmission rate of data transmitted to the line and the data rate stored in the first-in/first-out shift memory is not sufficient, Even under normal circumstances, the first-in/first-out shift memory will not become empty, and the circuit configuration will be simpler, which will greatly contribute to the high-speed transmission of data and the economical efficiency of the device. .

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

第1図は従来のデータ通信システムに適用され
る一般的な送信データ制御方式の概略を示す系統
図、第2図は本発明の実施例の構成を示すブロツ
ク図、第3図は第2図におけるフアーストイン・
フアーストアウトシフトメモリの構成例を示すブ
ロツク図、第4図は第2図における実施例の動作
を説明するためのタイムチヤートである。 各図において、1は送信キヤラクタ用バツフア
レジスタ、2は送信キヤラクタ分解用シフトレジ
スタ、3はフアーストイン・フアーストアウトシ
フトメモリ、3−1〜3−nはフアーストイン・
フアーストアウトシフトメモリの各シフトメモリ
段、4は送信制御回路、PUはデータ処理装置、
LCは通信制御装置、LAは回路アダプタである。
FIG. 1 is a system diagram showing an outline of a general transmission data control method applied to a conventional data communication system, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. first in
FIG. 4 is a block diagram showing an example of the configuration of a first-out shift memory, and a time chart for explaining the operation of the embodiment shown in FIG. 2. In each figure, 1 is a buffer register for transmitting characters, 2 is a shift register for decomposing transmitting characters, 3 is a first-in/first-out shift memory, and 3-1 to 3-n are first-in/first-out shift registers.
Each shift memory stage of the first-out shift memory, 4 is a transmission control circuit, PU is a data processing device,
LC is a communication control device and LA is a circuit adapter.

Claims (1)

【特許請求の範囲】[Claims] 1 通信制御装置からの送信キヤラクタを一時蓄
積するバツフアレジスタと、該バツフアレジスタ
から得られる送信キヤラクタをビツトシリアルに
分解するシフトレジスタと、該シフトレジスタの
出力を記憶するフアーストイン・フアーストアウ
トシフトメモリと、前記通信制御装置から前記バ
ツフアレジスタに送信キヤラクタが与えられ、前
記シフトレジスタを介して前記フアーストイン・
フアーストアウトシフトメモリに順次蓄積しなが
ら該フアーストイン・フアーストアウトシフトメ
モリの内容を回線に送出し、前記フアーストイ
ン・フアーストアウトシフトメモリが「満」の状
態になるか、若しくは前記バツフアレジスタの内
容が前記シフトレジスタに移送され、該バツフア
レジスタが「空」の状態になり、且つ前記シフト
レジスタの内容がフアーストイン・フアーストア
ウトシフトメモリへ所要ビツト数マイナス1ビツ
ト移送された後、前記フアーストイン・フアース
トアウトシフトメモリへの送信データビツトの移
送を一時停止し、前記フアーストイン・フアース
トアウトシフトメモリが「空」の状態になるか、
若しくは前記バツフアレジスタに送信キヤラクタ
がセツトされている場合は、前記フアーストイ
ン・フアーストアウトシフトメモリへ送信データ
ビツトを移送するように制御する送信制御回路と
を有する回線アダプタ。
1. A buffer register that temporarily stores the transmission characters from the communication control device, a shift register that decomposes the transmission characters obtained from the buffer register into bit serial, and a first-in/first-out shift that stores the output of the shift register. A transmission character is provided from the memory and the communication control device to the buffer register, and the first-in character is provided via the shift register.
The contents of the first-in/first-out shift memory are sequentially stored in the first-out shift memory and sent to the line until the first-in/first-out shift memory becomes "full" or the buffer register is filled. After the contents are transferred to the shift register, the buffer register becomes "empty", and the contents of the shift register are transferred to the first-in/first-out shift memory by the required number of bits minus one bit, the first-in - temporarily suspending the transfer of transmission data bits to the first-out shift memory, and whether the first-in/first-out shift memory becomes "empty";
Alternatively, a line adapter comprising a transmission control circuit for controlling the transmission data bits to be transferred to the first-in/first-out shift memory when a transmission character is set in the buffer register.
JP57002574A 1982-01-11 1982-01-11 Line adaptor Granted JPS58120347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57002574A JPS58120347A (en) 1982-01-11 1982-01-11 Line adaptor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57002574A JPS58120347A (en) 1982-01-11 1982-01-11 Line adaptor

Publications (2)

Publication Number Publication Date
JPS58120347A JPS58120347A (en) 1983-07-18
JPH0311143B2 true JPH0311143B2 (en) 1991-02-15

Family

ID=11533139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57002574A Granted JPS58120347A (en) 1982-01-11 1982-01-11 Line adaptor

Country Status (1)

Country Link
JP (1) JPS58120347A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06105922B2 (en) * 1986-08-08 1994-12-21 日本電気株式会社 Communication control device
JPH06105923B2 (en) * 1986-08-08 1994-12-21 日本電気株式会社 Communication control device

Also Published As

Publication number Publication date
JPS58120347A (en) 1983-07-18

Similar Documents

Publication Publication Date Title
US6925512B2 (en) Communication between two embedded processors
US4494190A (en) FIFO buffer to cache memory
US5604866A (en) Flow control system having a counter in transmitter for decrementing and incrementing based upon transmitting and received message size respectively for indicating free space in receiver
EP0674276A1 (en) A computer system
US5623606A (en) Communication control method and apparatus for performing high speed transfer of data by controlling transfer starting times
US4637015A (en) Packet transmission and reception via a shared DMA channel
US3904829A (en) Demand driven multiplexing system
US20060047754A1 (en) Mailbox interface between processors
US6363076B1 (en) Phantom buffer for interfacing between buses of differing speeds
US5583894A (en) Slip buffer for synchronizing data transfer between two devices
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
JPS6359042A (en) Communication interface equipment
JPS5819062A (en) Line adaptor
EP0829095B1 (en) Method and apparatus for reducing latency time on an interface by overlapping transmitted packets
JPS58120347A (en) Line adaptor
JP3192009B2 (en) Transfer control method
EP0285335B1 (en) Data communication system and method
JP2760280B2 (en) Communication data exchange device and communication system using the exchange device
JPH07281950A (en) Method for access to data storage device and memory-access control apparatus
JP2625396B2 (en) Receive data processing device
JPH03150943A (en) Communication equipment
US5644292A (en) Alarm termination apparatus
JPH02141862A (en) Data transfer control system
JPH023343B2 (en)
KR100208280B1 (en) Data transmission device having a first-in first-out control